Menu modal sizing and title
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
lunchControllers = angular.module 'lunchControllers'
|
||||
|
||||
lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', ($scope, socket, $routeParams) ->
|
||||
lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', '$sce',
|
||||
RunController = ($scope, socket, $routeParams, $sce) ->
|
||||
$scope.show = false
|
||||
$scope.progress = 0
|
||||
$scope.numOrders = 0
|
||||
@@ -16,6 +17,7 @@ lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', ($sc
|
||||
$scope.show = true
|
||||
$scope.run = response
|
||||
$scope.showMenuUrl = response.menuUrl
|
||||
$scope.menuUrl = $sce.trustAsResourceUrl(response.menuUrl)
|
||||
|
||||
socket.get '/invitee', run_id: response.id, (inviteeResponse) ->
|
||||
$scope.invitees = inviteeResponse
|
||||
|
||||
@@ -24,8 +24,19 @@ body {
|
||||
text-align: right;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
|
||||
.modal-title {
|
||||
font-size: 2em;
|
||||
padding: 15px 0 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.modal-dialog {
|
||||
width: 90vw;
|
||||
height: 90vh;
|
||||
max-height: 90vh;
|
||||
max-width: 90vw;
|
||||
}
|
||||
}
|
||||
#page {
|
||||
.interior {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
.modal-dialog.modal-lg
|
||||
.modal-content
|
||||
.modal-header
|
||||
|
|
||||
h4.modal-title.pull-left {{ run.name }} Menu
|
||||
button.close(type='button',data-dismiss='modal',aria-hidden='true') ×
|
||||
.modal-body
|
||||
h4.hidden.modal-title#menuModalLabel Menu
|
||||
|
||||
Reference in New Issue
Block a user