2 <div class="btn-toolbar" ng-if="!options.hideToolbar">
3 <div class="btn-group" ng-if="!options.widgetButtons">
4 <span class="dropdown" on-toggle="toggled(open)">
5 <button type="button" class="btn btn-primary dropdown-toggle" ng-disabled="disabled">
6 Button dropdown <span class="caret"></span>
8 <ul class="dropdown-menu" role="menu">
9 <li ng-repeat="widget in widgetDefs">
10 <a href="#" ng-click="addWidgetInternal($event, widget);" class="dropdown-toggle">{{widget.name}}</a>
16 <div class="btn-group" ng-if="options.widgetButtons">
17 <button ng-repeat="widget in widgetDefs"
18 ng-click="addWidgetInternal($event, widget);" type="button" class="btn btn-primary">
23 <button class="btn btn-warning" ng-click="resetWidgetsToDefault()">Default Widgets</button>
25 <button ng-if="options.storage && options.explicitSave" ng-click="options.saveDashboard()" class="btn btn-success" ng-hide="!options.unsavedChangeCount">{{ !options.unsavedChangeCount ? "Alternative - No Changes" : "Save" }}</button>
27 <button ng-click="clear();" ng-hide="!widgets.length" type="button" class="btn btn-info">Clear</button>
30 <div ui-sortable="sortableOptions" ng-model="widgets" class="dashboard-widget-area">
31 <div ng-repeat="widget in widgets" ng-style="widget.style" class="widget-container" widget>
32 <div class="widget panel panel-default">
33 <div class="widget-header panel-heading">
34 <h3 class="panel-title">
35 <span class="widget-title" ng-dblclick="editTitle(widget)" ng-hide="widget.editingTitle">{{widget.title}}</span>
36 <form action="" class="widget-title" ng-show="widget.editingTitle" ng-submit="saveTitleEdit(widget)">
37 <input type="text" ng-model="widget.title" class="form-control">
39 <span class="label label-primary" ng-if="!options.hideWidgetName">{{widget.name}}</span>
40 <span ng-click="removeWidget(widget);" class="glyphicon glyphicon-remove icon-erase" ng-if="!options.hideWidgetClose"></span>
41 <span ng-click="openWidgetSettings(widget);" class="glyphicon glyphicon-cog icon-settings" ng-if="!options.hideWidgetSettings"></span>
44 <div class="panel-body widget-content"></div>
45 <div class="widget-ew-resizer" ng-mousedown="grabResizer($event)"></div>