mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 22:05:13 +08:00
Update luci-theme-noobwrt.patch
This commit is contained in:
1 parent
733c0af0f2
commit
07f8cc683c
1 file changed
+13
@@ -52,4 +52,17 @@
|
||||
-seed_toolbar toolbar_vpn 'VPN' '/cgi-bin/luci/admin/services/passwall' vpn.png 0 11
|
||||
seed_toolbar toolbar_files 'Files' '/cgi-bin/luci/admin/nas/tinyfilemanager' files.png 1 12
|
||||
seed_toolbar toolbar_system 'Settings' '/cgi-bin/luci/admin/system/noobwrt' settings.png 1 13
|
||||
|
||||
|
||||
--- a/luci-theme-noobwrt/ucode/template/themes/noobwrt/header.ut
|
||||
+++ b/luci-theme-noobwrt/ucode/template/themes/noobwrt/header.ut
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
-%}
|
||||
<!DOCTYPE html>
|
||||
-<html lang="{{ dispatcher.lang }}">
|
||||
+<html lang="{{ dispatcher.lang }}"{% if (mode == 'dark'): %} data-darkmode="true"{% elif (mode == 'light'): %} data-darkmode="false"{% endif %}>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
Reference in new issue
Block a user