🌈 Sync 2026-08-20 06:35:00

This commit is contained in:
github-actions[bot] committed 2026-08-20 06:35:00 +08:00
1 parent bb092039a4
commit bab8d49597
4 files changed
+10 -14

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall2 PKG_NAME:=luci-app-passwall2
PKG_VERSION:=26.8.17 PKG_VERSION:=26.8.17
PKG_RELEASE:=92 PKG_RELEASE:=93
PKG_PO_VERSION:=$(PKG_VERSION) PKG_PO_VERSION:=$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \
@@ -14,7 +14,7 @@
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .3); box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .3);
color: #525f7f; color: #525f7f;
background: #fff; background: #fff;
z-index: 5; z-index: 999;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -78,13 +78,10 @@
const _ASSETS = '/luci-static/passwall2/'; const _ASSETS = '/luci-static/passwall2/';
const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[passwall2]], [[ip]])%>'; const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[passwall2]], [[ip]])%>';
let wW = window.innerWidth; let statusBar = document.querySelector(".status-bar");
function resize() { function resize() {
wW = window.innerWidth; statusBar.style.width = document.getElementById("maincontent").offsetWidth + 'px';
let lw = document.querySelector(".main-left")?.offsetWidth ?? 5;
let statusBar = document.querySelector(".status-bar");
statusBar.style.width = (wW - lw) + 'px';
let flagElement = statusBar.querySelector(".flag"); let flagElement = statusBar.querySelector(".flag");
flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px'; flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px';
@@ -128,4 +125,5 @@ document.addEventListener('DOMContentLoaded', function() {
}); });
window.addEventListener('resize', resize); window.addEventListener('resize', resize);
document.body.appendChild(statusBar);
</script> </script>
+1 -1
View File
@@ -4,7 +4,7 @@ LUCI_TITLE:=luci-app-ssr-plus
LUCI_PKGARCH:=all LUCI_PKGARCH:=all
PKG_NAME:=luci-app-ssr-plus PKG_NAME:=luci-app-ssr-plus
PKG_VERSION:=196 PKG_VERSION:=196
PKG_RELEASE:=60 PKG_RELEASE:=61
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \ CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \
@@ -14,7 +14,7 @@
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .3); box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .3);
color: #525f7f; color: #525f7f;
background: #fff; background: #fff;
z-index: 5; z-index: 999;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -78,13 +78,10 @@
const _ASSETS = '/luci-static/shadowsocksr/'; const _ASSETS = '/luci-static/shadowsocksr/';
const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[shadowsocksr]], [[ip]])%>'; const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[shadowsocksr]], [[ip]])%>';
let wW = window.innerWidth; let statusBar = document.querySelector(".status-bar");
function resize() { function resize() {
wW = window.innerWidth; statusBar.style.width = document.getElementById("maincontent").offsetWidth + 'px';
let lw = document.querySelector(".main-left")?.offsetWidth ?? 5;
let statusBar = document.querySelector(".status-bar");
statusBar.style.width = (wW - lw) + 'px';
let flagElement = statusBar.querySelector(".flag"); let flagElement = statusBar.querySelector(".flag");
flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px'; flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px';
@@ -128,4 +125,5 @@ document.addEventListener('DOMContentLoaded', function() {
}); });
window.addEventListener('resize', resize); window.addEventListener('resize', resize);
document.body.appendChild(statusBar);
</script> </script>