2017-06-02 14:00:42 +02:00
< navbar model = "ctrl.navModel" > < / navbar >
2016-02-18 16:05:15 +01:00
< div class = "page-container" >
< div class = "page-header" >
2017-08-16 11:28:52 +02:00
< page-h1 model = "ctrl.navModel" > < / page-h1 >
2016-02-18 16:05:15 +01:00
< a class = "btn btn-success" ng-click = "ctrl.switchTheme()" >
< i class = "fa fa-random" > < / i >
Switch theme
< / a >
2016-03-02 16:56:16 +01:00
< div class = "page-header-tabs" >
< ul class = "gf-tabs" >
< li class = "gf-tabs-item" ng-repeat = "page in ctrl.pages" >
< a class = "gf-tabs-link" href = "styleguide/{{page}}" ng-class = "{active: ctrl.page[page]}" > {{page}}< / a >
< / li >
< / ul >
< / div >
< / div >
2016-02-20 11:32:50 +01:00
< div class = "tab-pane" ng-if = "ctrl.page.colors" >
< ul >
< li class = "style-guide-color-card" ng-repeat = "color in ctrl.colors" style = "background-color: {{color.value}}" >
< strong > ${{color.name}}< / strong >
< em > {{color.value}}< / em >
< / li >
< / ul >
< / div >
< div class = "tab-pane" ng-if = "ctrl.page.buttons" >
< div ng-repeat = "variant in ctrl.buttonVariants" class = "row" >
< div ng-repeat = "btnSize in ctrl.buttonSizes" class = "style-guide-button-list p-a-2 col-md-4" >
< button ng-repeat = "buttonName in ctrl.buttonNames" class = "btn btn{{variant}}{{buttonName}} {{btnSize}}" >
btn{{variant}}{{buttonName}}
< / button >
2016-02-18 20:41:23 +01:00
< / div >
2016-02-20 11:32:50 +01:00
< / div >
< / div >
2016-02-18 20:41:23 +01:00
2017-05-02 15:50:10 +03:00
< div class = "tab-pane style-guide-icon-list" ng-if = "ctrl.page.icons" >
2017-05-03 11:46:08 +03:00
< div class = "row" >
< div ng-repeat = "icon in ctrl.icons" class = "col-md-2 col-sm-3 col-xs-4" >
< i class = "icon-gf icon-gf-{{icon}}" bs-tooltip = "'icon-gf icon-gf-{{icon}}'" > < / i >
< / div >
2017-05-02 15:50:10 +03:00
< / div >
< / div >
2017-05-02 16:15:28 +03:00
< div class = "tab-pane style-guide-plugin-authoring" ng-if = "ctrl.page.plugins" >
< p > From grafana 3.0 it's very easy to develop your own plugins and share them with other grafana users.< / p >
< p > More information about plugin development can be found at < a href = "http://docs.grafana.org/plugins/developing/development/" target = "_blank" > docs.grafana.org< / a > < / p >
< / div >
2016-02-20 11:32:50 +01:00
< div class = "tab-pane" ng-if = "ctrl.page.forms" >
forms
< / div >
2016-02-18 16:05:15 +01:00
< / div >
2016-02-18 20:41:23 +01:00