38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Initial Setup - RSS Reader</title>
|
|
<link rel="stylesheet" href="{{ asset_path(name='css/main.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="setup-container">
|
|
<h1>Welcome to RSS Reader</h1>
|
|
<p>Please create your initial admin user account.</p>
|
|
|
|
<form id="setupForm" class="setup-form">
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input type="text" id="username" name="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email">Email (optional)</label>
|
|
<input type="email" id="email" name="email">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="displayName">Display Name (optional)</label>
|
|
<input type="text" id="displayName" name="displayName">
|
|
</div>
|
|
<div class="error-message" id="setupError" style="display: none;"></div>
|
|
<button type="submit" class="btn-primary">Create Admin Account</button>
|
|
</form>
|
|
</div>
|
|
|
|
<script type="module" src="{{ asset_path(name='js/setup.js') }}"></script>
|
|
</body>
|
|
</html> |