diff --git a/frontend/src/API.js b/frontend/src/API.js index 1ce8233f..3e62d295 100644 --- a/frontend/src/API.js +++ b/frontend/src/API.js @@ -8,7 +8,7 @@ const tokenKey = "statping_auth"; class Api { constructor() { this.version = "0.90.74"; - this.commit = "2352cae85cb388437ae848c6acd0a658a4cd2d84"; + this.commit = "df8e1f73d9f7fdf218bc5c26130d7d8a6af6719a"; } async oauth() { diff --git a/frontend/src/assets/scss/base.scss b/frontend/src/assets/scss/base.scss index 8143cde0..2a74d6ac 100644 --- a/frontend/src/assets/scss/base.scss +++ b/frontend/src/assets/scss/base.scss @@ -89,7 +89,7 @@ } .chartmarker SPAN { - font-size: 4pt; + font-size: 8pt; display: block; color: #b1b1b1; } diff --git a/frontend/src/components/Dashboard/ServiceEvents.vue b/frontend/src/components/Dashboard/ServiceEvents.vue index f325c4b9..8137fa32 100644 --- a/frontend/src/components/Dashboard/ServiceEvents.vue +++ b/frontend/src/components/Dashboard/ServiceEvents.vue @@ -23,7 +23,7 @@
No New Events - + Last failure was {{ago(service.last_error)}} ago.
diff --git a/frontend/src/components/Dashboard/ServiceInfo.vue b/frontend/src/components/Dashboard/ServiceInfo.vue index 79d9e3a4..944a26ec 100644 --- a/frontend/src/components/Dashboard/ServiceInfo.vue +++ b/frontend/src/components/Dashboard/ServiceInfo.vue @@ -9,21 +9,15 @@ -
+
-
+
-
- -
-
- -
-
+
@@ -44,7 +38,8 @@
@@ -91,10 +86,8 @@ hovered: false, hoverbtn: "", openTab: "", - set1: [], set2: [], loaded: false, - set1_name: "", set2_name: "", failures: null, visible: false @@ -111,7 +104,7 @@ this.hoverbtn = name }, unsetHover() { - this.hoverbtn = this.$t('uptime', [this.service.online_7_days]) + this.hoverbtn = this.$t('uptime') + " "+ this.service.online_7_days + "%" }, async setVisible(isVisible, entry) { if (isVisible && !this.visible) { @@ -126,9 +119,7 @@ this.uptime = await Api.service_uptime(this.service.id, this.toUnix(start), this.toUnix(end)) }, async loadInfo() { - this.set1 = await this.getHits(86400 * 7, "12h") - this.set1_name = this.calc(this.set1) - this.set2 = await this.getHits(86400, "60m") + this.set2 = await this.getHits(86400 * 3, "60m") this.set2_name = this.calc(this.set2) this.loaded = true }, diff --git a/frontend/src/components/Dashboard/ServiceSparkLine.vue b/frontend/src/components/Dashboard/ServiceSparkLine.vue index 08991ff1..e061efe7 100644 --- a/frontend/src/components/Dashboard/ServiceSparkLine.vue +++ b/frontend/src/components/Dashboard/ServiceSparkLine.vue @@ -57,13 +57,13 @@ let ts = w.globals.seriesX[seriesIndex][dataPointIndex]; const dt = new Date(ts).toLocaleDateString("en-us", timeoptions) let val = series[seriesIndex][dataPointIndex]; - return `
Average Response Time: ${this.humanTime(val)}${dt}
` + return `
Average Response Time: ${this.humanTime(val)}${dt}
` }, fixed: { enabled: true, position: 'bottomLeft', offsetX: 0, - offsetY: -30, + offsetY: -15, }, x: { show: true, diff --git a/frontend/src/pages/Help.vue b/frontend/src/pages/Help.vue index 5782c6ba..a189b19a 100755 --- a/frontend/src/pages/Help.vue +++ b/frontend/src/pages/Help.vue @@ -2321,7 +2321,7 @@ OluFxewsEO0QNDrfFb+0gnjYlnGqOFcZjUMXbDdY5oLSPtXohynuTK1qyQ==
-Automatically generated from Statping's Wiki on 2020-12-20 09:31:51.335569 +0000 UTC +Automatically generated from Statping's Wiki on 2020-12-20 10:21:49.484474 +0000 UTC