refactor(ui): merge showcase settings into settings page tab, fix profile showcase GET route, fix layout

This commit is contained in:
2026-07-05 23:56:28 +08:00
parent 148cfdf2a4
commit c550289527
4 changed files with 151 additions and 21 deletions

View File

@@ -51,8 +51,7 @@
<div class="profile-card-footer">
<span class="profile-card-date">创建于 {{ p.created_at.strftime('%Y-%m-%d') }}</span>
<div class="profile-card-actions">
<a href="/profiles/{{ p.id }}/postcards" class="btn btn-primary btn-sm">查看明信片</a>
<a href="/profiles/{{ p.id }}/showcase" class="btn btn-sm">展示管理</a>
<a href="/profiles/{{ p.id }}/postcards" class="btn btn-primary btn-sm">查看</a>
<form method="post" action="/profiles/{{ p.id }}/delete" class="inline">
<button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('确定删除「{{ p.nickname }}」及其所有明信片?')">删除</button>
</form>