2014-09-03 04:15:01 -05:00
|
|
|
<div ng-controller="JsonEditorCtrl">
|
2019-04-17 08:18:32 -05:00
|
|
|
<div class="tabbed-view-header">
|
|
|
|
<h2 class="tabbed-view-title">
|
|
|
|
JSON
|
|
|
|
</h2>
|
2014-08-28 05:44:01 -05:00
|
|
|
|
2019-04-17 08:18:32 -05:00
|
|
|
<button class="tabbed-view-close-btn" ng-click="dismiss()">
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2014-08-28 05:44:01 -05:00
|
|
|
|
2019-04-17 08:18:32 -05:00
|
|
|
<div class="tabbed-view-body">
|
|
|
|
<div class="gf-form">
|
|
|
|
<code-editor content="json" data-mode="json" data-max-lines="20"></code-editor>
|
|
|
|
</div>
|
2015-02-01 13:23:52 -06:00
|
|
|
|
2019-04-17 08:18:32 -05:00
|
|
|
<div class="gf-form-button-row">
|
|
|
|
<button type="button" class="btn btn-primary" ng-show="canUpdate" ng-click="update(); dismiss();">Update</button>
|
|
|
|
<button class="btn btn-secondary" ng-if="canCopy" clipboard-button="getContentForClipboard()">
|
|
|
|
Copy to Clipboard
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-28 05:44:01 -05:00
|
|
|
</div>
|