web UIs: allow to replace the default CSS

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-05-21 11:05:58 +02:00
parent 751946f47a
commit 0ecaa862bd
13 changed files with 31 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
<link rel="shortcut icon" href="{{.StaticURL}}{{.Branding.FaviconPath}}" />
<!-- Custom styles for this template-->
<link href="{{.StaticURL}}/css/sb-admin-2.min.css" rel="stylesheet">
<link href="{{.StaticURL}}{{.Branding.DefaultCSS}}" rel="stylesheet">
<style>
{{template "commoncss" .}}
</style>

View File

@@ -20,7 +20,7 @@
<link href="{{.StaticURL}}/vendor/fontawesome-free/css/regular.min.css" rel="stylesheet" type="text/css">
<!-- Custom styles for this template-->
<link href="{{.StaticURL}}/css/sb-admin-2.min.css" rel="stylesheet">
<link href="{{.StaticURL}}{{.Branding.DefaultCSS}}" rel="stylesheet">
<style>
{{template "commoncss" .}}
</style>

View File

@@ -15,7 +15,7 @@
<link rel="shortcut icon" href="{{.StaticURL}}{{.Branding.FaviconPath}}" />
<!-- Custom styles for this template-->
<link href="{{.StaticURL}}/css/sb-admin-2.min.css" rel="stylesheet">
<link href="{{.StaticURL}}{{.Branding.DefaultCSS}}" rel="stylesheet">
<style>
{{template "commoncss" .}}
</style>