Initial commit
This commit is contained in:
commit
880e39de2e
511 files changed
+38363
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<md-dialog>
|
||||
<form>
|
||||
<md-toolbar>
|
||||
<div class="md-toolbar-tools md-portal">
|
||||
<span>Alert!</span>
|
||||
<span flex></span>
|
||||
</div>
|
||||
</md-toolbar>
|
||||
<md-dialog-content layout-padding flex>
|
||||
<div layout="row">
|
||||
<div ng-bind-html="message"></div>
|
||||
</div>
|
||||
</md-dialog-content>
|
||||
<md-dialog-actions layout="row" class="modal-footer">
|
||||
<div class="text-danger">{{error}}</div>
|
||||
<md-button id="okButton" type="submit" class="md-raised md-warn" ng-if="btnCnlText !== undefined" ng-click="onCancel()">{{btnCnlText}}</md-button>
|
||||
<md-button id="cancelButton" class="md-raised md-warn" ng-click="onOkay()">{{btnText}}</md-button>
|
||||
</md-dialog-actions>
|
||||
</form>
|
||||
</md-dialog>
|
||||
@@ -0,0 +1,16 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
angular.module('portal.common.partials.sessionEnd', ['ui.router'])
|
||||
.controller('SessionEndCtrl', SessionEndCtrlController);
|
||||
|
||||
function SessionEndCtrlController($scope, modalInstance, $state, cache) {
|
||||
$scope.onOkay = modalInstance.onOkay;
|
||||
$scope.message = modalInstance.message;
|
||||
$scope.btnText = modalInstance.btnText;
|
||||
|
||||
$scope.btnCnlText = modalInstance.btnCnlText;
|
||||
$scope.onCancel = modalInstance.onCancel;
|
||||
} //end SessionEndCtrlController function
|
||||
|
||||
})();
|
||||
Reference in new issue
Block a user