added ability to add new tabs to editor panels

This commit is contained in:
Rashid Khan
2013-08-16 12:45:22 -07:00
parent 5aaa9d5876
commit 93b48a7d29
27 changed files with 78 additions and 62 deletions
+4 -4
View File
@@ -2,7 +2,7 @@
<div class="pull-right editor-title">Dashboard settings</div>
<div ng-model="editor.index" bs-tabs>
<div ng-repeat="tab in ['General','Index','Rows']" data-title="{{tab}}">
<div ng-repeat="tab in ['General','Index','Rows','Date/Time']" data-title="{{tab}}">
</div>
</div>
@@ -86,11 +86,11 @@
</div>
</form>
</div>
<div class="row-fluid" ng-show="editor.index == 3">
</div>
<!--<div class="row-fluid" ng-show="editor.index == 3">
<h6>Region</h6><select class="input-small" ng-model="dashboard.current.time.region" ng-options='f for f in ["africa","america","asia","atlantic","australia","europe","indian","pacific"]'></select>
</div>-->
</div>
<div class="modal-footer">
<button ng-click="add_row(dashboard.current,row); reset_row();" class="btn btn-success" ng-show="editor.index == 2">Create Row</button>
<button type="button" class="btn btn-danger" ng-click="editor.index=0;dismiss();reset_panel();dashboard.refresh()">Close</button>
</div>