diff --git a/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart b/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart index 61f4198ac..5b1d1f3c0 100755 --- a/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart +++ b/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart @@ -12,7 +12,6 @@ sed -i -E ' s/\([^()]*\.matches\)!=null\?[^:]*:window\.matchMedia\([^)]*\)\.matches/document.documentElement.dataset.darkmode!=null?document.documentElement.dataset.darkmode==="true":&/ s/\((Ld)\),[a-zA-Z0-9_$]+\.observe\(document\.body,\{attributes:!0,attributeFilter:\["theme"\]\}\)/(m=>{m.some(r=>\/^data-.*-mode$\/.test(r.attributeName))\&\&\1(),m.some(r=>r.attributeName==="data-darkmode")\&\&Dd()}),wl.observe(document.documentElement,{attributes:!0})/ - # 3. 去除网络连接卡片中的软件源检测与配置 s/[a-zA-Z0-9_$]+\.networkInfo/&==="softSourceFailed"?"netSuccess":&/ s/,"softSourceFailed"|,softSourceFailed:\[[^]]*\]|:[^:?]*==="softSourceFailed"\?"source"//g diff --git a/luci-theme-argon/Makefile b/luci-theme-argon/Makefile index 2eda16e46..a2a178615 100644 --- a/luci-theme-argon/Makefile +++ b/luci-theme-argon/Makefile @@ -13,7 +13,7 @@ LUCI_DEPENDS:=+luci-base +wget-ssl +ca-bundle +jsonfilter +ucode-mod-math +flock # Keep existing translation package names and the argon-config message domain. LUCI_BASENAME:=argon-config PKG_VERSION:=3.1.4 -PKG_RELEASE:=43 +PKG_RELEASE:=44 PKG_LICENSE:=Apache-2.0 MIT # LuCI derives translations independently of the theme version. Keep release diff --git a/luci-theme-argon/ucode/template/themes/argon/head.ut b/luci-theme-argon/ucode/template/themes/argon/head.ut index 67841ba3a..49b94d67f 100644 --- a/luci-theme-argon/ucode/template/themes/argon/head.ut +++ b/luci-theme-argon/ucode/template/themes/argon/head.ut @@ -67,7 +67,7 @@ -%} - + {% if (!is_login): %}