2014-12-31 19:01:10 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
<meta name="viewport" content="width=device-width">
|
2015-05-05 22:42:56 +01:00
|
|
|
<meta name="theme-color" content="#000">
|
2014-12-31 19:01:10 +01:00
|
|
|
|
|
|
|
|
<title>Grafana</title>
|
|
|
|
|
|
2015-02-28 14:30:08 +01:00
|
|
|
[[if .User.LightTheme]]
|
2015-12-02 18:22:47 +01:00
|
|
|
<link rel="stylesheet" href="[[.AppSubUrl]]/public/css/grafana.light.min.css">
|
2015-12-03 12:29:57 +08:00
|
|
|
[[ range $css := .PluginCss ]]
|
|
|
|
|
<link rel="stylesheet" href="[[$.AppSubUrl]]/[[ $css.Light ]]">
|
|
|
|
|
[[ end ]]
|
2015-02-28 14:30:08 +01:00
|
|
|
[[else]]
|
2015-12-02 18:22:47 +01:00
|
|
|
<link rel="stylesheet" href="[[.AppSubUrl]]/public/css/grafana.dark.min.css">
|
2015-12-03 12:29:57 +08:00
|
|
|
[[ range $css := .PluginCss ]]
|
|
|
|
|
<link rel="stylesheet" href="[[$.AppSubUrl]]/[[ $css.Dark ]]">
|
|
|
|
|
[[ end ]]
|
2015-02-28 14:30:08 +01:00
|
|
|
[[end]]
|
2015-11-19 18:44:07 +01:00
|
|
|
|
2015-12-02 18:22:47 +01:00
|
|
|
<link rel="icon" type="image/png" href="[[.AppSubUrl]]/public/img/fav32.png">
|
2015-01-04 21:01:28 +01:00
|
|
|
<base href="[[.AppSubUrl]]/" />
|
2014-12-31 19:01:10 +01:00
|
|
|
|
2015-12-15 17:54:16 +01:00
|
|
|
</head>
|
2014-12-31 19:01:10 +01:00
|
|
|
|
2015-02-08 09:00:58 +01:00
|
|
|
<body ng-cloak ng-controller="GrafanaCtrl" ng-class="{'sidemenu-open': contextSrv.sidemenu}">
|
2015-02-01 19:13:33 +01:00
|
|
|
<div class="sidemenu-canvas">
|
2014-12-31 19:01:10 +01:00
|
|
|
|
2015-02-08 09:00:58 +01:00
|
|
|
<aside class="sidemenu-wrapper" ng-if="contextSrv.sidemenu">
|
2015-01-05 08:47:29 +01:00
|
|
|
<div ng-include="'app/partials/sidemenu.html'"></div>
|
2014-12-31 19:01:10 +01:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<div class="page-alert-list">
|
|
|
|
|
<div ng-repeat='alert in dashAlerts.list' class="alert-{{alert.severity}} alert">
|
|
|
|
|
<button type="button" class="alert-close" ng-click="dashAlerts.clear(alert)">
|
2015-01-09 16:35:36 +01:00
|
|
|
<i class="fa fa-times-circle"></i>
|
2014-12-31 19:01:10 +01:00
|
|
|
</button>
|
|
|
|
|
<div class="alert-title">{{alert.title}}</div>
|
2015-04-29 15:50:47 +02:00
|
|
|
<div ng-bind='alert.text'></div>
|
2014-12-31 19:01:10 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2015-02-01 11:56:01 +01:00
|
|
|
<div ng-view class="main-view"></div>
|
2014-12-31 19:01:10 +01:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
window.grafanaBootData = {
|
2015-01-04 21:01:28 +01:00
|
|
|
user:[[.User]],
|
2015-01-05 07:58:15 +01:00
|
|
|
settings: [[.Settings]],
|
2015-11-20 09:43:10 +01:00
|
|
|
pluginModules: [[.PluginJs]],
|
|
|
|
|
mainNavLinks: [[.MainNavLinks]]
|
2015-10-06 17:20:50 +08:00
|
|
|
};
|
2015-12-15 17:54:16 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<!-- build:js [[.AppSubUrl]]/public/app/app.js -->
|
2015-12-16 17:01:34 +01:00
|
|
|
<script src="[[.AppSubUrl]]/public/vendor/jspm/es6-shim/es6-shim.js"></script>
|
|
|
|
|
<script src="[[.AppSubUrl]]/public/vendor/jspm/es6-promise/dist/es6-promise.js"></script>
|
2015-12-16 12:21:13 +01:00
|
|
|
<script src="[[.AppSubUrl]]/public/vendor/jspm/angular2/bundles/angular2-polyfills.js"></script>
|
|
|
|
|
<script src="[[.AppSubUrl]]/public/vendor/jspm/systemjs/dist/system.src.js"></script>
|
|
|
|
|
<script src="[[.AppSubUrl]]/public/vendor/jspm/rxjs/bundles/Rx.js"></script>
|
|
|
|
|
<script src="[[.AppSubUrl]]/public/vendor/jspm/angular2/bundles/angular2.dev.js"></script>
|
2015-12-15 17:54:16 +01:00
|
|
|
<script src="[[.AppSubUrl]]/public/app/jspm.conf.js"></script>
|
|
|
|
|
<!-- endbuild -->
|
2015-10-06 17:20:50 +08:00
|
|
|
|
2015-12-15 17:54:16 +01:00
|
|
|
<script>
|
|
|
|
|
System.import('app/app').then(function(app) {
|
2015-12-16 12:21:13 +01:00
|
|
|
app.default.init();
|
|
|
|
|
}).catch(function(err) {
|
|
|
|
|
console.log('Loading app module failed: ', err);
|
2015-12-15 17:54:16 +01:00
|
|
|
});
|
2014-12-31 19:01:10 +01:00
|
|
|
</script>
|
2015-11-19 18:44:07 +01:00
|
|
|
|
2015-03-27 17:13:44 +01:00
|
|
|
[[if .GoogleAnalyticsId]]
|
2015-12-15 17:54:16 +01:00
|
|
|
<script>
|
2015-03-27 17:13:44 +01:00
|
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
|
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
|
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
|
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
|
|
|
|
|
|
ga('create', '[[.GoogleAnalyticsId]]', 'auto');
|
|
|
|
|
ga('send', 'pageview');
|
|
|
|
|
</script>
|
|
|
|
|
[[end]]
|
|
|
|
|
|
2015-08-21 09:30:39 +02:00
|
|
|
[[if .GoogleTagManagerId]]
|
|
|
|
|
<script>
|
|
|
|
|
dataLayer = [{
|
|
|
|
|
'IsSignedIn': '[[.User.IsSignedIn]]',
|
|
|
|
|
'Email': '[[.User.Email]]',
|
2015-08-26 15:07:39 +02:00
|
|
|
'Name': '[[.User.Name]]',
|
2015-08-21 09:30:39 +02:00
|
|
|
'UserId': '[[.User.Id]]',
|
|
|
|
|
'OrgId': '[[.User.OrgId]]',
|
|
|
|
|
'OrgName': '[[.User.OrgName]]',
|
|
|
|
|
}];
|
|
|
|
|
</script>
|
|
|
|
|
<!-- Google Tag Manager -->
|
|
|
|
|
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-K2MJ65" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
|
|
|
<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],
|
|
|
|
|
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);
|
|
|
|
|
})(window,document,'script','dataLayer','[[.GoogleTagManagerId]]');</script>
|
|
|
|
|
<!-- End Google Tag Manager -->
|
|
|
|
|
[[end]]
|
2014-12-31 19:01:10 +01:00
|
|
|
</html>
|