UNPKG

@ngal/ui

Version:

Addons for ui.bootstrap

29 lines (25 loc) 1.55 kB
<div class="allmed-common-ui-confirmation-modal"> <div class="modal-header"> <span ng-bind-html="vm.title"></span> </div> <form name="confirmationModalForm" ng-submit="vm.formSubmit(confirmationModal)"> <div class="modal-body"> <p ng-bind-html="vm.message"></p> </div> <div class="modal-footer"> <input type="button" class="btn {{ button.cssClass }}" value="{{ button.label }}" ng-click="vm.onTargetClick(button)" ng-repeat="button in vm.buttons"> <div class="allmed-icon-bar" ng-if="vm.icons.length"> <item ng-click="vm.onTargetClick(icon)" ng-repeat="icon in vm.icons"> <span ng-switch="icon.name"> <allmed-vs-icon-no-filled hover-title="{{ icon.label ? '' : 'No' }}" ng-switch-when="no-filled"></allmed-vs-icon-no-filled> <allmed-vs-icon-no-hollow hover-title="{{ icon.label ? '' : 'No' }}" ng-switch-when="no-hollow"></allmed-vs-icon-no-hollow> <allmed-vs-icon-yes-filled hover-title="{{ icon.label ? '' : 'Yes' }}" ng-switch-when="yes-filled"></allmed-vs-icon-yes-filled> <allmed-vs-icon-yes-hollow hover-title="{{ icon.label ? '' : 'Yes' }}" ng-switch-when="no-filled"></allmed-vs-icon-yes-hollow> </span> <label ng-bind="icon.label"></label> &nbsp; </item> </div> </div> </form> </div>