1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

AdminerDarkSwitcher: Icon

This commit is contained in:
Jakub Vrana
2025-03-24 07:38:33 +01:00
parent 9fd9a1fc8d
commit 858c914a50

View File

@@ -34,8 +34,8 @@ if (saved) {
}
function navigation($missing) {
echo "<label style='position: fixed; bottom: .5em; right: .5em;'><input type='checkbox'> dark</label>"
. Adminer\script("if (adminerDark != null) adminerDarkSet(); mixin(qsl('input'), {onclick: adminerDarkSwitch, checked: adminerDark});") . "\n"
echo "<big style='position: fixed; bottom: .5em; right: .5em; cursor: pointer;'>☀</big>"
. Adminer\script("if (adminerDark != null) adminerDarkSet(); qsl('big').onclick = adminerDarkSwitch;") . "\n"
;
}
}