2016-11-04 17:15:09 +00:00
|
|
|
<div class="modal-header">
|
2017-08-12 02:17:30 +00:00
|
|
|
<button type="button" class="close" aria-label="Close" ng-click="$ctrl.close()"><span aria-hidden="true">×</span></button>
|
2016-11-04 17:15:09 +00:00
|
|
|
<h4 class="modal-title">Edit TextBox</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="form-group">
|
2018-03-19 18:07:45 +00:00
|
|
|
<textarea class="form-control" style="resize: vertical" ng-model="$ctrl.widget.new_text" rows="3"></textarea>
|
2016-11-04 17:15:09 +00:00
|
|
|
</div>
|
2017-08-12 02:17:30 +00:00
|
|
|
<div ng-show="$ctrl.widget.new_text">
|
2016-11-04 17:15:09 +00:00
|
|
|
<strong>Preview:</strong>
|
2018-06-10 14:33:19 +00:00
|
|
|
<p ng-bind-html="$ctrl.widget.new_text | markdown" class="word-wrap-break"></p>
|
2016-11-04 17:15:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
2017-08-12 02:17:30 +00:00
|
|
|
<button type="button" class="btn btn-default" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.close()">Close</button>
|
2016-11-04 17:15:09 +00:00
|
|
|
<button type="button" class="btn btn-primary" ng-disabled="$ctrl.saveInProgress" ng-click="$ctrl.saveWidget()">Save</button>
|
|
|
|
</div>
|