Sfoglia il codice sorgente

add plugin authoring tab in style guide

Andrei Stefan 8 anni fa
parent
commit
f43c749422

+ 5 - 0
public/app/features/styleguide/styleguide.html

@@ -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>

+ 1 - 1
public/app/features/styleguide/styleguide.ts

@@ -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) {