diff --git a/resource/l10n/en-US.toml b/resource/l10n/en-US.toml index 38cdfa5..64036f3 100644 --- a/resource/l10n/en-US.toml +++ b/resource/l10n/en-US.toml @@ -750,3 +750,6 @@ other = "d" [CustomNameservers] other = "Custom Public DNS Nameservers for DDNS (separate with comma)" + +[Plan] +other = "Plan" diff --git a/resource/l10n/es-ES.toml b/resource/l10n/es-ES.toml index c6b598c..1516253 100644 --- a/resource/l10n/es-ES.toml +++ b/resource/l10n/es-ES.toml @@ -750,3 +750,6 @@ other = "d" [CustomNameservers] other = "Servidores DNS públicos personalizados para DDNS (separar con coma)" + +[Plan] +other = "Plan" diff --git a/resource/l10n/zh-CN.toml b/resource/l10n/zh-CN.toml index 204b830..8046298 100644 --- a/resource/l10n/zh-CN.toml +++ b/resource/l10n/zh-CN.toml @@ -750,3 +750,6 @@ other = "天" [CustomNameservers] other = "自定义DDNS使用的公共DNS服务器(逗号分隔)" + +[Plan] +other = "套餐" diff --git a/resource/l10n/zh-TW.toml b/resource/l10n/zh-TW.toml index 4e41db7..c9ba6c5 100644 --- a/resource/l10n/zh-TW.toml +++ b/resource/l10n/zh-TW.toml @@ -750,3 +750,6 @@ other = "天" [CustomNameservers] other = "自訂DDNS使用的公共DNS伺服器(逗號分隔)" + +[Plan] +other = "套餐" diff --git a/resource/static/theme-server-status/css/dark.css b/resource/static/theme-server-status/css/dark.css index 47b57ee..00e8e12 100755 --- a/resource/static/theme-server-status/css/dark.css +++ b/resource/static/theme-server-status/css/dark.css @@ -90,6 +90,11 @@ body[theme="dark"] .table > tbody > tr.expandRow.odd > td:before { body[theme="dark"] .table > tbody > tr.expandRow.even > td:before { background-color: rgba(28, 29, 38, 1); } + +body[theme="dark"] .plan { + background-image: none; + background-color: rgba(255, 255, 255, 0.075); +} /* expandRow展开部分样式结束 */ body[theme="dark"] .progress { diff --git a/resource/static/theme-server-status/css/light.css b/resource/static/theme-server-status/css/light.css index 9262d49..cfa9921 100755 --- a/resource/static/theme-server-status/css/light.css +++ b/resource/static/theme-server-status/css/light.css @@ -116,6 +116,13 @@ body[theme="light"] tr.odd.expandRow > :hover { background: #ffffff !important; } +body[theme="light"] .plan { + color: #000000; + background-color: #f5f5f5; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); +} + body[theme="light"] .progress-bar { color: #000000; } diff --git a/resource/static/theme-server-status/css/light.plus.css b/resource/static/theme-server-status/css/light.plus.css index b74c805..da791ca 100644 --- a/resource/static/theme-server-status/css/light.plus.css +++ b/resource/static/theme-server-status/css/light.plus.css @@ -104,6 +104,11 @@ body[theme="light"] .table > tbody > tr.expandRow.odd > td:before { body[theme="light"] .table > tbody > tr.expandRow.even > td:before { background-color: unset; } + +body[theme="light"] .plan { + background-image: none; + background-color: rgba(0, 0, 0, 0.015); +} /* expandRow展开部分样式结束 */ body[theme="light"] .progress { diff --git a/resource/static/theme-server-status/css/main.css b/resource/static/theme-server-status/css/main.css index 0526b4c..5f6756f 100755 --- a/resource/static/theme-server-status/css/main.css +++ b/resource/static/theme-server-status/css/main.css @@ -268,6 +268,22 @@ tr.accordion-toggle{ font-size: 80%; } +.plan { + display: inline-block; + font-size: 85%; + margin-right: 2px; + padding: 2px 5px; + border-radius: 2px; +} + +.network-route, .extra { + margin-right: 6px; +} + +.last { + margin-right: 2px; +} + .temp-detail { cursor: pointer; } @@ -557,6 +573,9 @@ footer p { min-width: 75px; max-width: 75px; } + .plan { + display: inline; + } .accordian-body { margin: 5px 0px 5px 10px; } diff --git a/resource/template/theme-server-status/header.html b/resource/template/theme-server-status/header.html index f1a098f..4247a70 100644 --- a/resource/template/theme-server-status/header.html +++ b/resource/template/theme-server-status/header.html @@ -26,9 +26,9 @@ - - - + + + diff --git a/resource/template/theme-server-status/home-group-false.html b/resource/template/theme-server-status/home-group-false.html index cd1792c..4a8f42b 100644 --- a/resource/template/theme-server-status/home-group-false.html +++ b/resource/template/theme-server-status/home-group-false.html @@ -35,8 +35,8 @@ @#getPlatformName(node.os) === '' && node.stateuptime > 0 ? 'linux' : getPlatformName(node.os)#@ - - @#node.stateuptime > 0 ? (node.location || 'RB') : ''#@ + + @#node.stateuptime > 0 ? (node.location || 'UN') : ''#@