mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-17 06:00:25 +08:00
优化界面显示
This commit is contained in:
@@ -119,6 +119,13 @@ pre:not(.CodeMirror-line) {
|
|||||||
tbody {
|
tbody {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
.table-box {
|
||||||
|
margin-top: 1em;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
.table-box::-webkit-scrollbar {
|
||||||
|
height: 6px;
|
||||||
|
}
|
||||||
.table.width30 {
|
.table.width30 {
|
||||||
width: 30em !important;
|
width: 30em !important;
|
||||||
}
|
}
|
||||||
@@ -128,6 +135,9 @@ tbody {
|
|||||||
.table.width40 {
|
.table.width40 {
|
||||||
width: 40em !important;
|
width: 40em !important;
|
||||||
}
|
}
|
||||||
|
.table.width1024 {
|
||||||
|
width: 1024px !important;
|
||||||
|
}
|
||||||
.table th,
|
.table th,
|
||||||
.table td {
|
.table td {
|
||||||
font-size: 0.9em !important;
|
font-size: 0.9em !important;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -45,6 +45,15 @@ tbody {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-box {
|
||||||
|
margin-top: 1em;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-box::-webkit-scrollbar {
|
||||||
|
height: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
.table.width30 {
|
.table.width30 {
|
||||||
width: 30em !important;
|
width: 30em !important;
|
||||||
}
|
}
|
||||||
@@ -57,6 +66,10 @@ tbody {
|
|||||||
width: 40em !important;
|
width: 40em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table.width1024 {
|
||||||
|
width: 1024px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.table th, .table td {
|
.table th, .table td {
|
||||||
font-size: 0.9em !important;
|
font-size: 0.9em !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
<p class="comment" v-if="nodes.length == 0">暂时还没有节点。</p>
|
<p class="comment" v-if="nodes.length == 0">暂时还没有节点。</p>
|
||||||
|
|
||||||
|
<div class="table-box">
|
||||||
<table class="ui table selectable celled" v-if="nodes.length > 0">
|
<table class="ui table selectable celled" v-if="nodes.length > 0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -23,13 +24,17 @@
|
|||||||
<td>{{node.name}}</td>
|
<td>{{node.name}}</td>
|
||||||
<td>
|
<td>
|
||||||
<div v-if="node.accessAddrs != null && node.accessAddrs.length > 0">
|
<div v-if="node.accessAddrs != null && node.accessAddrs.length > 0">
|
||||||
<span class="ui label tiny basic" v-for="addr in node.accessAddrs" style="margin-bottom: 0.5em">{{addr}}</span>
|
<div v-for="addr in node.accessAddrs">
|
||||||
|
<span class="ui label tiny basic" style="margin-bottom: 0.5em">{{addr}}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="disabled">-</div>
|
<div v-else class="disabled">-</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div v-if="node.restAccessAddrs != null && node.restAccessAddrs.length > 0">
|
<div v-if="node.restAccessAddrs != null && node.restAccessAddrs.length > 0">
|
||||||
<span class="ui label tiny basic" v-for="addr in node.restAccessAddrs" style="margin-bottom: 0.5em">{{addr}}</span>
|
<div v-for="addr in node.restAccessAddrs">
|
||||||
|
<span class="ui label tiny basic" style="margin-bottom: 0.5em">{{addr}}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="disabled">-</div>
|
<div v-else class="disabled">-</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -59,5 +64,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="page" v-html="page"></div>
|
<div class="page" v-html="page"></div>
|
||||||
Reference in New Issue
Block a user