mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'externalPlugin' of https://github.com/raintank/grafana into external-plugins
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
[[else]]
|
||||
<link rel="stylesheet" href="[[.AppSubUrl]]/css/grafana.dark.min.css">
|
||||
[[end]]
|
||||
[[ range $css := .ExternalPluginCss ]]
|
||||
<link rel="stylesheet" href="[[$.AppSubUrl]]/plugins[[ $css ]]">
|
||||
[[ end ]]
|
||||
|
||||
<link rel="icon" type="image/png" href="[[.AppSubUrl]]/img/fav32.png">
|
||||
<base href="[[.AppSubUrl]]/" />
|
||||
@@ -52,11 +55,17 @@
|
||||
settings: [[.Settings]],
|
||||
};
|
||||
|
||||
window.externalPlugins = {
|
||||
MainLinks: [[.ExternalPluginMenu]]
|
||||
};
|
||||
|
||||
require(['app/app'], function (app) {
|
||||
app.boot();
|
||||
app.boot();
|
||||
})
|
||||
</script>
|
||||
|
||||
[[ range $js := .ExternalPluginJs]]
|
||||
<script src="[[$.AppSubUrl]]/plugins[[ $js ]]"></script>
|
||||
[[ end ]]
|
||||
[[if .GoogleAnalyticsId]]
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
|
||||
Reference in New Issue
Block a user