index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <meta name="viewport" content="width=device-width">
  7. <meta name="theme-color" content="#000">
  8. <title>Grafana</title>
  9. <link href='[[.AppSubUrl]]/public/css/fonts.min.css' rel='stylesheet' type='text/css'>
  10. [[if .User.LightTheme]]
  11. <link rel="stylesheet" href="[[.AppSubUrl]]/public/css/grafana.light.min.css">
  12. [[else]]
  13. <link rel="stylesheet" href="[[.AppSubUrl]]/public/css/grafana.dark.min.css">
  14. [[end]]
  15. <link rel="icon" type="image/png" href="[[.AppSubUrl]]/public/img/fav32.png">
  16. <link rel="mask-icon" href="[[.AppSubUrl]]/public/img/grafana_mask_icon.svg" color="#F05A28">
  17. <base href="[[.AppSubUrl]]/" />
  18. </head>
  19. <body ng-cloak>
  20. <grafana-app class="grafana-app">
  21. <sidemenu class="sidemenu"></sidemenu>
  22. <div class="page-alert-list">
  23. <div ng-repeat='alert in dashAlerts.list' class="alert-{{alert.severity}} alert">
  24. <div class="alert-icon"><i class="{{alert.icon}}"></i></div>
  25. <div class="alert-body">
  26. <div class="alert-title">{{alert.title}}</div>
  27. <div class="alert-text" ng-bind='alert.text'></div>
  28. </div>
  29. <button type="button" class="alert-close" ng-click="dashAlerts.clear(alert)">
  30. <i class="fa fa fa-remove"></i>
  31. </button>
  32. </div>
  33. </div>
  34. <div class="main-view">
  35. <div ng-view></div>
  36. <!-- <footer class="footer"> -->
  37. <!-- <div class="row text&#45;center"> -->
  38. <!-- <ul> -->
  39. <!-- <li> -->
  40. <!-- <a href="http://docs.grafana.org" target="_blank"> -->
  41. <!-- <i class="fa fa&#45;file&#45;code&#45;o"></i> -->
  42. <!-- Docs -->
  43. <!-- </a> -->
  44. <!-- </li> -->
  45. <!-- <li> -->
  46. <!-- <a href="https://grafana.com/services/support" target="_blank"> -->
  47. <!-- <i class="fa fa&#45;support"></i> -->
  48. <!-- Support Plans -->
  49. <!-- </a> -->
  50. <!-- </li> -->
  51. <!-- <li> -->
  52. <!-- <a href="https://community.grafana.com/" target="_blank"> -->
  53. <!-- <i class="fa fa&#45;comments&#45;o"></i> -->
  54. <!-- Community -->
  55. <!-- </a> -->
  56. <!-- </li> -->
  57. <!-- <li> -->
  58. <!-- <a href="https://grafana.com" target="_blank">Grafana</a> -->
  59. <!-- <span>v[[.BuildVersion]] (commit: [[.BuildCommit]])</span> -->
  60. <!-- </li> -->
  61. <!-- [[if .NewGrafanaVersionExists]] -->
  62. <!-- <li> -->
  63. <!-- <a href="https://grafana.com/get" target="_blank" bs&#45;tooltip="'[[.NewGrafanaVersion]]'"> -->
  64. <!-- New version available! -->
  65. <!-- </a> -->
  66. <!-- </li> -->
  67. <!-- [[end]] -->
  68. <!-- </ul> -->
  69. <!-- </div> -->
  70. <!-- </footer> -->
  71. </div>
  72. </grafana-app>
  73. <script>
  74. window.grafanaBootData = {
  75. user:[[.User]],
  76. settings: [[.Settings]],
  77. navTree: [[.NavTree]]
  78. };
  79. </script>
  80. <!-- build:js [[.AppSubUrl]]/public/app/boot.js -->
  81. <script src="[[.AppSubUrl]]/public/vendor/npm/es6-shim/es6-shim.js"></script>
  82. <script src="[[.AppSubUrl]]/public/vendor/npm/systemjs/dist/system.src.js"></script>
  83. <script src="[[.AppSubUrl]]/public/app/system.conf.js"></script>
  84. <script src="[[.AppSubUrl]]/public/app/boot.js"></script>
  85. <!-- endbuild -->
  86. [[if .GoogleTagManagerId]]
  87. <script>
  88. dataLayer = [{
  89. 'IsSignedIn': '[[.User.IsSignedIn]]',
  90. 'Email': '[[.User.Email]]',
  91. 'Name': '[[.User.Name]]',
  92. 'UserId': '[[.User.Id]]',
  93. 'OrgId': '[[.User.OrgId]]',
  94. 'OrgName': '[[.User.OrgName]]',
  95. }];
  96. </script>
  97. <!-- Google Tag Manager -->
  98. <noscript><iframe src="//www.googletagmanager.com/ns.html?id=[[.GoogleTagManagerId]]" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  99. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  100. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  101. })(window,document,'script','dataLayer','[[.GoogleTagManagerId]]');</script>
  102. <!-- End Google Tag Manager -->
  103. [[end]]
  104. </body>
  105. </html>