mirror of https://github.com/dirtbags/moth.git
Actually implement login, LOL
This commit is contained in:
parent
6ff379e0f4
commit
0abb44c48c
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"))
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue