diff --git a/mem/templates/home.html b/mem/templates/home.html index 95ceeba..bd0cbb3 100644 --- a/mem/templates/home.html +++ b/mem/templates/home.html @@ -2,7 +2,7 @@ - + Dashboard @@ -16,9 +16,9 @@ -
+
- 5s +
5s
@@ -55,7 +55,7 @@ const ratio = Math.min(elapsed / duration, 1); progressBar.style.width = 100 * (1 - ratio) + "%"; - progressBar.textContent = (interval * (1 - ratio) / 1000).toFixed(1) + "s"; + progressBar.innerHTML = "
" + (interval * (1 - ratio) / 1000).toFixed(1) + "s
"; if (ratio < 1) { requestAnimationFrame(frame); @@ -75,10 +75,10 @@ // Build all service divs as a single string main_body.innerHTML = services.map(s => ` - +
-

${s.label}

+

${s.label}