Actually implement login, LOL

This commit is contained in:
Neale Pickett 2023-09-28 18:16:18 -06:00
parent 6ff379e0f4
commit 0abb44c48c
3 changed files with 9 additions and 2 deletions

View File

@ -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;

View File

@ -10,7 +10,7 @@
<script src="background.mjs" type="module" async></script>
</head>
<body>
<h1 class="title">MOTH</h1>
<h1 class="title" title="Monarch Of The Hill">MOTH</h1>
<main>
<div class="messages notification">
</div>

View File

@ -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"))
}
/**