index.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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/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. <button type="button" class="alert-close" ng-click="dashAlerts.clear(alert)">
  25. <i class="fa fa-times-circle"></i>
  26. </button>
  27. <div class="alert-title">{{alert.title}}</div>
  28. <div ng-bind='alert.text'></div>
  29. </div>
  30. </div>
  31. <div class="main-view">
  32. <div ng-view></div>
  33. <!-- <footer class="footer"> -->
  34. <!-- <div class="row text&#45;center"> -->
  35. <!-- <ul> -->
  36. <!-- <li> -->
  37. <!-- <a href="http://docs.grafana.org" target="_blank"> -->
  38. <!-- <i class="fa fa&#45;file&#45;code&#45;o"></i> -->
  39. <!-- Docs -->
  40. <!-- </a> -->
  41. <!-- </li> -->
  42. <!-- <li> -->
  43. <!-- <a href="https://grafana.com/services/support" target="_blank"> -->
  44. <!-- <i class="fa fa&#45;support"></i> -->
  45. <!-- Support Plans -->
  46. <!-- </a> -->
  47. <!-- </li> -->
  48. <!-- <li> -->
  49. <!-- <a href="https://community.grafana.com/" target="_blank"> -->
  50. <!-- <i class="fa fa&#45;comments&#45;o"></i> -->
  51. <!-- Community -->
  52. <!-- </a> -->
  53. <!-- </li> -->
  54. <!-- <li> -->
  55. <!-- <a href="https://grafana.com" target="_blank">Grafana</a> -->
  56. <!-- <span>v[[.BuildVersion]] (commit: [[.BuildCommit]])</span> -->
  57. <!-- </li> -->
  58. <!-- [[if .NewGrafanaVersionExists]] -->
  59. <!-- <li> -->
  60. <!-- <a href="https://grafana.com/get" target="_blank" bs&#45;tooltip="'[[.NewGrafanaVersion]]'"> -->
  61. <!-- New version available! -->
  62. <!-- </a> -->
  63. <!-- </li> -->
  64. <!-- [[end]] -->
  65. <!-- </ul> -->
  66. <!-- </div> -->
  67. <!-- </footer> -->
  68. </div>
  69. </grafana-app>
  70. <script>
  71. window.grafanaBootData = {
  72. user:[[.User]],
  73. settings: [[.Settings]],
  74. navTree: [[.NavTree]]
  75. };
  76. </script>
  77. <!-- build:js [[.AppSubUrl]]/public/app/boot.js -->
  78. <script src="[[.AppSubUrl]]/public/vendor/npm/es6-shim/es6-shim.js"></script>
  79. <script src="[[.AppSubUrl]]/public/vendor/npm/systemjs/dist/system.src.js"></script>
  80. <script src="[[.AppSubUrl]]/public/app/system.conf.js"></script>
  81. <script src="[[.AppSubUrl]]/public/app/boot.js"></script>
  82. <!-- endbuild -->
  83. [[if .GoogleTagManagerId]]
  84. <script>
  85. dataLayer = [{
  86. 'IsSignedIn': '[[.User.IsSignedIn]]',
  87. 'Email': '[[.User.Email]]',
  88. 'Name': '[[.User.Name]]',
  89. 'UserId': '[[.User.Id]]',
  90. 'OrgId': '[[.User.OrgId]]',
  91. 'OrgName': '[[.User.OrgName]]',
  92. }];
  93. </script>
  94. <!-- Google Tag Manager -->
  95. <noscript><iframe src="//www.googletagmanager.com/ns.html?id=[[.GoogleTagManagerId]]" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  96. <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],
  97. 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);
  98. })(window,document,'script','dataLayer','[[.GoogleTagManagerId]]');</script>
  99. <!-- End Google Tag Manager -->
  100. [[end]]
  101. </body>
  102. </html>