2014-02-09 08:43:43 -06:00
< div class = "submenu-controls" >
2014-02-09 12:31:06 -06:00
< div class = "submenu-panel" ng-controller = "SubmenuCtrl" ng-repeat = "pulldown in dashboard.current.pulldowns | filter:{ enable: true }" >
2014-02-09 08:43:43 -06:00
< div class = "submenu-panel-title" >
< span class = "small" > < strong > {{pulldown.type}}:< / strong > < / span >
< / div >
< div class = "submenu-panel-wrapper" >
< kibana-simple-panel type = "pulldown.type" ng-cloak > < / kibana-simple-panel >
< / div >
2013-10-05 18:41:20 -05:00
< / div >
2013-12-31 13:53:10 -06:00
< div class = "clearfix" > < / div >
2013-12-31 05:45:47 -06:00
< / div >
2014-02-09 08:43:43 -06:00
2013-12-31 05:45:47 -06:00
< div class = "clearfix" > < / div >
2014-02-21 06:56:27 -06:00
< div class = "container-fluid main" >
2014-01-20 12:40:39 -06:00
< div >
2014-01-20 15:28:35 -06:00
< div class = "grafana-container container" >
2013-10-05 18:41:20 -05:00
<!-- Rows -->
2014-01-20 12:40:39 -06:00
< div class = "kibana-row" ng-controller = "RowCtrl" ng-repeat = "(row_name, row) in dashboard.current.rows" ng-style = "row_style(row)" >
2013-10-05 18:41:20 -05:00
< div class = "row-control" >
2014-01-20 12:40:39 -06:00
< div class = "grafana-row" style = "padding:0px;margin:0px;position:relative;" >
2014-01-20 15:15:24 -06:00
< div class = "row-close" ng-show = "row.collapse" data-placement = "bottom" >
2014-02-19 14:50:47 -06:00
< span class = "row-button bgWarning" config-modal = "app/partials/roweditor.html" class = "pointer" >
2013-10-05 18:41:20 -05:00
< i bs-tooltip = "'Configure row'" data-placement = "right" ng-show = "row.editable" class = "icon-cog pointer" > < / i >
< / span >
2013-12-23 17:36:32 -06:00
< span class = "row-button bgPrimary" ng-click = "toggle_row(row)" ng-show = "row.collapsable" >
< i bs-tooltip = "'Expand row'" data-placement = "right" ng-show = "row.editable" class = "icon-caret-left pointer" > < / i >
2013-10-05 18:41:20 -05:00
< / span >
< span class = "row-button row-text" ng-click = "toggle_row(row)" ng-class = "{'pointer':row.collapsable}" > {{row.title || 'Row '+$index}}< / span >
< / div >
2013-09-20 16:26:06 -05:00
2013-10-09 03:36:41 -05:00
< div style = "text-align:center" class = "row-open" ng-show = "!row.collapse" >
2013-12-23 17:36:32 -06:00
< div ng-show = "row.collapsable" class = 'row-tab bgPrimary' ng-click = "toggle_row(row)" >
2014-01-03 14:35:24 -06:00
< i bs-tooltip = "'Collapse row'" data-placement = "right" class = "icon-caret-right" > < / i >
2013-10-05 18:41:20 -05:00
< br >
2013-12-23 17:36:32 -06:00
< / div >
2014-02-19 14:50:47 -06:00
< div config-modal = "app/partials/roweditor.html" class = 'row-tab bgWarning' ng-show = "row.editable" >
2013-10-05 18:41:20 -05:00
< i bs-tooltip = "'Configure row'" data-placement = "right" class = "icon-cog pointer" > < / i >
< br >
2013-12-23 17:36:32 -06:00
< / div >
2013-12-29 10:30:38 -06:00
< div ng-show = "rowSpan(row) > 12" class = 'row-tab bgDanger' >
2013-12-23 17:36:32 -06:00
< i bs-tooltip = "'Total span > 12. This row may format poorly'" data-placement = "right" class = "icon-warning-sign" > < / i >
2013-10-05 18:41:20 -05:00
< br >
2013-12-23 17:36:32 -06:00
< / div >
2013-10-05 18:41:20 -05:00
< / div >
2013-09-20 16:26:06 -05:00
2013-10-05 18:41:20 -05:00
< / div >
2014-01-20 15:15:24 -06:00
< div style = "padding-top:0px" ng-if = "!row.collapse" >
2014-01-20 12:40:39 -06:00
2014-01-20 15:15:24 -06:00
<!-- Panels -->
< div ng-repeat = "(name, panel) in row.panels|filter:isPanel" ng-hide = "panel.hide" class = "panel nospace" ng-style = "{'width':!panel.span?'100%':(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}" >
2013-10-05 18:41:20 -05:00
<!-- Content Panel -->
2014-01-20 15:15:24 -06:00
< div style = "position:relative" >
2013-10-05 18:41:20 -05:00
< kibana-panel type = "panel.type" ng-cloak > < / kibana-panel >
< / div >
2013-02-01 15:16:55 -06:00
< / div >
2013-09-26 17:42:43 -05:00
2014-01-20 15:15:24 -06: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'}" >
< / div >
2013-09-27 17:09:53 -05:00
2014-02-19 14:50:47 -06:00
< span config-modal = "app/partials/roweditor.html" ng-show = "!dashboard.panelDragging && !dashboard.current.hideControls" >
2014-01-20 15:15:24 -06:00
< i ng-hide = "rowSpan(row) >= 10" class = "pointer icon-plus-sign" ng-click = "editor.index = 2" bs-tooltip = "'Add a panel to this row'" data-placement = "right" > < / i >
< / span >
2013-09-27 17:09:53 -05:00
2014-01-20 15:15:24 -06:00
< div class = "clearfix" > < / div >
2013-10-05 18:41:20 -05:00
< / div >
< / div >
2013-09-27 17:09:53 -05:00
< / div >
2013-10-05 18:41:20 -05:00
< / div >
2013-09-26 17:42:43 -05:00
2014-03-08 09:27:01 -06:00
< div ng-show = 'dashboard.current.editable && dashboard.current.panel_hints' class = "row-fluid add-row-panel-hint" >
2013-10-05 18:41:20 -05:00
< div class = "span12" style = "text-align:right;" >
2014-02-19 14:50:47 -06:00
< span style = "margin-left: 0px;" class = "pointer btn btn-mini" config-modal = "app/partials/dasheditor.html" >
2014-01-06 13:29:39 -06:00
< span ng-click = "editor.index = 1" > < 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 >
2013-01-25 22:10:28 -06:00
< / div >