18 lines
875 B
HTML
18 lines
875 B
HTML
{% extends "base.html" %}
|
|
{% block body %}
|
|
<div class="card">
|
|
<h1>首次设置管理员</h1>
|
|
<p>请向运行系统的电脑管理员获取初始化口令,完成首次设置。</p>
|
|
<form method="post">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<div class="form-grid">
|
|
<div><label>初始化口令</label><input type="password" name="setup_token" required autocomplete="off"></div>
|
|
<div><label>管理员登录名</label><input name="username" required maxlength="50"></div>
|
|
<div><label>姓名</label><input name="name" required maxlength="50"></div>
|
|
<div><label>密码(10 至 128 字符)</label><input type="password" name="password" required minlength="10" maxlength="128" autocomplete="new-password"></div>
|
|
</div>
|
|
<button class="btn primary">创建管理员</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|