90736253b1
Flask-based web UI for managing ISC DHCP server (dhcpd). Features: - subnet / static host binding CRUD via web - listen interface configuration (INTERFACESv4) - active lease query + pool utilization stats - service status, reload/restart, syntax check - user auth + operation logs - automatic backup before each config change - safe change pipeline: write file → dhcpd -t → systemctl restart + is-active verify - error messages include journalctl tail for diagnosis
16 lines
713 B
HTML
16 lines
713 B
HTML
{% extends "base.html" %}
|
|
{% block title %}个人资料{% endblock %}
|
|
{% block content %}
|
|
<div class="page-head">
|
|
<h1>修改密码</h1>
|
|
</div>
|
|
<form method="post" class="card form" style="max-width:420px">
|
|
<label>用户名 <input type="text" value="{{ user.username }}" disabled></label>
|
|
<label>当前密码 <input type="password" name="old_password" required></label>
|
|
<label>新密码 <input type="password" name="new_password" required minlength="6"></label>
|
|
<label>再次输入新密码 <input type="password" name="confirm" required minlength="6></label>
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary">修改</button>
|
|
</div>
|
|
</form>
|
|
{% endblock %} |