From 29d33c355a0c49bf954e94be4a28126fcca43736 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 9 Aug 2026 23:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9B=84=20Sync=202026-08-09=2023:55:57?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-passwall/Makefile | 2 +- .../luasrc/view/passwall/log/log.htm | 5 +++-- .../view/passwall/node_list/node_list.htm | 16 +++++++++------- .../view/passwall/rule/shunt_rule_list.htm | 17 ++++++++++------- 4 files changed, 23 insertions(+), 17 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index e5c6ecc8..fc9b94ea 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=26.8.1 -PKG_RELEASE:=209 +PKG_RELEASE:=210 PKG_PO_VERSION:=$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall/luasrc/view/passwall/log/log.htm b/luci-app-passwall/luasrc/view/passwall/log/log.htm index 83836942..7afc934a 100644 --- a/luci-app-passwall/luasrc/view/passwall/log/log.htm +++ b/luci-app-passwall/luasrc/view/passwall/log/log.htm @@ -1,5 +1,6 @@ <% local api = require "luci.passwall.api" +local section_tag = api.is_js_luci() and "div" or "fieldset" -%> <%+header%> -
+<<%=section_tag%> class="cbi-section" id="_log_fieldset"> -
+> <%+footer%> diff --git a/luci-app-passwall/luasrc/view/passwall/node_list/node_list.htm b/luci-app-passwall/luasrc/view/passwall/node_list/node_list.htm index 85eb3e85..98d77bdd 100644 --- a/luci-app-passwall/luasrc/view/passwall/node_list/node_list.htm +++ b/luci-app-passwall/luasrc/view/passwall/node_list/node_list.htm @@ -1,6 +1,8 @@ <% local api = require "luci.passwall.api" local appname = api.appname +local is_js_luci = api.is_js_luci() +local section_tag = is_js_luci and "div" or "fieldset" -%> @@ -364,7 +366,7 @@ table td, .table .td { -
-
+<<%=section_tag%> class="cbi-section" id="node_list"> +> @@ -326,7 +329,7 @@ table td, .table .td { -
-

Sing-Box/Xray <%:Shunt Rule%>

+<<%=section_tag%> class="cbi-section"> + <<%=title_tag%>>Sing-Box/Xray <%:Shunt Rule%>>
-
+>