paneleditor.html 938 B

123456789101112131415161718192021222324252627282930
  1. <div bindonce class="dashboard-editor-header">
  2. <div class="dashboard-editor-title">
  3. <i class="icon icon-text-width"></i>
  4. <span bo-text="panel.type+' settings'"></span>
  5. </div>
  6. <div ng-model="editor.index" bs-tabs style="text-transform:capitalize;">
  7. <div ng-repeat="tab in setEditorTabs(panelMeta)" data-title="{{tab}}">
  8. </div>
  9. </div>
  10. </div>
  11. <div class="dashboard-editor-body">
  12. <div ng-show="editorTabs[editor.index] == 'General'">
  13. <div ng-include src="'app/partials/panelgeneral.html'"></div>
  14. </div>
  15. <div ng-show="editorTabs[editor.index] == 'Panel'">
  16. <div ng-include src="edit_path(panel.type)"></div>
  17. </div>
  18. <div ng-repeat="tab in panelMeta.editorTabs" ng-show="editorTabs[editor.index] == tab.title">
  19. <div ng-include src="tab.src"></div>
  20. </div>
  21. </div>
  22. <div class="dashboard-editor-footer">
  23. <button type="button" class="btn btn-success pull-right" ng-click="editor.index=0;dismiss()">Close</button>
  24. </div>