mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 03:45:13 +08:00
🔥 Sync 2026-10-05 04:55:44
This commit is contained in:
1 parent
02a44b1178
commit
f3ff7a3b78
15 files changed
+79
-81
No files matched your search
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
LUCI_TITLE:=Noobwrt Theme
|
||||
LUCI_DEPENDS:=+wget +jsonfilter
|
||||
PKG_VERSION:=1.1.7
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
CONFIG_LUCI_CSSTIDY:=1
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ touch /etc/config/noobwrt
|
||||
uci get noobwrt.global >/dev/null 2>&1 || uci set noobwrt.global=global
|
||||
|
||||
# Set each global option only if not already present
|
||||
uci get noobwrt.global.mode >/dev/null 2>&1 || uci set noobwrt.global.mode=normal
|
||||
uci get noobwrt.global.mode >/dev/null 2>&1 || uci set noobwrt.global.mode=dark
|
||||
uci get noobwrt.global.primary >/dev/null 2>&1 || uci set noobwrt.global.primary='#7689f4'
|
||||
uci get noobwrt.global.dark_primary >/dev/null 2>&1 || uci set noobwrt.global.dark_primary='#7c8ff5'
|
||||
uci get noobwrt.global.blur >/dev/null 2>&1 || uci set noobwrt.global.blur=10
|
||||
@@ -42,16 +42,16 @@ seed_toolbar() {
|
||||
}
|
||||
|
||||
seed_toolbar toolbar_home 'Home' '/cgi-bin/luci/admin/status/overview' home.png 1 1
|
||||
seed_toolbar toolbar_status 'Status' '/cgi-bin/luci/admin/modem/modemdata' signal.png 1 2
|
||||
seed_toolbar toolbar_vpn 'Passwall' '/cgi-bin/luci/admin/services/passwall' vpn.png 1 2
|
||||
seed_toolbar toolbar_status 'Status' '/cgi-bin/luci/admin/modem/modemdata' signal.png 0 2
|
||||
seed_toolbar toolbar_modem 'Modem' '/cgi-bin/luci/admin/modem/qmodem' cell.png 0 3
|
||||
seed_toolbar toolbar_sms 'SMS' '/cgi-bin/luci/admin/modem/luci-app-sms-tool-js' sms.png 1 4
|
||||
seed_toolbar toolbar_data 'Data Usage' '/cgi-bin/luci/admin/tools/netstat' network.png 1 5
|
||||
seed_toolbar toolbar_sms 'SMS' '/cgi-bin/luci/admin/modem/luci-app-sms-tool-js' sms.png 0 4
|
||||
seed_toolbar toolbar_data 'Data Usage' '/cgi-bin/luci/admin/status/netstat' network.png 0 5
|
||||
seed_toolbar toolbar_nas 'NAS' '/cgi-bin/luci/admin/services/samba4' nas.png 0 6
|
||||
seed_toolbar toolbar_wireless 'Wireless' '/cgi-bin/luci/admin/network/wireless' wifi.png 1 7
|
||||
seed_toolbar toolbar_firewall 'Firewall' '/cgi-bin/luci/admin/network/firewall' firewall.png 0 8
|
||||
seed_toolbar toolbar_log 'System Log' '/cgi-bin/luci/admin/status/logs' info.png 0 9
|
||||
seed_toolbar toolbar_log 'System Log' '/cgi-bin/luci/admin/status/logs' info.png 1 9
|
||||
seed_toolbar toolbar_terminal 'Terminal' '/cgi-bin/luci/admin/system/ttyd' terminal.png 1 10
|
||||
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
|
||||
|
||||
|
||||
@@ -5,6 +5,17 @@
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "noobwrt/settings"
|
||||
}
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-theme-noobwrt" ],
|
||||
"uci": {
|
||||
"noobwrt": true,
|
||||
"luci": {
|
||||
"main": {
|
||||
"mediaurlbase": "/luci-static/noobwrt"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user