|
|
|
|
@ -1,27 +1,22 @@ |
|
|
|
|
<div class="modal-body"> |
|
|
|
|
|
|
|
|
|
<div class="modal-header"> |
|
|
|
|
<h2 class="modal-header-title"> |
|
|
|
|
<i class="fa fa-cloud-upload"></i> |
|
|
|
|
<span class="p-l-1">Export Dashboard</span> |
|
|
|
|
</h2> |
|
|
|
|
|
|
|
|
|
<a class="modal-header-close" ng-click="dismiss();"> |
|
|
|
|
<i class="fa fa-remove"></i> |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
<!-- <p> --> |
|
|
|
|
<!-- Exporting will export a cleaned sharable dashboard that can be imported --> |
|
|
|
|
<!-- into another Grafana instance. --> |
|
|
|
|
<!-- </p> --> |
|
|
|
|
|
|
|
|
|
<div class="modal-content" ng-cloak> |
|
|
|
|
<!-- <p> --> |
|
|
|
|
<!-- Exporting will export a cleaned sharable dashboard that can be imported --> |
|
|
|
|
<!-- into another Grafana instance. --> |
|
|
|
|
<!-- </p> --> |
|
|
|
|
<div class="share-modal-big-icon"> |
|
|
|
|
<i class="fa fa-cloud-upload"></i> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<h3 class="section-heading"> |
|
|
|
|
Options |
|
|
|
|
</h3> |
|
|
|
|
<div class="share-snapshot-header"> |
|
|
|
|
<p class="share-snapshot-info-text"> |
|
|
|
|
Export the dashboard to a JSON file. The exporter will templatize the |
|
|
|
|
dashboard's data sources to make it easy for other's to to import and reuse. |
|
|
|
|
You can share dashboards on <a class="external-link" href="https://grafana.net">Grafana.net</a> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="gf-form-group"> |
|
|
|
|
<div class="gf-form-group"> |
|
|
|
|
<div class="gf-form"> |
|
|
|
|
<label class="gf-form-label width-8">Title</label> |
|
|
|
|
<input type="text" class="gf-form-input" ng-model="ctrl.dash.title" ng-change="ctrl.titleChanged()"> |
|
|
|
|
@ -36,22 +31,22 @@ |
|
|
|
|
<i class="fa fa-check"></i> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- <h3 class="section-heading"> --> |
|
|
|
|
<!-- Dashboard data sources --> |
|
|
|
|
<!-- </h3> --> |
|
|
|
|
<!-- --> |
|
|
|
|
<!-- <div class="gf-form-group"> --> |
|
|
|
|
<!-- <div class="gf-form-inline" ng-repeat="input in ctrl.dash.__inputs"> --> |
|
|
|
|
<!-- <div class="gf-form width-25"> --> |
|
|
|
|
<!-- <label class="gf-form-label width-8">Name</label> --> |
|
|
|
|
<!-- <input type="text" class="gf-form-input" ng-model="input.name"> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="gf-form-button-row"> |
|
|
|
|
<!-- <h3 class="section-heading"> --> |
|
|
|
|
<!-- Dashboard data sources --> |
|
|
|
|
<!-- </h3> --> |
|
|
|
|
<!-- --> |
|
|
|
|
<!-- <div class="gf-form-group"> --> |
|
|
|
|
<!-- <div class="gf-form-inline" ng-repeat="input in ctrl.dash.__inputs"> --> |
|
|
|
|
<!-- <div class="gf-form width-25"> --> |
|
|
|
|
<!-- <label class="gf-form-label width-8">Name</label> --> |
|
|
|
|
<!-- <input type="text" class="gf-form-input" ng-model="input.name"> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
|
|
|
|
|
<div class="gf-form-button-row"> |
|
|
|
|
<button type="button" class="btn gf-form-btn width-10 btn-success" ng-click="ctrl.save()"> |
|
|
|
|
<i class="fa fa-save"></i> Save to file |
|
|
|
|
</button> |
|
|
|
|
@ -59,8 +54,6 @@ |
|
|
|
|
<i class="fa fa-file-text-o"></i> View JSON |
|
|
|
|
</button> |
|
|
|
|
<a class="btn btn-link" ng-click="dismiss()">Cancel</a> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|