Update argon.patch

This commit is contained in:
kiddin9
2026-08-29 17:01:15 +08:00
committed by GitHub
parent 2afb356964
commit e1f8fcd79e
+8 -2
View File
@@ -80,15 +80,21 @@
--- a/luci-theme-argon/ucode/template/themes/argon/sysauth.ut
+++ b/luci-theme-argon/ucode/template/themes/argon/sysauth.ut
@@ -115,7 +115,7 @@
@@ -115,11 +115,12 @@
<!-- Video Player End -->
{% else %}
<!-- Image Background Start -->
- <div class="main-bg" id="main-bg" style="background-image:url({{ bgArry.bgUrl }})"></div>
+ <div class="main-bg" id="main-bg" {% if (cfg.get_first('argon', 'global', 'online_wallpaper') != "default"): %}style="background-image:url({{ bgArry.bgUrl }})"{% endif %}></div>
+ {% online_wallpaper = cfg.get_first('argon', 'global', 'online_wallpaper') ?? 'default' %}
+ <div class="main-bg" id="main-bg" {% if (online_wallpaper != 'default'): %}style="background-image:url({{ bgArry.bgUrl }})"{% endif %}></div>
<!-- Image Background End -->
{% endif %}
<!-- Login Container Start -->
- <div class="login-container">
+ <div class="login-container" {% if (online_wallpaper == 'default'): %} style="backdrop-filter: blur(0px)"{% endif %}>
<div class="login-form">
<!-- Logo Start -->
<a class="brand" href="/"><img src="{{ media }}/img/argon.svg" class="icon">
--- a/luci-theme-argon/htdocs/luci-static/argon/css/cascade.css
+++ b/luci-theme-argon/htdocs/luci-static/argon/css/cascade.css