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}}">
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> -->
14 <a ng-click="createNewLayout()">
15 <span class="glyphicon glyphicon-plus"></span>
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>