扫码登录,获取cookies
This commit is contained in:
31
frontend/templates/edit_account.html
Normal file
31
frontend/templates/edit_account.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Edit Account - Weibo-HotSign{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div style="max-width: 600px; margin: 0 auto;">
|
||||
<h1 style="margin-bottom: 30px;">Edit Account</h1>
|
||||
|
||||
<div class="card">
|
||||
<form method="POST">
|
||||
<div class="form-group">
|
||||
<label for="remark">Remark</label>
|
||||
<input type="text" id="remark" name="remark" value="{{ account.remark or '' }}" placeholder="e.g., My main account">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="cookie">Cookie (Leave empty to keep current)</label>
|
||||
<textarea id="cookie" name="cookie" placeholder="Paste new cookie here if you want to update"></textarea>
|
||||
<small style="color: #999; display: block; margin-top: 8px;">
|
||||
Your cookie will be encrypted and stored securely.
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button type="submit" class="btn btn-primary">Save Changes</button>
|
||||
<a href="{{ url_for('account_detail', account_id=account.id) }}" class="btn btn-secondary">Cancel</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user