💄 优化循环流量展示

This commit is contained in:
naiba
2021-11-11 09:40:10 +08:00
parent 57e556eea1
commit 6b3723461b
8 changed files with 18 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
.nb-container {
padding-top: 75px;
min-height: 100vh;
padding-bottom: 55px;
padding-bottom: 65px;
margin-bottom: -47px;
}

View File

@@ -9,7 +9,7 @@
<title>{{.Title}}</title>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.1/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
<link rel="stylesheet" type="text/css" href="/static/main.css?v2021080602">
<link rel="stylesheet" type="text/css" href="/static/main.css?v2021111109">
<link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
</head>

View File

@@ -49,8 +49,10 @@
<th class="ui center aligned">服务器</th>
<th class="ui center aligned"></th>
<th class="ui center aligned"></th>
<th class="ui center aligned">下次刷新</th>
<th class="ui center aligned">流量</th>
<th class="ui center aligned">MAX</th>
<th class="ui center aligned">MIN</th>
<th class="ui center aligned">下次检查</th>
<th class="ui center aligned">当前用量</th>
</tr>
</thead>
<tbody>
@@ -62,7 +64,9 @@
<td class="ui center aligned">{{index $stats.ServerName $innerId}}</td>
<td class="ui center aligned">{{$stats.From|tf}}</td>
<td class="ui center aligned">{{$stats.To|tf}}</td>
<td class="ui center aligned">{{(index $stats.NextUpdate $innerId)|tf}}</td>
<td class="ui center aligned">{{$stats.Max|bf}}</td>
<td class="ui center aligned">{{$stats.Min|bf}}</td>
<td class="ui center aligned">{{(index $stats.NextUpdate $innerId)|sft}}</td>
<td class="ui center aligned">{{$transfer|bf}}</td>
</tr>
{{end}}