]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/html/captive/template.html
captive: Allow selecting highlight colour in web interface
[ipfire-2.x.git] / html / html / captive / template.html
index 369532a084e1d7207335da4af22d0fa80e9d74e2..cf0f54c707119a67fd716e31ff1e25cdb34e1e4e 100644 (file)
@@ -8,6 +8,14 @@
                <link rel="stylesheet" href="../assets/bootstrap-grid.min.css">
                <link rel="stylesheet" href="../assets/captive.css">
 
+               <TMPL_IF NAME="COLOR">
+                       <style>
+                               .box-block {
+                                       background-color: <TMPL_VAR NAME="COLOR">;
+                               }
+                       </style>
+               </TMPL_IF>
+
                <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500" rel="stylesheet">
 
                <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">