sideMenuCtrl.js 683 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. define([
  2. 'angular',
  3. 'config',
  4. ],
  5. function (angular, config) {
  6. 'use strict';
  7. var module = angular.module('grafana.controllers');
  8. module.controller('SideMenuCtrl', function($scope) {
  9. $scope.menu = [
  10. {
  11. href: config.appSubUrl,
  12. text: 'Dashboards',
  13. icon: 'fa fa-th-large'
  14. },
  15. {
  16. href: 'panels',
  17. text: 'Panels',
  18. icon: 'fa fa-signal',
  19. },
  20. {
  21. href: 'alerts',
  22. text: 'Alerts',
  23. icon: 'fa fa-bolt',
  24. },
  25. {
  26. href: 'account',
  27. text: 'Account',
  28. icon: 'fa fa-user',
  29. },
  30. ];
  31. $scope.init = function() {
  32. };
  33. });
  34. });