add new filter fot litghbulb_off

This commit is contained in:
marcos 2021-10-07 12:42:58 +02:00
parent 52f87757d6
commit afb9cea67f
2 changed files with 7 additions and 1 deletions

View File

@ -716,10 +716,12 @@ foreach ($info as $user_id => $user_info) {
$toDoString = __('Disable');
$toDoAction = '1';
$toDoImage = 'images/lightbulb.png';
$toDoClass = '';
} else {
$toDoString = __('Enable');
$toDoAction = '0';
$toDoImage = 'images/lightbulb_off.png';
$toDoClass = 'filter_none';
}
$data[6] = '<form method="POST" action="index.php?sec='.$sec.'&amp;sec2=godmode/users/user_list&amp;pure='.$pure.'" class="inline">';
@ -742,7 +744,7 @@ foreach ($info as $user_id => $user_info) {
[
'data-title' => $toDoString,
'data-use_title_for_force_title' => '1',
'class' => 'forced_title no-padding',
'class' => 'forced_title no-padding '.$toDoClass,
]
);
$data[6] .= '</form>';

View File

@ -1203,6 +1203,10 @@ a.pandora_pagination,
background-color: #50505050 !important;
}
.filter_none {
filter: brightness(0) contrast(50%) !important;
}
input[type="image"] {
background-color: transparent !important;
}