bccf6cfdce
Add Flask panel with login, add/delete nodes, and share link copy. Generate sing-box config from SQLite; add uninstall script and clean install flow. Panel served at https://DOMAIN:8444 via nginx. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
690 B
HTML
21 lines
690 B
HTML
{% extends "base.html" %}
|
|
{% block title %}登录 · jiedian{% endblock %}
|
|
{% block body %}
|
|
<div class="auth-wrap">
|
|
<div class="auth-card">
|
|
<h1>jiedian 管理面板</h1>
|
|
<p class="muted">登录后管理节点与分享链接</p>
|
|
{% if error %}
|
|
<div class="alert">{{ error }}</div>
|
|
{% endif %}
|
|
<form method="post" class="form">
|
|
<label>用户名</label>
|
|
<input type="text" name="username" autocomplete="username" required autofocus>
|
|
<label>密码</label>
|
|
<input type="password" name="password" autocomplete="current-password" required>
|
|
<button type="submit" class="btn primary">登录</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|