Add folders with password sharing and email invites
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<h1 class="page-header__title">Личный кабинет</h1>
|
||||
<p class="page-header__subtitle">Привет, {{ current_user.username }}! Управляйте своими фотографиями.</p>
|
||||
<div class="page-header__actions">
|
||||
<a href="{{ url_for('folders.list_folders') }}" class="btn btn--primary">Мои папки</a>
|
||||
<a href="{{ url_for('cabinet.profile') }}" class="btn btn--ghost">Настройки профиля</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -57,6 +58,27 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% if folders %}
|
||||
<section class="gallery-section">
|
||||
<div class="container">
|
||||
<div class="gallery-header">
|
||||
<h2 class="section-title">Недавние папки</h2>
|
||||
<a href="{{ url_for('folders.list_folders') }}" class="btn btn--ghost btn--sm">Все папки</a>
|
||||
</div>
|
||||
<div class="folder-grid">
|
||||
{% for folder in folders %}
|
||||
<article class="folder-card">
|
||||
<div class="folder-card__icon">📁</div>
|
||||
<h3 class="folder-card__title">{{ folder.name }}</h3>
|
||||
<p class="folder-card__meta">{{ folder.photo_count }} фото</p>
|
||||
<a href="{{ url_for('folders.view_folder', folder_id=folder.id) }}" class="btn btn--ghost btn--sm">Открыть</a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="gallery-section">
|
||||
<div class="container">
|
||||
<div class="gallery-header">
|
||||
|
||||
Reference in New Issue
Block a user