dashboard-edit-view -> gf-box and new box design

This commit is contained in:
Torkel Ödegaard
2015-01-30 12:57:14 +01:00
parent 1ddc2e68bf
commit 59ade61687
7 changed files with 73 additions and 52 deletions
+7 -9
View File
@@ -1,8 +1,4 @@
<div class="dashboard-editor-header">
<div class="dashboard-editor-title">
<i class="fa fa-cogs"></i>
Dashboard settings
</div>
<div class="gf-box-header">
<div ng-model="editor.index" bs-tabs style="text-transform:capitalize;">
<div ng-repeat="tab in ['General', 'Rows', 'Features', 'Import']" data-title="{{tab}}">
@@ -11,9 +7,13 @@
</div>
</div>
<button class="gf-box-header-close-btn" ng-click="dismiss();">
<i class="fa fa-remove"></i>
</button>
</div>
<div class="dashboard-editor-body">
<div class="gf-box-body">
<div ng-if="editor.index == 0">
<div class="editor-row">
@@ -93,7 +93,7 @@
<div class="clearfix"></div>
</div>
<div class="dashboard-editor-footer">
<div class="gf-box-footer">
<div class="grafana-version-info" ng-show="editor.index === 0">
<span class="editor-option small">
Grafana version: {{grafana.version}} &nbsp;&nbsp;
@@ -101,6 +101,4 @@
<span grafana-version-check>
</span>
</div>
<button type="button" class="btn btn-success pull-right" ng-click="editor.index=0;dismiss();reset_panel();dashboard.emit_refresh()">Close</button>
</div>