mirror of
https://github.com/xiaorouji/openwrt-passwall2.git
synced 2025-05-01 10:51:00 +08:00
luci: optimize node_list page
This commit is contained in:
parent
3dec682f16
commit
66fbd44ae6
@ -46,9 +46,19 @@ table td, .table .td {
|
|||||||
color: red !important;
|
color: red !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
._now_use_bg {
|
||||||
|
background: #5e72e445 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ping a:hover{
|
.ping a:hover{
|
||||||
text-decoration : underline;
|
text-decoration : underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
._now_use_bg {
|
||||||
|
background: #4a90e2 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -228,6 +238,7 @@ table td, .table .td {
|
|||||||
var dom = document.getElementById("cbi-passwall2-" + id);
|
var dom = document.getElementById("cbi-passwall2-" + id);
|
||||||
if (dom) {
|
if (dom) {
|
||||||
dom.title = "当前使用的节点";
|
dom.title = "当前使用的节点";
|
||||||
|
dom.classList.add("_now_use_bg");
|
||||||
//var v = "<a style='color: red'>当前节点:</a>" + document.getElementById("cbid.passwall2." + id + ".remarks").value;
|
//var v = "<a style='color: red'>当前节点:</a>" + document.getElementById("cbid.passwall2." + id + ".remarks").value;
|
||||||
//document.getElementById("cbi-passwall2-" + id + "-remarks").innerHTML = v;
|
//document.getElementById("cbi-passwall2-" + id + "-remarks").innerHTML = v;
|
||||||
var dom_remarks = document.getElementById("cbi-passwall2-" + id + "-remarks");
|
var dom_remarks = document.getElementById("cbi-passwall2-" + id + "-remarks");
|
||||||
|
Loading…
Reference in New Issue
Block a user