mirror of https://github.com/itflow-org/itflow
Merged Colors and Theme Colors array into one
This commit is contained in:
parent
7d29b551e7
commit
06cca61354
|
|
@ -86,26 +86,25 @@ $config_theme = $row['config_theme'];
|
|||
$config_enable_dark_mode = "dark_mode";
|
||||
|
||||
$colors_array = array(
|
||||
'green',
|
||||
'olive',
|
||||
'yellowgreen',
|
||||
'lime',
|
||||
'blue',
|
||||
'darkblue',
|
||||
'cadetblue',
|
||||
'green',
|
||||
'cyan',
|
||||
'purple',
|
||||
'indigo',
|
||||
'magenta',
|
||||
'yellow',
|
||||
'red',
|
||||
'crimson',
|
||||
'indianred',
|
||||
'pink',
|
||||
'orange',
|
||||
'teal',
|
||||
'black',
|
||||
'gray-dark',
|
||||
'gray'
|
||||
'gray',
|
||||
'light',
|
||||
'indigo',
|
||||
'navy',
|
||||
'purple',
|
||||
'fuchsia',
|
||||
'pink',
|
||||
'maroon',
|
||||
'orange',
|
||||
'lime',
|
||||
'teal',
|
||||
'olive'
|
||||
);
|
||||
|
||||
$net_terms_array = array(
|
||||
|
|
@ -927,26 +926,4 @@ $asset_status_array = array(
|
|||
'Retired'
|
||||
);
|
||||
|
||||
$themes_array = array(
|
||||
'blue',
|
||||
'green',
|
||||
'cyan',
|
||||
'yellow',
|
||||
'red',
|
||||
'black',
|
||||
'gray-dark',
|
||||
'gray',
|
||||
'light',
|
||||
'indigo',
|
||||
'navy',
|
||||
'purple',
|
||||
'fuchsia',
|
||||
'pink',
|
||||
'maroon',
|
||||
'orange',
|
||||
'lime',
|
||||
'teal',
|
||||
'olive'
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
@ -12,17 +12,17 @@
|
|||
|
||||
<?php
|
||||
|
||||
foreach($themes_array as $theme_color) {
|
||||
foreach($colors_array as $color) {
|
||||
|
||||
?>
|
||||
|
||||
<div class="col-3 text-center mb-3">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="theme" value="<?php echo $theme_color; ?>" <?php if($config_theme == $theme_color){ echo "checked"; } ?>>
|
||||
<input class="form-check-input" type="radio" name="theme" value="<?php echo $color; ?>" <?php if($config_theme == $color){ echo "checked"; } ?>>
|
||||
<label class="form-check-label">
|
||||
<i class="fa fa-fw fa-6x fa-circle text-<?php echo $theme_color; ?>"></i>
|
||||
<i class="fa fa-fw fa-6x fa-circle text-<?php echo $color; ?>"></i>
|
||||
<br>
|
||||
<?php echo $theme_color; ?>
|
||||
<?php echo $color; ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue