feat: status-server主题增加套餐信息展示 (#464)

* feat: status-server主题增加套餐信息展示
1. 首页通过在后台配置PublicNote字段,实现agent套餐信息展示
2. 一些其他小优化

* 1.未获取agent国家时,默认彩虹旗修改为联合国旗
This commit is contained in:
nap0o
2024-11-01 21:28:14 +08:00
committed by GitHub
parent 45b0f1edfc
commit 96c3fd433f
13 changed files with 187 additions and 47 deletions
+5
View File
@@ -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 {
+7
View File
@@ -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;
}
@@ -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 {
+19
View File
@@ -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;
}