Update argon.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-10-09 03:20:19 +08:00
1 parent 43e6b1a3f6
commit ee77b0ea87
1 file changed
+9 -25
+9 -25
View File
@@ -29,30 +29,14 @@
<head>
{% include("themes/" + theme + "/head_meta", { hostname: hostname, node: node, bar_color: bar_color, media: media }) %}
--- a/luci-theme-argon/ucode/template/themes/argon/footer.ut
+++ b/luci-theme-argon/ucode/template/themes/argon/footer.ut
@@ -19,13 +19,6 @@
</div>
<footer class="mobile-hide" style="text-wrap: auto">
<div class="footer-content" style="display: flex; flex-wrap: wrap; gap: 0.5em; justify-content: end;">
- <a class="luci-link" href="https://github.com/openwrt/luci" target="_blank">Powered by {{ version.luciname }} ({{ version.luciversion }})</a>
-
- <span class="footer-separator">|</span>
-
- <a href="https://github.com/jerrykuku/luci-theme-argon" target="_blank">ArgonTheme {# vPKG_VERSION #}</a>
-
- <span class="footer-separator">|</span>
--- a/luci-theme-argon/ucode/template/themes/noobwrt/header.ut
+++ b/luci-theme-argon/ucode/template/themes/noobwrt/header.ut
@@ -43,7 +43,7 @@
<a class="luci-link" href="{{ version.disturl }}" target="_blank">{{ version.distname }} {{ version.distversion }}-{{ version.distrevision }}</a>
-%}
<!DOCTYPE html>
-<html lang="{{ dispatcher.lang }}">
+<html lang="{{ dispatcher.lang }}"{% if (mode == 'dark'): %} data-darkmode="true"{% elif (mode == 'light'): %} data-darkmode="false"{% endif %}>
--- a/luci-theme-argon/ucode/template/themes/argon/footer_login.ut
+++ b/luci-theme-argon/ucode/template/themes/argon/footer_login.ut
@@ -23,8 +23,6 @@
%}
<footer>
<div title="{{ entityencode(luci_info + ' · ArgonTheme · ' + firmware_info, true) }}">
- <a class="luci-link" href="https://github.com/openwrt/luci" target="_blank" title="{{ entityencode(luci_info, true) }}"><span class="login-footer-detail">Powered by </span>{{ version.luciname }}<span class="login-footer-detail"> ({{ version.luciversion }})</span></a>
- <a href="https://github.com/jerrykuku/luci-theme-argon" target="_blank">ArgonTheme {# vPKG_VERSION #}</a>
<a class="luci-link" href="{{ version.disturl }}" target="_blank" title="{{ entityencode(firmware_info, true) }}">{{ version.distname }} {{ version.distversion }}<span class="login-footer-detail">-{{ version.distrevision }}</span></a>
</div>
</footer>
<head>
<meta charset="utf-8">