mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-28 11:12:51 +08:00
Update argon.patch
This commit is contained in:
1 parent
37ff0ceb2f
commit
97fd8c867c
1 file changed
+2
-2
@@ -57,12 +57,12 @@
|
||||
|
||||
--- a/luci-theme-argon/ucode/template/themes/argon/sysauth.ut
|
||||
+++ b/luci-theme-argon/ucode/template/themes/argon/sysauth.ut
|
||||
@@ -136,11 +136,13 @@
|
||||
@@ -136,11 +136,12 @@
|
||||
<!-- Video Player End -->
|
||||
{% else %}
|
||||
<!-- Image Background Start -->
|
||||
- <div class="main-bg" id="main-bg"><img src="{{ entityencode(bgArry.bgUrl, true) }}" data-fallback="{{ media }}/img/bg1.jpg" onerror="this.onerror=null;this.src=this.dataset.fallback" alt=""></div>
|
||||
+ {% online_wallpaper = cfg.get_first('argon', 'global', 'online_wallpaper') ?? 'default' %}
|
||||
<div class="main-bg" id="main-bg"><img src="{{ entityencode(bgArry.bgUrl, true) }}" data-fallback="{{ media }}/img/bg1.jpg" onerror="this.onerror=null;this.src=this.dataset.fallback" alt=""></div>
|
||||
+ <div class="main-bg" id="main-bg">{% if (online_wallpaper != 'default'): %}<img src="{{ entityencode(bgArry.bgUrl, true) }}" data-fallback="{{ media }}/img/bg1.jpg" onerror="this.onerror=null;this.src=this.dataset.fallback" alt="">{% endif %}</div>
|
||||
<!-- Image Background End -->
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user