diff --git a/public/404.html b/public/404.html index 58bf1b1..a7a7f27 100644 --- a/public/404.html +++ b/public/404.html @@ -28,9 +28,9 @@

The server could not route your request.

-

- -
diff --git a/public/error.js b/public/error.js index 412fde6..626ab57 100644 --- a/public/error.js +++ b/public/error.js @@ -1,7 +1,7 @@ "use strict"; -const error = document.getElementById("error"); -const errorCode = document.getElementById("error-code"); -const registerButton = document.getElementById("register-sw"); +const error = document.getElementById("uv-error"); +const errorCode = document.getElementById("uv-error-code"); +const registerButton = document.getElementById("uv-register-sw"); if (location.pathname.startsWith(__uv$config.prefix)) { error.textContent = "Error: The service worker is not registered."; diff --git a/public/index.css b/public/index.css index b373680..48a1b07 100644 --- a/public/index.css +++ b/public/index.css @@ -43,18 +43,18 @@ body { margin: 0px 16px; } -#error { +#uv-error { color: #ff6666 !important; white-space: pre-wrap; } -#error-code { +#uv-error-code { font-size: 12px; color: #fff; font-family: "Courier New", Courier, monospace; } -#register-sw { +#uv-register-sw { color: white; background: #555555; cursor: pointer; @@ -66,11 +66,11 @@ body { display: none; } -#register-sw:active { +#uv-register-sw:active { background: #333333; } -#register-sw.show { +#uv-register-sw.show { display: block; } diff --git a/public/index.html b/public/index.html index d127d9a..740ec9f 100644 --- a/public/index.html +++ b/public/index.html @@ -81,10 +81,15 @@
- + +
-

- +

+