From d49f3b383d1b48165ac19cfb18cd580057d47da9 Mon Sep 17 00:00:00 2001
From: vernesong <42875168+vernesong@users.noreply.github.com>
Date: Sun, 8 Dec 2024 12:10:01 +0800
Subject: [PATCH] chore: refine
---
.../luasrc/model/cbi/openclash/servers.lua | 2 --
.../luasrc/view/openclash/tblsection.htm | 14 ++++++++++++--
.../luasrc/view/openclash/tblsection_dns.htm | 14 ++++++++++++--
luci-app-openclash/po/zh-cn/openclash.zh-cn.po | 5 ++++-
4 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua b/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua
index 00a16cf337..1962f602c1 100644
--- a/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua
+++ b/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua
@@ -29,8 +29,6 @@ o = s:option(ListValue, "rule_sources", translate("Choose Template For Create Co
o.description = translate("Use Other Rules To Create Config")
o:depends("create_config", 1)
o:value("lhie1", translate("lhie1 Rules"))
-o:value("ConnersHua", translate("ConnersHua(Provider-type) Rules"))
-o:value("ConnersHua_return", translate("ConnersHua Return Rules"))
o = s:option(Flag, "mix_proxies", translate("Mix Proxies"))
o.description = font_red .. bold_on .. translate("Mix This Page's Proxies") .. bold_off .. font_off
diff --git a/luci-app-openclash/luasrc/view/openclash/tblsection.htm b/luci-app-openclash/luasrc/view/openclash/tblsection.htm
index a376a1ceeb..0002b1b5d7 100644
--- a/luci-app-openclash/luasrc/view/openclash/tblsection.htm
+++ b/luci-app-openclash/luasrc/view/openclash/tblsection.htm
@@ -66,6 +66,14 @@
ul{
list-style: none;
}
+
+ h3{
+ margin-top: 0;
+ }
+
+ .cbi-value-field .cbi-dropdown, .cbi-value-field .cbi-input-select, .cbi-value input[type="text"], .cbi-value input[type="password"] {
+ min-width: auto;
+ }
#tab-header-<%=self.config%>-<%=self.sectiontype%>{
min-height: 35px;
@@ -123,7 +131,7 @@