Archived
22 lines
1.4 KiB
HTML
22 lines
1.4 KiB
HTML
{% extends "auth_base.html" %}
|
|
{% block auth_content %}
|
|
<section class="auth-card">
|
|
<div class="auth-card-head">
|
|
<img class="brand-mark auth-mark brand-logo" src="{{ branding.logo or (base_path ~ '/static/img/wgtools-logo.png?v=' ~ version ~ '&r=' ~ asset_rev) }}" alt="">
|
|
<div>
|
|
<h1>{{ tr('auth.setup_title') }}</h1>
|
|
<p>{{ tr('auth.setup_subtitle') }}</p>
|
|
</div>
|
|
</div>
|
|
<form id="setup-user-form" class="auth-form">
|
|
<label><span>{{ tr('auth.username') }}</span><input id="auth-username" name="username" autocomplete="username" maxlength="64" required autofocus></label>
|
|
<label><span>{{ tr('auth.email') }}</span><input id="auth-email" name="email" type="email" autocomplete="email" maxlength="254"><small>{{ tr('auth.email_optional_help') }}</small></label>
|
|
<label><span>{{ tr('auth.password') }}</span><input id="auth-password" name="password" type="password" autocomplete="new-password" minlength="8" maxlength="256" required></label>
|
|
<label><span>{{ tr('auth.password_repeat') }}</span><input id="auth-password-repeat" type="password" autocomplete="new-password" minlength="8" maxlength="256" required></label>
|
|
<p class="auth-hint">{{ tr('auth.setup_help') }}</p>
|
|
<div id="auth-error" class="operation-status error" hidden></div>
|
|
<button type="submit" class="btn primary auth-submit">{{ tr('auth.create_user') }}</button>
|
|
</form>
|
|
</section>
|
|
{% endblock %}
|