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%>> <%+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"> +<%=section_tag%>> @@ -326,7 +329,7 @@ table td, .table .td { -