feat: functional frontend for uploading api

This commit is contained in:
kossLAN 2025-03-01 21:39:56 -05:00
parent 7f8d940ef5
commit c423174110
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
6 changed files with 580 additions and 38 deletions

22
pages/login.html Normal file
View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{title}} - Login</title>
<link rel="stylesheet" href="/static/common.css">
</head>
<body>
<div class="container">
<h1>{{title}} login</h1>
<form action="/login" method="post">
<div class="form-group">
<label for="key">Enter Access Key:</label>
<input type="password" id="key" name="key" required autofocus>
</div>
<button type="submit">Login</button>
<div id="error" class="error"></div>
</form>
</div>
</body>
</html>