diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-07-08 12:57:41 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-07-08 13:04:09 -0400 |
commit | 0a8bf0cbb82f16bce7b05e74dc1b85ca16dc15a5 (patch) | |
tree | bef482341a9083c2a6ffdb131f38fedff2469bb8 /index.html |
initial commit
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/index.html b/index.html new file mode 100644 index 0000000..e067053 --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> + <head> + <title> + Dashboard + </title> + <link href="main.css" rel="stylesheet" /> + </head> + <body> + <div id="app"> + <div id="clock"></div> + </div> + </body> + <script> + const now = new Date(); + const clock = document.getElementById("clock"); + clock.textContent = now.toLocaleTimeString('en-US', {"timeStyle": "short"}); + </script> +</html> |