feat: Redesign UI to a classic text-based aesthetic by removing modern styling from templates and adding a design skill.
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Setup Dungeon{% endblock %}
|
||||
{% block title %}Setup{% endblock %}
|
||||
{% block content %}
|
||||
<div class="card">
|
||||
<h2>Initial Setup</h2>
|
||||
<p style="color: var(--text-muted); margin-bottom: 1.5rem;">Create the initial admin user to access the dungeon.</p>
|
||||
{% if let Some(err) = error %}
|
||||
<div class="error">{{ err }}</div>
|
||||
{% endif %}
|
||||
<form method="POST" action="/__dungeon/setup">
|
||||
<label>Username</label>
|
||||
<input type="text" name="username" required autocomplete="off">
|
||||
<label>Password</label>
|
||||
<input type="password" name="password" required>
|
||||
<button type="submit">Create Admin</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<h2>Initial Setup</h2>
|
||||
<p>Create the initial admin user to access the system.</p>
|
||||
|
||||
{% if let Some(err) = error %}
|
||||
<p>
|
||||
<font color="red"><b>{{ err }}</b></font>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<form method="POST" action="/__dungeon/setup">
|
||||
<b>Username:</b> <input type="text" name="username" required autocomplete="off" size="20"><br>
|
||||
<b>Password:</b> <input type="password" name="password" required size="20"><br><br>
|
||||
<input type="submit" value="Create Admin">
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user