Initial commit: iOS OTA app store
This commit is contained in:
29
views/login.html
Normal file
29
views/login.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>App Store - Login</title>
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
</head>
|
||||
<body class="login-page">
|
||||
<div class="login-card">
|
||||
<div class="login-icon">📱</div>
|
||||
<h1>App Store</h1>
|
||||
<p class="subtitle">OTA Distribution</p>
|
||||
<form method="POST" action="/login">
|
||||
<input type="password" name="password" placeholder="Password" autofocus required>
|
||||
<button type="submit">Sign In</button>
|
||||
</form>
|
||||
<script>
|
||||
if (location.search.includes('error=1')) {
|
||||
const form = document.querySelector('form');
|
||||
const err = document.createElement('p');
|
||||
err.className = 'error';
|
||||
err.textContent = 'Invalid password';
|
||||
form.insertBefore(err, form.firstChild);
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user