Files
weibo_signin/frontend/templates/edit_account.html

27 lines
1.3 KiB
HTML
Raw Normal View History

2026-03-09 16:10:29 +08:00
{% extends "base.html" %}
{% block title %}编辑账号 - 微博超话签到{% endblock %}
2026-03-09 16:10:29 +08:00
{% block content %}
<div style="max-width: 560px; margin: 0 auto;">
<h1 style="font-size:24px; font-weight:700; color:#1e293b; margin-bottom:24px;">✏️ 编辑账号</h1>
2026-03-09 16:10:29 +08:00
<div class="card">
<form method="POST">
<div class="form-group">
<label for="remark">备注</label>
<input type="text" id="remark" name="remark" value="{{ account.remark or '' }}" placeholder="例如:我的主账号">
2026-03-09 16:10:29 +08:00
</div>
<div class="form-group">
<label for="cookie">Cookie留空则保持不变</label>
<textarea id="cookie" name="cookie" placeholder="如需更新 Cookie请在此粘贴新的 Cookie" style="border-radius:14px;"></textarea>
<small style="color:#94a3b8; display:block; margin-top:8px; font-size:13px;">Cookie 将被加密存储</small>
2026-03-09 16:10:29 +08:00
</div>
<div class="btn-group">
<button type="submit" class="btn btn-primary" style="flex:1; text-align:center;">保存修改</button>
<a href="{{ url_for('account_detail', account_id=account.id) }}" class="btn btn-secondary" style="text-align:center;">取消</a>
2026-03-09 16:10:29 +08:00
</div>
</form>
</div>
</div>
{% endblock %}