mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 13:39:58 -06:00
Add suport of themes AZURE and GRAY in VM editor
This commit is contained in:
@@ -160,7 +160,11 @@ if (!empty($_GET['uuid'])) {
|
||||
|
||||
#vmform table.multiple {
|
||||
margin: 10px 0;
|
||||
<?if ($display['theme'] == 'black'):?>
|
||||
<?if ($display['theme']=='gray'):?>
|
||||
background:#121510;
|
||||
<?elseif ($display['theme']=='azure'):?>
|
||||
background:#EDEAEF;
|
||||
<?elseif ($display['theme']=='black'):?>
|
||||
background:linear-gradient(90deg, #0A0A0A, #000000);
|
||||
<?else:?>
|
||||
background:linear-gradient(90deg, #F5F5F5, #FFFFFF);
|
||||
|
||||
@@ -484,10 +484,14 @@
|
||||
function bcolor($row) {
|
||||
global $display;
|
||||
|
||||
if (empty($display) || $display['theme'] == "white")
|
||||
return ($row % 2 == 0) ? "transparent" : "#F8F8F8";
|
||||
|
||||
return ($row % 2 == 0) ? "transparent" : "#0C0C0C";
|
||||
if ($display['theme']=='gray')
|
||||
return "transparent";
|
||||
elseif ($display['theme']=='azure')
|
||||
return "transparent";
|
||||
elseif ($display['theme']=='black')
|
||||
return ($row % 2 == 0) ? "transparent":"#0C0C0C";
|
||||
else
|
||||
return ($row % 2 == 0) ? "transparent":"#F8F8F8";
|
||||
}
|
||||
|
||||
function mk_dropdown_options($arrOptions, $strSelected) {
|
||||
|
||||
Reference in New Issue
Block a user