mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-18 00:21:01 +00:00
Show synced nodes above non-synced nodes
This commit is contained in:
@@ -15,6 +15,8 @@ export class Connection {
|
|||||||
? `wss://${window.location.hostname}/feed/`
|
? `wss://${window.location.hostname}/feed/`
|
||||||
: `ws://${window.location.hostname}:8080`;
|
: `ws://${window.location.hostname}:8080`;
|
||||||
|
|
||||||
|
// private static readonly address = 'wss://telemetry.polkadot.io/feed/';
|
||||||
|
|
||||||
private static async socket(): Promise<WebSocket> {
|
private static async socket(): Promise<WebSocket> {
|
||||||
let socket = await Connection.trySocket();
|
let socket = await Connection.trySocket();
|
||||||
let timeout = TIMEOUT_BASE;
|
let timeout = TIMEOUT_BASE;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
z-index: 1;
|
||||||
transition: background-color 0.25s linear;
|
transition: background-color 0.25s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,11 +19,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.Node-Location-synced {
|
.Node-Location-synced {
|
||||||
|
z-index: 2;
|
||||||
background: #d64ca8;
|
background: #d64ca8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Node-Location:hover {
|
.Node-Location:hover {
|
||||||
z-index: 2;
|
z-index: 3;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user