mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
captive: Allow selecting highlight colour in web interface
To be able to customise the access page, we now allow the user to select a brand colour. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user