Files
weibo_signin/frontend/templates/edit_account.html

27 lines
1.3 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}编辑账号 - 微博超话签到{% endblock %}
{% block content %}
<div style="max-width: 560px; margin: 0 auto;">
<h1 style="font-size:24px; font-weight:700; color:#1e293b; margin-bottom:24px;">✏️ 编辑账号</h1>
<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="例如:我的主账号">
</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>
</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>
</div>
</form>
</div>
</div>
{% endblock %}