menu modal completed

This commit is contained in:
Ben Ramey
2014-05-16 22:12:12 -05:00
parent e450db622b
commit b8a17e9d37
3 changed files with 35 additions and 11 deletions

View File

@@ -9,6 +9,23 @@
body { body {
color: #fff; color: #fff;
.modal-content {
background-color: rgba(0,0,0,0.8);
.close {
color: #fff;
opacity: 1;
font-size: inherit;
font-size: 4em;
float: none;
}
.modal-header {
border: none;
text-align: right;
padding-top: 0;
padding-bottom: 0;
}
}
} }
#page { #page {
.interior { .interior {

View File

@@ -8,11 +8,13 @@ block pagetitle
block interiorcontent block interiorcontent
div(ng-show='show') div(ng-show='show')
p Hi {{ invitee.name }}! You are all going to {{ run.restaurant }}. p Hi {{ invitee.name }}! You are all going to {{ run.restaurant }}.
span(ng-show='showMenuUrl') Here is the span.pull-right(ng-show='showMenuUrl')
a(href='{{ run.menuUrl }}',target="_blank") menu. a.btn.btn-default(href='{{ run.menuUrl }}',target="_blank",data-toggle='modal',data-target='#menuModal')
span.glyphicon.glyphicon-list-alt
|  Show Menu
.row .row
.col-xs-12.col-sm-6 .col-xs-12.col-sm-7
h2 Update your order h2 Update your order
form.form.create-order-form(role='form') form.form.create-order-form(role='form')
div.form-group div.form-group
@@ -20,7 +22,7 @@ block interiorcontent
button.btn.btn-lg.btn-primary.btn-block(ng-click='submit(invitee)') Update Order button.btn.btn-lg.btn-primary.btn-block(ng-click='submit(invitee)') Update Order
.col-xs-12.col-sm-6 .col-xs-12.col-sm-5
div.pod.others-orders div.pod.others-orders
h2 Other's orders h2 Other's orders
ul.list-group(ng-repeat='i in invitees') ul.list-group(ng-repeat='i in invitees')
@@ -30,10 +32,13 @@ block interiorcontent
strong {{ i.name }} strong {{ i.name }}
| : {{ i.order }} | : {{ i.order }}
div(ng-show='showMenuUrl') block modals
h2 .modal.fade#menuModal(tabindex=-1,role='dialog',aria-labelledby='menuModalLabel',aria-hidden='true')
| Menu .modal-dialog.modal-lg
a.btn.btn-sm.btn-default.pull-right(href='{{ run.menuUrl }}',target='_blank') .modal-content
span.glyphicon.glyphicon-new-window .modal-header
 
button.close(type='button',data-dismiss='modal',aria-hidden='true') ×
.modal-body
h4.hidden.modal-title#menuModalLabel Menu
iframe(ng-src='{{ menuUrl }}',width='100%',height='400px') iframe(ng-src='{{ menuUrl }}',width='100%',height='400px')

View File

@@ -9,3 +9,5 @@
block interiorcontent block interiorcontent
include ../includes/nav include ../includes/nav
block modals