NEW DEV Can set color of the on/off button.

This commit is contained in:
Laurent Destailleur
2025-10-22 11:05:59 +02:00
parent 73c559b9d5
commit be351614e2
4 changed files with 38 additions and 21 deletions

View File

@@ -5563,6 +5563,8 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $srco
'switch_on_grey',
'switch_on_red',
'switch_off',
'switch_off_grey',
'switch_off_red',
'uparrow',
'1uparrow',
'1downarrow',
@@ -5620,6 +5622,8 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $srco
'switch_on' => 'font-status4',
'switch_on_warning' => 'font-status4 warning',
'switch_on_red' => 'font-status8',
'switch_off_warning' => 'font-status4 warning',
'switch_off_red' => 'font-status8',
'holiday' => 'infobox-holiday',
'info' => 'opacityhigh',
'info_black' => 'font-status1',
@@ -5896,6 +5900,9 @@ function getImgPictoConv($mode = 'fa')
'movement' => 'people-carry',
'sign-out' => 'sign-out-alt',
'switch_off' => 'toggle-off',
'switch_off_grey' => 'toggle-off',
'switch_off_warning' => 'toggle-off',
'switch_off_red' => 'toggle-off',
'switch_on' => 'toggle-on',
'switch_on_grey' => 'toggle-on',
'switch_on_warning' => 'toggle-on',