add plugin authoring tab in style guide

This commit is contained in:
Andrei Stefan 2017-05-02 16:15:28 +03:00
parent ad3da0f47c
commit f43c749422
2 changed files with 6 additions and 1 deletions

View File

@ -49,6 +49,11 @@
</div>
</div>
<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>
<div class="tab-pane" ng-if="ctrl.page.forms">
forms
</div>

View File

@ -11,7 +11,7 @@ class StyleGuideCtrl {
buttonVariants = ['-', '-outline-'];
icons: any = [];
page: any;
pages = ['colors', 'buttons', 'icons'];
pages = ['colors', 'buttons', 'icons', 'plugins'];
/** @ngInject **/
constructor(private $http, private $routeParams, private $location) {