优化界面

This commit is contained in:
刘祥超
2022-04-07 19:53:10 +08:00
parent ee0837571d
commit 62933cf637
5 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
.grid.counter-chart { .grid.counter-chart {
margin-top: 1.5em !important; margin-top: 1em !important;
margin-left: 0.4em !important; margin-left: 0.4em !important;
.column { .column {

View File

@@ -105,7 +105,7 @@ body.expanded .right-box {
width: 4px; width: 4px;
} }
.grid.counter-chart { .grid.counter-chart {
margin-top: 1.5em !important; margin-top: 1em !important;
margin-left: 0.4em !important; margin-left: 0.4em !important;
} }
.grid.counter-chart .column { .grid.counter-chart .column {

File diff suppressed because one or more lines are too long

View File

@@ -110,7 +110,7 @@
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">
<span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.80}">{{node.status.cpuUsageText}}</span> <span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.50}">{{node.status.cpuUsageText}}</span>
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">
@@ -118,7 +118,7 @@
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">
<span v-if="node.status.isActive && node.status.trafficOutBytes > 0">{{teaweb.formatBytes(node.status.trafficOutBytes/60)}}<br/><span class="grey small">/分钟</span></span> <span v-if="node.status.isActive && node.status.trafficOutBytes > 0">{{teaweb.formatBytes(node.status.trafficOutBytes/60)}}<span class="grey small">/s</span></span>
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">

View File

@@ -104,7 +104,7 @@
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">
<span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.80}">{{node.status.cpuUsageText}}</span> <span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.50}">{{node.status.cpuUsageText}}</span>
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">
@@ -116,7 +116,7 @@
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">
<span v-if="node.status.isActive">{{node.status.load1m}}<br/><span class="grey small"></span></span> <span v-if="node.status.isActive">{{node.status.load1m}}<span class="grey small"></span></span>
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">