mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
initial import of thirdParty route support
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
[[else]]
|
||||
<link rel="stylesheet" href="[[.AppSubUrl]]/css/grafana.dark.min.css">
|
||||
[[end]]
|
||||
[[ range $css := .ThirdPartyCss ]]
|
||||
<link rel="stylesheet" href="[[$.AppSubUrl]]/thirdparty[[ $css ]]">
|
||||
[[ end ]]
|
||||
|
||||
<link rel="icon" type="image/png" href="[[.AppSubUrl]]/img/fav32.png">
|
||||
<base href="[[.AppSubUrl]]/" />
|
||||
@@ -53,11 +56,17 @@
|
||||
settings: [[.Settings]],
|
||||
};
|
||||
|
||||
window.thirdParty = {
|
||||
MainLinks: [[.ThirdPartyMenu]]
|
||||
};
|
||||
|
||||
require(['app/app'], function (app) {
|
||||
app.boot();
|
||||
app.boot();
|
||||
})
|
||||
</script>
|
||||
|
||||
[[ range $js := .ThirdPartyJs]]
|
||||
<script src="[[$.AppSubUrl]]/thirdparty[[ $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