2014-06-12 06:37:40 -05:00
< div ng-controller = "DashCtrl" body-class >
2014-06-08 07:40:44 -05:00
< div class = "navbar navbar-static-top" >
< div class = "navbar-inner" >
< div class = "container-fluid" >
< span class = "brand" > < img src = "img/small.png" bs-tooltip = "'Grafana'" data-placement = "bottom" > {{dashboard.title}}< / span >
< ul class = "nav pull-right" ng-controller = 'dashLoader' ng-init = "init()" ng-include = "'app/partials/dashLoader.html'" >
< / ul >
< / div >
2014-06-07 12:43:15 -05:00
< / div >
< / div >
2014-06-08 07:40:44 -05:00
< div class = "submenu-controls" >
< div class = "submenu-panel" ng-controller = "SubmenuCtrl" ng-repeat = "pulldown in dashboard.pulldowns | filter:{ enable: true }" >
< div class = "submenu-panel-title" >
< span class = "small" > < strong > {{pulldown.type}}:< / strong > < / span >
< / div >
< div class = "submenu-panel-wrapper" >
2014-07-28 11:11:52 -05:00
< grafana-simple-panel type = "pulldown.type" ng-cloak > < / grafana-simple-panel >
2014-06-08 07:40:44 -05:00
< / div >
2014-02-09 08:43:43 -06:00
< / div >
2014-06-08 07:40:44 -05:00
< div class = "clearfix" > < / div >
2013-10-05 18:41:20 -05:00
< / div >
2014-02-09 08:43:43 -06:00
2014-06-08 07:40:44 -05:00
< div class = "clearfix" > < / div >
< div class = "container-fluid main" >
< div >
< div class = "grafana-container container" >
<!-- Rows -->
2014-07-28 11:11:52 -05:00
< div class = "grafana-row" ng-controller = "RowCtrl" ng-repeat = "(row_name, row) in dashboard.rows" ng-style = "row_style(row)" >
2014-06-08 07:40:44 -05:00
< div class = "row-control" >
2014-07-29 10:50:09 -05:00
< div class = "row-control-inner" style = "padding:0px;margin:0px;position:relative;" >
2014-06-08 07:40:44 -05:00
< div class = "row-close" ng-show = "row.collapse" data-placement = "bottom" >
2014-08-11 08:25:36 -05:00
< div class = "row-close-buttons" >
< span class = "row-button bgWarning" config-modal = "app/partials/roweditor.html" class = "pointer" >
< i bs-tooltip = "'Configure row'" data-placement = "right" ng-show = "row.editable" class = "icon-cog pointer" > < / i >
< / span >
< span class = "row-button bgPrimary" ng-click = "toggle_row(row)" >
< i bs-tooltip = "'Expand row'" data-placement = "right" class = "icon-caret-left pointer" > < / i >
< / span >
< / div >
< span class = "row-text pointer" ng-click = "toggle_row(row)" ng-bind = "row.title" > < / span >
2014-06-08 07:40:44 -05:00
< / div >
< div class = "row-open" ng-show = "!row.collapse" >
2014-08-05 03:15:27 -05:00
< div class = 'row-tab bgPrimary' ng-click = "toggle_row(row)" >
2014-06-08 07:40:44 -05:00
< span class = "row-tab-button" >
2014-06-12 06:37:40 -05:00
< i class = "icon-caret-right" > < / i >
2014-06-08 07:40:44 -05:00
< / span >
< / div >
< div class = 'row-tab bgSuccess dropdown' ng-show = "row.editable" >
< span class = "row-tab-button dropdown-toggle" data-toggle = "dropdown" >
< i class = "icon-th-list" > < / i >
< / span >
< ul class = "dropdown-menu dropdown-menu-right" role = "menu" aria-labelledby = "drop1" >
< li class = "dropdown-submenu" >
2014-06-27 06:52:43 -05:00
< a href = "javascript:void(0);" > Add Panel< / a >
2014-06-08 07:40:44 -05:00
< ul class = "dropdown-menu" >
2014-08-06 03:39:27 -05:00
< li bindonce ng-repeat = "name in panelNames" >
< a ng-click = "add_panel_default(name)" bo-text = "name" > < / a >
< / li >
2014-06-08 07:40:44 -05:00
< / ul >
< / li >
< li class = "dropdown-submenu" >
2014-06-27 06:52:43 -05:00
< a href = "javascript:void(0);" > Set height< / a >
2014-06-08 07:40:44 -05:00
< ul class = "dropdown-menu" >
2014-06-27 06:52:43 -05:00
< li > < a ng-click = "set_height('100px')" > 100 px< / a > < / li >
< li > < a ng-click = "set_height('150px')" > 150 px< / a > < / li >
< li > < a ng-click = "set_height('200px')" > 200 px< / a > < / li >
< li > < a ng-click = "set_height('250px')" > 250 px< / a > < / li >
< li > < a ng-click = "set_height('300px')" > 300 px< / a > < / li >
< li > < a ng-click = "set_height('350px')" > 350 px< / a > < / li >
< li > < a ng-click = "set_height('450px')" > 450 px< / a > < / li >
< li > < a ng-click = "set_height('500px')" > 500 px< / a > < / li >
< li > < a ng-click = "set_height('600px')" > 600 px< / a > < / li >
< li > < a ng-click = "set_height('700px')" > 700 px< / a > < / li >
2014-06-08 07:40:44 -05:00
< / ul >
< / li >
< li class = "dropdown-submenu" >
2014-06-27 06:52:43 -05:00
< a href = "javascript:void(0);" > Move< / a >
2014-06-08 07:40:44 -05:00
< ul class = "dropdown-menu" >
2014-06-27 06:52:43 -05:00
< li > < a ng-click = "move_row(-1)" > Up< / a > < / li >
< li > < a ng-click = "move_row(1)" > Down< / a > < / li >
2014-06-08 07:40:44 -05:00
< / ul >
< / li >
< li >
< a config-modal = "app/partials/roweditor.html" > Row editor< / a >
< / li >
< li >
< a ng-click = "delete_row()" > Delete row< / a >
< / li >
< / ul >
< / div >
2013-12-23 17:36:32 -06:00
< / div >
2013-10-05 18:41:20 -05:00
< / div >
2014-06-08 07:40:44 -05:00
< div style = "padding-top:0px" ng-if = "!row.collapse" >
2014-08-11 08:25:36 -05:00
< div class = "row-text pointer" ng-click = "toggle_row(row)" ng-if = "row.showTitle" ng-bind = "row.title" >
< / div >
2014-01-20 12:40:39 -06:00
2014-06-08 07:40:44 -05:00
<!-- Panels -->
2014-08-05 05:27:03 -05:00
< div ng-repeat = "(name, panel) in row.panels|filter:isPanel" ng-hide = "panel.hide" class = "panel nospace" ng-style = "{'width':(panel.span/1.2)*10+'%'}" data-drop = "true" ng-model = "row.panels" data-jqyoui-options jqyoui-droppable = "{index:$index,mutate:false,onDrop:'panelMoveDrop',onOver:'panelMoveOver(true)',onOut:'panelMoveOut'}" ng-class = "{'dragInProgress':dashboard.$$panelDragging}" >
2014-06-08 07:40:44 -05:00
<!-- Content Panel -->
< div style = "position:relative" >
2014-07-28 11:11:52 -05:00
< grafana-panel type = "panel.type" ng-cloak > < / grafana-panel >
2014-06-08 07:40:44 -05:00
< / div >
2013-10-05 18:41:20 -05:00
< / div >
2013-09-26 17:42:43 -05:00
2014-08-05 05:27:03 -05:00
< div ng-show = "rowSpan(row) < 10 && dashboard.$$panelDragging" class = "panel" style = "margin:5px;width:30%;background:rgba(100,100,100,0.50)" ng-class = "{'dragInProgress':dashboard.panelDragging}" ng-style = "{height:row.height}" data-drop = "true" ng-model = "row.panels" data-jqyoui-options jqyoui-droppable = "{index:row.panels.length,mutate:false,onDrop:'panelMoveDrop',onOver:'panelMoveOver',onOut:'panelMoveOut'}" >
2014-06-08 07:40:44 -05:00
< / div >
2013-09-27 17:09:53 -05:00
2014-06-08 07:40:44 -05:00
< div class = "clearfix" > < / div >
< / div >
2013-10-05 18:41:20 -05:00
< / div >
< / div >
2013-09-27 17:09:53 -05:00
< / div >
2014-06-08 07:40:44 -05:00
2013-09-26 17:42:43 -05:00
2014-06-12 06:37:40 -05:00
< div ng-show = 'dashboard.editable' class = "row-fluid add-row-panel-hint" >
2013-10-05 18:41:20 -05:00
< div class = "span12" style = "text-align:right;" >
2014-06-06 11:30:15 -05:00
< span style = "margin-right: 10px;" ng-click = "add_row_default()" class = "pointer btn btn-info btn-mini" >
< span > < i class = "icon-plus-sign" > < / i > ADD A ROW< / span >
2013-10-05 18:41:20 -05:00
< / span >
< / div >
2013-01-25 22:10:28 -06:00
< / div >
2013-09-27 17:09:53 -05:00
< / div >
< / div >
2014-06-08 07:40:44 -05:00
2014-08-10 07:03:10 -05:00
< div ng-include = "'app/partials/console.html'" ng-if = "consoleEnabled" >
< / div >
2014-07-29 10:50:09 -05:00
< / div >