| 12345678910111213141516171819202122232425262728293031323334353637 |
- <!-- <p> -->
- <!-- Exporting will export a cleaned sharable dashboard that can be imported -->
- <!-- into another Grafana instance. -->
- <!-- </p> -->
- <div class="share-modal-header">
- <div class="share-modal-big-icon">
- <i class="fa fa-cloud-upload"></i>
- </div>
- <div>
- <p class="share-modal-info-text">
- Export the dashboard to a JSON file. The exporter will templatize the
- dashboard's data sources to make it easy for others to import and reuse.
- You can share dashboards on <a class="external-link" href="https://grafana.com">Grafana.com</a>
- </p>
- <gf-form-switch
- class="gf-form"
- label="Export for sharing externally"
- label-class="width-16"
- checked="ctrl.shareExternally"
- tooltip="Useful for sharing dashboard publicly on grafana.com. Will templatize data source names. Can then only be used with the specific dashboard import API.">
- </gf-form-switch>
- <div class="gf-form-button-row">
- <button type="button" class="btn gf-form-btn width-10 btn-success" ng-click="ctrl.saveDashboardAsFile()">
- <i class="fa fa-save"></i> Save to file
- </button>
- <button type="button" class="btn gf-form-btn width-10 btn-secondary" ng-click="ctrl.viewJson()">
- <i class="fa fa-file-text-o"></i> View JSON
- </button>
- <a class="btn btn-link" ng-click="ctrl.dismiss()">Cancel</a>
- </div>
- </div>
- </div>
|