add new filter fot litghbulb_off
This commit is contained in:
parent
52f87757d6
commit
afb9cea67f
|
@ -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.'&sec2=godmode/users/user_list&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>';
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue