{% extends "base.html" %} {% block title %}帳號管理{% endblock %} {% block content %}

帳號管理

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
新增帳號
至少 6 碼。
現有帳號
{% if users %}
{% for user in users %} {% endfor %}
ID 帳號 姓名 角色 上次登入 重設密碼 操作
{{ user.id }} {{ user.username }} {% if user.id == current_user.id %} 目前使用者 {% endif %} {% if user.last_login %} {{ user.last_login|taiwan_time('%Y-%m-%d %H:%M') }} {% else %} 從未登入 {% endif %}
{% if user.id != current_user.id %}
{% else %} {% endif %}
{% else %}
目前尚無帳號紀錄。
{% endif %}
角色說明
檢視 (Viewer)
  • 登入系統
  • 檢視暫規清單
  • 下載已核准的 PDF 檔案
  • 查看歷史紀錄
編輯 (Editor)
  • 包含 Viewer 權限
  • 建立暫規申請
  • 編輯暫規內容
  • 展延與終止暫規
  • 下載 Word 編輯檔
管理 (Admin)
  • 包含 Editor 權限
  • 核准待審暫規
  • 管理帳號與角色
  • 刪除暫規
  • 系統設定維護
{% endblock %}