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