mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
25 lines
730 B
HTML
25 lines
730 B
HTML
<div ng-controller="JsonEditorCtrl">
|
|
<div class="tabbed-view-header">
|
|
<h2 class="tabbed-view-title">
|
|
JSON
|
|
</h2>
|
|
|
|
<button class="tabbed-view-close-btn" ng-click="dismiss()">
|
|
<i class="fa fa-remove"></i>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="tabbed-view-body">
|
|
<div class="gf-form">
|
|
<code-editor content="json" data-mode="json" data-max-lines=20 ></code-editor>
|
|
</div>
|
|
|
|
<div class="gf-form-button-row">
|
|
<button type="button" class="btn btn-success" ng-show="canUpdate" ng-click="update(); dismiss();">Update</button>
|
|
<button class="btn btn-secondary" ng-if="canCopy" clipboard-button="getContentForClipboard()">
|
|
<i class="fa fa-clipboard"></i> Copy to Clipboard
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|