New display setting: "Custom header text color"

This commit is contained in:
bergware
2018-09-27 20:22:30 +02:00
parent 6ebca4f820
commit 8aff3f83f0
3 changed files with 10 additions and 0 deletions
+5
View File
@@ -222,6 +222,11 @@ Custom banner:
> Image will be scaled to 1920x90 pixels. The maximum image file upload size is 512 kB (524,288 bytes).
Custom header text color:
: <input type="text" class="narrow" name="header" value="<?=$display['header']?>" maxlength="6" pattern="[0-9a-fA-F]{3,6}" title="HTML color code of 3 or 6 hexadecimal digits">
> Overrule the default text color in the header. This may be used to match text color with a background image.
Show Dashboard apps:
: <select name="dashapps" size="1">
<?=mk_option($display['dashapps'], "icons", "Docker + VMs")?>
+1
View File
@@ -11,6 +11,7 @@ resize="0"
wwn="0"
total="1"
banner=""
header=""
dashapps="icons"
tabs="1"
users="Tasks:3"
@@ -27,6 +27,10 @@
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/dynamix-{$display['theme']}.css")?>">
<style>
<?if ($display['header']):?>
#header,#header .logo,#header .text-right a{color:#<?=$display['header']?>}
#header .block{background-color:transparent}
<?endif;?>
.inline_help{display:none}
.upgrade_notice{position:fixed;top:1px;left:0;width:100%;height:40px;line-height:40px;color:#E68A00;background:#FEEFB3;border-bottom:#E68A00 1px solid;text-align:center;font-size:1.4rem;z-index:999}
.upgrade_notice i{margin:14px;float:right;cursor:pointer}