2016-07-12 01:41:56 -05:00
|
|
|
<div class="modal-body" ng-cloak>
|
2016-03-04 13:56:53 -06:00
|
|
|
<div class="modal-header">
|
|
|
|
<h2 class="modal-header-title">
|
|
|
|
<i class="fa {{icon}}"></i>
|
|
|
|
<span class="p-l-1">
|
|
|
|
{{title}}
|
|
|
|
</span>
|
|
|
|
</h2>
|
2015-03-05 11:01:41 -06:00
|
|
|
|
2016-03-04 13:56:53 -06:00
|
|
|
<a class="modal-header-close" ng-click="dismiss();">
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
</a>
|
2015-03-05 11:01:41 -06:00
|
|
|
</div>
|
|
|
|
|
2016-03-04 13:56:53 -06:00
|
|
|
<div class="modal-content text-center">
|
2015-03-05 11:01:41 -06:00
|
|
|
|
2016-03-04 13:56:53 -06:00
|
|
|
<div class="confirm-modal-text">
|
|
|
|
{{text}}
|
2019-04-10 06:29:10 -05:00
|
|
|
<div ng-if="text2 && text2htmlBind" class="confirm-modal-text2" ng-bind-html="text2"></div>
|
|
|
|
<div ng-if="text2 && !text2htmlBind" class="confirm-modal-text2">{{text2}}</div>
|
2016-03-04 13:56:53 -06:00
|
|
|
</div>
|
2015-03-05 11:01:41 -06:00
|
|
|
|
2016-09-05 06:38:25 -05:00
|
|
|
<div class="modal-content-confirm-text" ng-if="confirmText">
|
|
|
|
<input type="text" class="gf-form-input width-16" style="display: inline-block;" placeholder="Type {{confirmText}} to confirm" ng-model="confirmInput" ng-change="updateConfirmText(confirmInput)">
|
2016-05-16 04:32:08 -05:00
|
|
|
</div>
|
|
|
|
|
2016-03-04 13:56:53 -06:00
|
|
|
<div class="confirm-modal-buttons">
|
2019-02-05 05:05:02 -06:00
|
|
|
<button ng-show="onAltAction" type="button" class="btn btn-primary" ng-click="dismiss();onAltAction();">{{altActionText}}</button>
|
2019-04-10 06:29:10 -05:00
|
|
|
<button ng-show="onConfirm" type="button" class="btn btn-danger" ng-click="onConfirm();dismiss();" ng-disabled="!confirmTextValid" give-focus="true">{{yesText}}</button>
|
2017-10-14 14:51:36 -05:00
|
|
|
<button type="button" class="btn btn-inverse" ng-click="dismiss()">{{noText}}</button>
|
2016-03-04 13:56:53 -06:00
|
|
|
</div>
|
2014-11-10 03:40:45 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|