Dashboard: View JSON improvements (#10327)

* dashboard: enable copy to clipboard for view json and panel json

* dashboard: use code editor for view json under settings
This commit is contained in:
Marcus Efraimsson
2017-12-26 13:52:19 +01:00
committed by Torkel Ödegaard
parent c11cf18879
commit 39eb8f9eba
6 changed files with 14 additions and 1 deletions

View File

@@ -89,7 +89,7 @@
<h3 class="dashboard-settings__header">View JSON</h3>
<div class="gf-form">
<textarea class="gf-form-input" ng-model="ctrl.json" rows="30" spellcheck="false"></textarea>
<code-editor content="ctrl.json" data-mode="json" data-max-lines=30 ></code-editor>
</div>
</div>