From 97c703fe47b767dc7afc74ed244a5c424fd5f3a8 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 17 Jul 2021 01:19:48 +0100 Subject: [PATCH] reordered some elements on the account page --- src/js/account.js | 6 ++--- src/sass/style.scss | 2 +- static/index.html | 53 ++++++++++++++++++++------------------------- 3 files changed, 27 insertions(+), 34 deletions(-) diff --git a/src/js/account.js b/src/js/account.js index 561996b34..0b819436c 100644 --- a/src/js/account.js +++ b/src/js/account.js @@ -746,9 +746,9 @@ export function update() { )}%)` ); - $(".pageAccount .avgRestart .val").text( - (testRestarts / testCount).toFixed(1) - ); + $(".pageAccount .testsCompleted .avgres").text(` + ${(testRestarts / testCount).toFixed(1)} restarts per completed test + `); if (ChartController.accountHistory.data.datasets[0].data.length > 0) { ChartController.accountHistory.options.plugins.trendlineLinear = true; diff --git a/src/sass/style.scss b/src/sass/style.scss index c0294bfbd..3cc1b4fd7 100644 --- a/src/sass/style.scss +++ b/src/sass/style.scss @@ -3368,7 +3368,7 @@ key { .val { font-size: 3rem; - line-height: 3rem; + line-height: 3.5rem; } &.chart { diff --git a/static/index.html b/static/index.html index 43bcc1b84..b3dd73f3c 100644 --- a/static/index.html +++ b/static/index.html @@ -4254,6 +4254,28 @@
+
+
tests started
+
-
+
+
+
+ tests completed + + + +
+
-
+
-
+
+
+
time typing
+
-
+
highest wpm
-
@@ -4289,36 +4311,7 @@
-
- -
-
tests started
-
-
-
-
-
- tests completed - - - -
-
-
-
-
-
- avg restarts -
- per completed test -
-
-
-
-
-
time typing
-
-
-
+
avg accuracy
-