mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-10 18:34:18 +08:00
Update argon.patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user