{% extends "base.html" %}
{% block title %}비밀번호 변경{% endblock %}
{% block content %}

<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" />


<div class="container" style="max-width:420px;margin-top:70px;">
  <div class="border rounded p-4 shadow-sm bg-white">
    <h4 class="fw-bold mb-3" style="letter-spacing:-0.2px;">비밀번호 변경 <span class="text-primary ms-2">[{{ username }} | {{ area }}]</span></h4>
    <form method="post" autocomplete="off">
      <div class="mb-4">
        <label for="password" class="form-label">새 비밀번호</label>
        <input type="password" name="password" id="password" class="form-control" maxlength="64" required autofocus>
      </div>
      <button type="submit" class="btn btn-primary w-100">변경</button>
      <a href="{{ url_for('nginx_users', area=area) }}" class="btn btn-link w-100 mt-2">목록으로</a>
    </form>
  </div>
</div>
{% endblock %}
