mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 10:19:15 +03:00
date ISO str
This commit is contained in:
parent
a63ec56170
commit
3140c3a8ee
@ -13,7 +13,7 @@ module.exports = function(server, db, qiwiApi) {
|
|||||||
status = data.status.value,
|
status = data.status.value,
|
||||||
email = data.customer.email,
|
email = data.customer.email,
|
||||||
method = 'qiwi',
|
method = 'qiwi',
|
||||||
date = data.status.changedDateTime,
|
date = new Date().toISOString(),
|
||||||
amount = parseFloat(data.amount.value);
|
amount = parseFloat(data.amount.value);
|
||||||
|
|
||||||
if (status === 'PAID') {
|
if (status === 'PAID') {
|
||||||
|
|||||||
7
dist/public/css/style.css
vendored
7
dist/public/css/style.css
vendored
@ -110,6 +110,13 @@ hr {
|
|||||||
padding-bottom: 24px;
|
padding-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#notification > div {
|
||||||
|
animation: fadein 0.2s;
|
||||||
|
-moz-animation: fadein 0.2s; /* Firefox */
|
||||||
|
-webkit-animation: fadein 0.2s; /* Safari and Chrome */
|
||||||
|
-o-animation: fadein 0.2s; /* Opera */
|
||||||
|
}
|
||||||
|
|
||||||
#notification {
|
#notification {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
12
dist/views/admin/assets/templates/header.pug
vendored
12
dist/views/admin/assets/templates/header.pug
vendored
@ -40,23 +40,23 @@ header.admin-header
|
|||||||
.collapsible-body
|
.collapsible-body
|
||||||
ul
|
ul
|
||||||
li(data-page="items")
|
li(data-page="items")
|
||||||
a(href='http://'+host+'/control-panel/items')
|
a(href='/control-panel/items')
|
||||||
i.material-icons list
|
i.material-icons list
|
||||||
| Товары
|
| Товары
|
||||||
li(data-page="categories")
|
li(data-page="categories")
|
||||||
a(href='http://'+host+'/control-panel/categories')
|
a(href='/control-panel/categories')
|
||||||
i.material-icons category
|
i.material-icons category
|
||||||
| Категории
|
| Категории
|
||||||
li(data-page="icons")
|
li(data-page="icons")
|
||||||
a(href='http://'+host+'/control-panel/icons')
|
a(href='/control-panel/icons')
|
||||||
i.material-icons add_photo_alternate
|
i.material-icons add_photo_alternate
|
||||||
| Иконки
|
| Иконки
|
||||||
li(data-page="content")
|
li(data-page="content")
|
||||||
a(href='http://'+host+'/control-panel/content')
|
a(href='/control-panel/content')
|
||||||
i.material-icons visibility
|
i.material-icons visibility
|
||||||
| Контент на сайте
|
| Контент на сайте
|
||||||
li(data-page="theme")
|
li(data-page="theme")
|
||||||
a(href='http://'+host+'/control-panel/theme')
|
a(href='/control-panel/theme')
|
||||||
i.material-icons create
|
i.material-icons create
|
||||||
| Оформление
|
| Оформление
|
||||||
ul.collapsible
|
ul.collapsible
|
||||||
@ -67,7 +67,7 @@ header.admin-header
|
|||||||
.collapsible-body
|
.collapsible-body
|
||||||
ul
|
ul
|
||||||
li(data-page="administrators")
|
li(data-page="administrators")
|
||||||
a(href='http://'+host+'/control-panel/administrators')
|
a(href='/control-panel/administrators')
|
||||||
i.material-icons supervisor_account
|
i.material-icons supervisor_account
|
||||||
| Администратор
|
| Администратор
|
||||||
//- Модальные окна
|
//- Модальные окна
|
||||||
|
|||||||
2
dist/views/admin/theme.pug
vendored
2
dist/views/admin/theme.pug
vendored
@ -11,7 +11,7 @@ body.has-fixed-sidenav
|
|||||||
#theme.card
|
#theme.card
|
||||||
.card-content
|
.card-content
|
||||||
.theme-change
|
.theme-change
|
||||||
h5 Общий цвета
|
h5 Общие цвета магазина
|
||||||
.row
|
.row
|
||||||
form(action="/control-panel/theme/update" method="POST")
|
form(action="/control-panel/theme/update" method="POST")
|
||||||
#color.input-field.col.s12
|
#color.input-field.col.s12
|
||||||
|
|||||||
2
dist/views/main/assets/scripts.pug
vendored
2
dist/views/main/assets/scripts.pug
vendored
@ -1,3 +1,3 @@
|
|||||||
// Script JS
|
// Script JS
|
||||||
script(src="https://cdn.commento.io/js/commento.js")
|
|
||||||
script(src='../js/main.js')
|
script(src='../js/main.js')
|
||||||
|
script(src="https://cdn.commento.io/js/commento.js")
|
||||||
Loading…
x
Reference in New Issue
Block a user