mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 18:03:54 +00:00
19 lines
778 B
HTML
19 lines
778 B
HTML
|
<div class="modal-header">
|
||
|
<button type="button" class="close" aria-label="Close" ng-click="$ctrl.close()"><span aria-hidden="true">×</span></button>
|
||
|
<h4 class="modal-title">Edit TextBox</h4>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<div class="form-group">
|
||
|
<textarea class="form-control" ng-model="$ctrl.widget.text" rows="3"></textarea>
|
||
|
</div>
|
||
|
<div ng-show="$ctrl.widget.text">
|
||
|
<strong>Preview:</strong>
|
||
|
<p ng-bind-html="$ctrl.widget.text | markdown"></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="modal-footer">
|
||
|
<button type="button" class="btn btn-default" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.close()">Close</button>
|
||
|
<button type="button" class="btn btn-primary" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.saveWidget()">Save</button>
|
||
|
</div>
|