54aef297a47c8695db4814222c4369b64c6d2a5b
[portal/sdk.git] /
1 <ul ui-sortable="sortableOptions" ng-model="layouts" class="nav nav-tabs layout-tabs">
2     <li ng-repeat="layout in layouts" ng-class="{ active: layout.active }">
3         <a ng-click="makeLayoutActive(layout)">
4             <span ng-dblclick="editTitle(layout)" ng-show="!layout.editingTitle">{{layout.title}}</span>
5             <form action="" class="layout-title" ng-show="layout.editingTitle" ng-submit="saveTitleEdit(layout)">
6                 <input type="text" ng-model="layout.title" class="form-control" data-layout="{{layout.id}}">
7             </form>
8             <span ng-if="!layout.locked" ng-click="removeLayout(layout)" class="glyphicon glyphicon-remove icon-erase remove-layout-icon"></span>
9             <!-- <span class="glyphicon glyphicon-pencil"></span> -->
10             <!-- <span class="glyphicon glyphicon-remove"></span> -->
11         </a>
12     </li>
13     <li>
14         <a ng-click="createNewLayout()">
15             <span class="glyphicon glyphicon-plus"></span>
16         </a>
17     </li>
18 </ul>
19 <div ng-repeat="layout in layouts | filter:isActive" dashboard="layout.dashboard" template-url="app/fusion/scripts/view-models/reportdashboard-page/src/components/directives/dashboard/dashboard.html"></div>