Commit eb896b39 authored by Babin Egor's avatar Babin Egor

remove alert

parent ade72afa
......@@ -33,6 +33,7 @@ mixin alert(title, mods)
+icon('i-info', '')
+remove('')(class="alert__close")
if (typeof(title) !== 'undefined' && title !== '')
.alert__header!= title
block
......@@ -33,11 +33,12 @@ mixin header(isLoagin, mods)
.header__item.header__support.header__caption
+icon('i-mail', 'left,c-red')
a(href="") Обратиться в поддержку
a(href="", data-toggle="modal", data-target="#modal-callback") Обратиться в поддержку
.header__item.header__account.header__caption
+icon('i-person', 'left,c-red')
a(href="") Иванов Александр
span.header__account-type Администратор
......
......@@ -12,6 +12,8 @@ orderPdf.addEventListener('click', function(e)
document.body.scrollTop = 0; // For Safari
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
var HTML_Width = $(".canvas_div_pdf").width();
var HTML_Height = $(".canvas_div_pdf").height();
var top_left_margin = 15;
......@@ -48,3 +50,8 @@ orderPdf.addEventListener('click', function(e)
});
// удаляем ебучие заявки
function testutest() {
alert(1);
}
......@@ -158,7 +158,7 @@ block page
td=order.utilization_date
td
a(href="")=order.manager
td #[+remove('')]
td #[+remove('')(data-toggle="modal", data-target="#modal-order-remove", data-id='2')]
.block_yellow-b.d-flex.justify-content-center
+pagination()
......
......@@ -25,8 +25,6 @@ html(class='no-js', lang="ru")
block head
link(rel='stylesheet', href='css/style.css')
script
include ../js/head-script.js
block pixel-glass-templates
......@@ -52,7 +50,7 @@ html(class='no-js', lang="ru")
+modal('modal-callback', 'Связаться с менеджером', 'callback')
.modal__body
+form(data-check-form="")
+form(data-check-form="", id="callbackForm")
.block_orange-b
+field-text({
......@@ -102,7 +100,7 @@ html(class='no-js', lang="ru")
.block_orange-b
+field-actions('', '')(class="text-center")
+btn('Отправить','primary', true)(href="#")
+btn('Отправить','primary', true)(href="#", id="callbackFormSub", data-dismiss='modal')
.modal__footer
a(href="", data-dismiss='modal') Закрыть
......@@ -124,7 +122,24 @@ html(class='no-js', lang="ru")
.modal__footer
a(href="", data-dismiss='modal') Отменить
//- Popup удалить заявку
+modal('modal-order-remove', 'Удалить заявку', 'callback')
form(action="delete.php" method="post")
.modal__body
.block_orange-b
+field-actions('', '')(class="text-center")
+btn('Удалить','primary', true)(href="#")
.modal__footer
a(href="", data-dismiss='modal') Отменить
block page-bottom
script(src='js/vue.js')
script(src='js/bundle.js')
script(src='/js/head-script.js')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment