Skip to content
0.2.0-dev Download ZIP
41 lines ·971 B Raw
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <title>You are offline</title>
8 <style>
9html {
10 background-color: #000000;
11 color: #ffffff;
12}
13
14body {
15 font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
16 margin: 2rem;
17}
18
19p {
20 margin-block: 1rem;
21}
22
23button {
24 display: block;
25 padding: 1rem 2rem;
26 margin: 3rem auto 0;
27}
28 </style>
29 </head>
30 <body>
31 <h1>You are offline</h1>
32 <p>This application requires an Internet connection to run for the first time.</p>
33 <p>Press the button below to try reloading:</p>
34 <button type="button">Reload</button>
35 <script>
36document.querySelector('button').addEventListener('click', () => {
37 window.location.reload();
38});
39 </script>
40 </body>
41</html>