From f0539f9a8b4c2f4cce3534f711df3adb51b2191e Mon Sep 17 00:00:00 2001 From: duckAxe <210068897+duckaxe@users.noreply.github.com> Date: Mon, 22 Sep 2025 19:03:26 +0200 Subject: [PATCH] Swarm Facelift (#1231) * Action bar * Add swarm table * Add vrTemp check * Reorder hostname & IP * Optimize the refresh button to prevent flickering * Prevent column width jumps on sorting --------- Co-authored-by: duckaxe <> --- .../app/components/swarm/swarm.component.html | 332 ++++++++---------- .../app/components/swarm/swarm.component.scss | 92 ++--- .../app/components/swarm/swarm.component.ts | 5 +- 3 files changed, 179 insertions(+), 250 deletions(-) diff --git a/main/http_server/axe-os/src/app/components/swarm/swarm.component.html b/main/http_server/axe-os/src/app/components/swarm/swarm.component.html index d5b4684d5..62d2a6afb 100644 --- a/main/http_server/axe-os/src/app/components/swarm/swarm.component.html +++ b/main/http_server/axe-os/src/app/components/swarm/swarm.component.html @@ -1,192 +1,154 @@ -
|
+
+
-
- {{field.label}}
-
+
+ {{metric.label}}
+
- {{metric.value}}
|
- Edit | -Restart | -Remove | -|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - {{axe.IP}} - | -{{axe.hostname}} | -{{axe.hashRate * 1000000000 | hashSuffix}} | -
-
- {{axe.sharesAccepted | number: '1.0-0'}}
-
-
- {{axe.sharesRejected | number: '1.0-0'}}
-
- |
-
-
- {{axe.bestDiff}}
-
-
- {{axe.bestSessionDiff}}
-
- |
- {{axe.uptimeSeconds | dateAgo: {intervals: 2} }} | -{{axe.power | number: '1.1-1'}} W | -
- 68}"
- pTooltip="ASIC Temperature"
- tooltipPosition="top">
- {{axe.temp | number: '1.0-1'}} °C
-
- 90}"
- *ngIf="axe.vrTemp"
- pTooltip="Voltage Regulator Temperature"
- tooltipPosition="top">
- {{axe.vrTemp | number: '1.0-1'}} °C
-
- |
- {{axe.poolDifficulty}} | -{{axe.version}} | -
|
+
+ {{field.label}}
+
+
+ |
+ + | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| + + {{axe.hostname}} + + | ++ {{axe.IP}} + | +{{axe.hashRate * 1000000000 | hashSuffix}} | +
+ + {{axe.sharesAccepted | number: '1.0-0'}} + ++ {{axe.sharesRejected | number: '1.0-0'}} + + |
+
+ + {{axe.bestDiff}} + ++ {{axe.bestSessionDiff}} + + |
+ + {{axe.uptimeSeconds | dateAgo: {intervals: 1} }} + | +{{axe.power | number: '1.1-1'}} W | +
+ 68}" pTooltip="ASIC Temperature" tooltipPosition="top"> + {{axe.temp | number: '1.0-1'}} °C + +90}" pTooltip="Voltage Regulator Temperature" tooltipPosition="top"> + {{axe.vrTemp | number: '1.0-1'}} °C + + |
+ {{axe.poolDifficulty}} | +{{axe.version}} | +
+ |
+
+ Scan your network for devices or add a device manually by using its IP address. +
+