paneleditor.html 979 B

12345678910111213141516171819202122
  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. <h4>{{panel.title}} General <small> panel settings</small></h4>
  9. <div ng-include src="'partials/panelgeneral.html'"></div>
  10. </div>
  11. <div ng-show="editor.index == 1">
  12. <h4 style="text-transform: capitalize;">{{panel.type}} <small> panel settings. <strong ng-show="!_.isUndefined(panel.status)">({{panel.status}})</strong></small></h4>
  13. <div ng-include src="edit_path(panel.type)">No additional settings are available for this type of panel.</div>
  14. </div>
  15. </div>
  16. <div class="modal-footer">
  17. <!-- close_edit() is provided here to allow for a scope to perform action on dismiss -->
  18. <button type="button" class="btn btn-success" ng-click="editor.index=0;close_edit();dismiss()">Close</button>
  19. </div>