diff --git a/cmd/agent/main.go b/cmd/agent/main.go
index e383789..d33581e 100644
--- a/cmd/agent/main.go
+++ b/cmd/agent/main.go
@@ -123,11 +123,13 @@ func reportState() {
for {
if endReport.After(time.Now()) {
monitor.TrackNetworkSpeed()
- _, err = client.ReportState(ctx, monitor.GetState(1).PB())
+ _, err = client.ReportState(ctx, monitor.GetState(2).PB())
if err != nil {
log.Printf("reportState error %v", err)
time.Sleep(delayWhenError)
}
+ } else {
+ time.Sleep(time.Second * 1)
}
}
}
diff --git a/resource/static/main.css b/resource/static/main.css
index 9332e56..2a1157f 100644
--- a/resource/static/main.css
+++ b/resource/static/main.css
@@ -52,4 +52,8 @@
.status.cards .description {
padding-bottom: 1rem !important;
+}
+
+.status.cards .ui.content.popup {
+ min-width: 250px;
}
\ No newline at end of file
diff --git a/resource/template/common/footer.html b/resource/template/common/footer.html
index e0ecc84..c11e475 100644
--- a/resource/template/common/footer.html
+++ b/resource/template/common/footer.html
@@ -7,6 +7,7 @@
+