mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
1c58202b26
* Replace icons in dashboard and settings * Replace icons in alerting * Update batch of icons * Implement icons accross various files * Style updates * Search: Fix recent and starred icons * Update styling and details * Replace new icon created by unicons * Fix e2e test, styling * Minor styling updates Co-authored-by: Clarity-89 <homes89@ukr.net>
52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
<div class="modal-body" ng-cloak>
|
|
<div class="modal-header">
|
|
<h2 class="modal-header-title">
|
|
<icon name="'{{icon}}'" size="'lg'"></icon>
|
|
<span class="p-l-1">
|
|
{{title}}
|
|
</span>
|
|
</h2>
|
|
|
|
<a class="modal-header-close" ng-click="dismiss();">
|
|
<icon name="'times'"></icon>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="modal-content text-center">
|
|
<div class="confirm-modal-text">
|
|
{{text}}
|
|
<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>
|
|
</div>
|
|
|
|
<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)"
|
|
/>
|
|
</div>
|
|
|
|
<div class="confirm-modal-buttons">
|
|
<button ng-show="onAltAction" type="button" class="btn btn-primary" ng-click="dismiss();onAltAction();">
|
|
{{altActionText}}
|
|
</button>
|
|
<button
|
|
ng-show="onConfirm"
|
|
type="button"
|
|
class="btn btn-danger"
|
|
ng-click="onConfirm();dismiss();"
|
|
ng-disabled="!confirmTextValid"
|
|
give-focus="true"
|
|
aria-label="{{selectors.delete}}"
|
|
>
|
|
{{yesText}}
|
|
</button>
|
|
<button type="button" class="btn btn-inverse" ng-click="dismiss()">{{noText}}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|