export_modal.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!-- <p> -->
  2. <!-- Exporting will export a cleaned sharable dashboard that can be imported -->
  3. <!-- into another Grafana instance. -->
  4. <!-- </p> -->
  5. <div class="share-modal-big-icon">
  6. <i class="fa fa-cloud-upload"></i>
  7. </div>
  8. <div class="share-snapshot-header">
  9. <p class="share-snapshot-info-text">
  10. Export the dashboard to a JSON file. The exporter will templatize the
  11. dashboard's data sources to make it easy for other's to to import and reuse.
  12. You can share dashboards on <a class="external-link" href="https://grafana.net">Grafana.net</a>
  13. </p>
  14. </div>
  15. <div class="gf-form-group">
  16. <div class="gf-form">
  17. <label class="gf-form-label width-8">Title</label>
  18. <input type="text" class="gf-form-input" ng-model="ctrl.dash.title" ng-change="ctrl.titleChanged()">
  19. <label class="gf-form-label text-success" ng-show="ctrl.dash.title">
  20. <i class="fa fa-check"></i>
  21. </label>
  22. </div>
  23. <div class="gf-form gf-form--grow">
  24. <label class="gf-form-label width-8">Description</label>
  25. <input type="text" class="gf-form-input" ng-model="ctrl.dash.description" ng-change="ctrl.titleChanged()">
  26. <label class="gf-form-label text-success" ng-show="ctrl.dash.description">
  27. <i class="fa fa-check"></i>
  28. </label>
  29. </div>
  30. </div>
  31. <!-- <h3 class="section&#45;heading"> -->
  32. <!-- Dashboard data sources -->
  33. <!-- </h3> -->
  34. <!-- -->
  35. <!-- <div class="gf&#45;form&#45;group"> -->
  36. <!-- <div class="gf&#45;form&#45;inline" ng&#45;repeat="input in ctrl.dash.__inputs"> -->
  37. <!-- <div class="gf&#45;form width&#45;25"> -->
  38. <!-- <label class="gf&#45;form&#45;label width&#45;8">Name</label> -->
  39. <!-- <input type="text" class="gf&#45;form&#45;input" ng&#45;model="input.name"> -->
  40. <!-- </div> -->
  41. <!-- </div> -->
  42. <!-- </div> -->
  43. <div class="gf-form-button-row">
  44. <button type="button" class="btn gf-form-btn width-10 btn-success" ng-click="ctrl.save()">
  45. <i class="fa fa-save"></i> Save to file
  46. </button>
  47. <button type="button" class="btn gf-form-btn width-10 btn-secondary" ng-click="ctrl.saveJson()">
  48. <i class="fa fa-file-text-o"></i> View JSON
  49. </button>
  50. <a class="btn btn-link" ng-click="dismiss()">Cancel</a>
  51. </div>
  52. </div>