luci: optimize node_list page

This commit is contained in:
lwb1978 2025-01-25 22:21:21 +08:00 committed by xiaorouji
parent 3dec682f16
commit 66fbd44ae6

View File

@ -46,9 +46,19 @@ table td, .table .td {
color: red !important;
}
._now_use_bg {
background: #5e72e445 !important;
}
.ping a:hover{
text-decoration : underline;
}
@media (prefers-color-scheme: dark) {
._now_use_bg {
background: #4a90e2 !important;
}
}
</style>
<script type="text/javascript">
@ -228,6 +238,7 @@ table td, .table .td {
var dom = document.getElementById("cbi-passwall2-" + id);
if (dom) {
dom.title = "当前使用的节点";
dom.classList.add("_now_use_bg");
//var v = "<a style='color: red'>当前节点:</a>" + document.getElementById("cbid.passwall2." + id + ".remarks").value;
//document.getElementById("cbi-passwall2-" + id + "-remarks").innerHTML = v;
var dom_remarks = document.getElementById("cbi-passwall2-" + id + "-remarks");