feat: status-server主题增加agent账单信息展示 (#424)

1. 首页通过在后台配置PublicNote字段,实现agent账单信息展示
2. 优化顶部导航,增加当前位置标识
3. 优化network页移动端样式
4. 优化后台server页展示,隐藏掉一些不重要的信息
5. 一些其他小优化
使用说明:https://github.com/naiba/nezha/pull/424#issuecomment-2386837658
This commit is contained in:
nap0o
2024-10-01 22:05:53 -04:00
committed by GitHub
parent 7940e010e0
commit 60ada33ee9
14 changed files with 517 additions and 34 deletions

View File

@@ -237,8 +237,8 @@ tr.accordion-toggle{
}
.node-cell.network {
min-width: 100px;
max-width: 100px;
min-width: 110px;
max-width: 110px;
}
.node-cell.traffic {
@@ -250,6 +250,24 @@ tr.accordion-toggle{
max-width: 50px;
}
.node-cell.remaining {
min-width: 65px;
max-width: 65px;
}
.node-cell.remaining .additional {
position: absolute;
left: 0;
font-size: 12px;
text-align: center;
width: 100%;
}
.node-cell.remaining .additional small{
white-space: nowrap;
font-size: 80%;
}
.temp-detail {
cursor: pointer;
}
@@ -331,6 +349,8 @@ td.ping-network-quality {
padding: 5px 0px 15px 5px;
cursor: pointer;
width: 100%;
border-bottom-width: 1px;
border-bottom-style: solid;
}
.network-box .network-box-header .dropdown-menu {
@@ -529,6 +549,10 @@ footer p{
display: none;
visibility: hidden;
}
.node-cell.remaining {
min-width: 75px;
max-width: 75px;
}
.accordian-body{
margin: 5px 0px 5px 10px;
}
@@ -572,6 +596,7 @@ footer p{
.network-box .network-box-header {
margin: 8px 0px 0px 8px;
font-size: 16px;
border-bottom: none;
}
.network-box .chartTitle {
font-size: 16px;