优化节点同步任务界面

This commit is contained in:
刘祥超
2023-07-25 10:21:50 +08:00
parent 2d5085e652
commit 938947548b
4 changed files with 14 additions and 4 deletions

View File

@@ -3,4 +3,7 @@ h3 span {
color: grey;
font-size: 0.6em !important;
}
table td {
word-break: break-all;
}
/*# sourceMappingURL=listPopup.css.map */

View File

@@ -1 +1 @@
{"version":3,"sources":["listPopup.less"],"names":[],"mappings":"AAAA,EAAG;EACF,kBAAA;EACA,WAAA;EACA,2BAAA","file":"listPopup.css"}
{"version":3,"sources":["listPopup.less"],"names":[],"mappings":"AAAA,EAAG;EACF,kBAAA;EACA,WAAA;EACA,gBAAA;;AAID,KACC;EACC,qBAAA","file":"listPopup.css"}

View File

@@ -24,10 +24,10 @@
<checkbox v-model="task.isChecked" @input="checkTask"></checkbox>
</td>
<td>{{cluster.name}}</td>
<td>
<td nowrap="">
{{task.node.name}} &nbsp; <a :href="'/clusters/cluster/node?clusterId=' + cluster.id + '&nodeId=' + task.node.id" target="_blank"><i class="icon linkify small grey"></i></a>
</td>
<td>
<td nowrap="">
<span v-if="task.type == 'configChanged' || task.type == 'globalServerConfigChanged'">同步配置</span>
<span v-if="task.type == 'ipItemChanged'">同步IP名单</span>
<span v-if="task.type == 'scriptsChanged'">同步脚本</span>
@@ -39,7 +39,7 @@
<span v-if="task.isDone" class="red">{{task.error}}</span>
<span v-else>正在同步...</span>
</td>
<td>{{task.updatedTime}}</td>
<td nowrap="">{{task.updatedTime}}</td>
<td>
<a href="" title="删除" class="remove-btn" @click.prevent="deleteTask(task.id)"><i class="icon remove small grey"></i></a>
</td>

View File

@@ -3,3 +3,10 @@ h3 span {
color: grey;
font-size: 0.6em !important;
}
table {
td {
word-break: break-all;
}
}