diff --git a/gui/dashboard/app.css b/gui/dashboard/app.css new file mode 100644 index 0000000..6c76784 --- /dev/null +++ b/gui/dashboard/app.css @@ -0,0 +1,30 @@ +html, body { + --body-bg: #000; + --tile-bg: #181818; + --red: red; + --green: green; + --radius: 10px; + --cols: 4; + --rows: 3; + + background-color: var(--body-bg); + color: #fff; + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; +} + +.theme-light { + --body-bg: #fff; + --tile-bg: #dedede; +} + +button { + transition: linear 0.4s; + cursor: pointer; + background: none; + border: none; + appearance: none; + padding: 1rem; + color: inherit; +} diff --git a/gui/dashboard/app.svelte b/gui/dashboard/app.svelte index 2e53fd2..036901c 100644 --- a/gui/dashboard/app.svelte +++ b/gui/dashboard/app.svelte @@ -1,7 +1,9 @@ + +
@@ -72,21 +74,6 @@
diff --git a/gui/dashboard/settings.svelte b/gui/dashboard/settings.svelte new file mode 100644 index 0000000..9052447 --- /dev/null +++ b/gui/dashboard/settings.svelte @@ -0,0 +1,42 @@ + + +{#if !open} + +{/if} + + + hi + + + diff --git a/index.js b/index.js index 50b71b6..717c22d 100644 --- a/index.js +++ b/index.js @@ -558,9 +558,10 @@ module.exports = { Web service status dashboard - - + + + `); res.send(dashboardHtml);