From 0abb44c48c9ad5848306f6edd278191826dd1309 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 28 Sep 2023 18:16:18 -0600 Subject: [PATCH] Actually implement login, LOL --- theme/basic.css | 6 ++++++ theme/index.html | 2 +- theme/index.mjs | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/theme/basic.css b/theme/basic.css index 667e99d..808af78 100644 --- a/theme/basic.css +++ b/theme/basic.css @@ -52,6 +52,12 @@ input { background-color: #ccc4; color: inherit; } +input:hover { + background-color: #8884; +} +input:active { + background-color: inherit; +} .notification, .error { padding: 0 1em; border-radius: 8px; diff --git a/theme/index.html b/theme/index.html index ee6853b..cf325e3 100644 --- a/theme/index.html +++ b/theme/index.html @@ -10,7 +10,7 @@ -

MOTH

+

MOTH

diff --git a/theme/index.mjs b/theme/index.mjs index d30c013..4b91d5e 100644 --- a/theme/index.mjs +++ b/theme/index.mjs @@ -26,7 +26,8 @@ class App { handleLoginSubmit(event) { event.preventDefault() - console.log(event) + let f = new FormData(event.target) + this.Login(f.get("id"), f.get("name")) } /**