refactor out old modal structure in favor of the new namespaced one

This commit is contained in:
2015-01-13 12:34:42 +01:00
parent b614eeeaef
commit 6d6b95d9c0
20 changed files with 126 additions and 61 deletions
@@ -15,7 +15,7 @@
= view "menu-item-scan-qr"
= view "menu-item-product-orders"
if list
.extra-info
.extra-info{action "showSupplierStatusInfo"}
.supplier-info-row
/ .supplier-name= list.supplier.name
.table-number
@@ -1,4 +0,0 @@
modal-dialog action="close"
h3.flush--top Alert
p= body
button{action "close"} Done
@@ -1,6 +0,0 @@
modal-dialog action="close"
h3.flush--top= title
p=body
hr
button.confirm-cancel{action "close"}= t 'confirm.cancel'
button.confirm-ok.right{action "confirm"}= t 'confirm.confirm'
@@ -1,5 +0,0 @@
modal-dialog action="close"
h3.flush--top= title
p==body
hr
button{action "close"}= t 'modal.info.close'
@@ -1,7 +0,0 @@
modal-dialog action="close"
h3.flush--top= name
if image
.right: img src=image.small alt=""
p==description
hr
button{action "close"}= t 'modal.info.close'
@@ -0,0 +1,4 @@
p=body
hr
button.modal-close{action "close"}= t 'confirm.cancel'
button.modal-confirm.right{action "confirm"}= t 'confirm.confirm'
@@ -0,0 +1,8 @@
.overlay{action "closeOnOverlay"}
.modal{action "modalClick" bubbles=false preventDefault=false}
.modal-header
h3.flush--top= title
hr
.modal-body
.modal-alert== alert_message
= yield
@@ -0,0 +1,5 @@
if image
.right: img src=image.small alt=""
p==description
hr
button{action "close"}= t 'modal.info.close'