paneleditor.html 739 B

1234567891011121314151617181920
  1. <div class="modal-body" >
  2. <div class="pull-right editor-title">{{panel.type}} settings</div>
  3. <div ng-model="editor.index" bs-tabs>
  4. <div ng-repeat="tab in ['General','Panel']" data-title="{{tab}}">
  5. </div>
  6. </div>
  7. <div ng-show="editor.index == 0">
  8. <div ng-include src="'partials/panelgeneral.html'"></div>
  9. </div>
  10. <div ng-show="editor.index == 1">
  11. <div ng-include src="edit_path(panel.type)">No additional settings are available for this type of panel.</div>
  12. </div>
  13. </div>
  14. <div class="modal-footer">
  15. <!-- close_edit() is provided here to allow for a scope to perform action on dismiss -->
  16. <button type="button" class="btn btn-danger" ng-click="editor.index=0;close_edit();dismiss()">Close</button>
  17. </div>