From e153c5c2f7a67a68bb9b6707e35d37fa5e5ea99b Mon Sep 17 00:00:00 2001 From: KosFurler Date: Mon, 24 Jan 2022 18:20:42 +0300 Subject: [PATCH] Albums: Upgrade style of album list --- Web/Presenters/templates/@listView.xml | 2 +- Web/Presenters/templates/Photos/AlbumList.xml | 6 ++---- Web/static/css/style.css | 10 +++++----- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Web/Presenters/templates/@listView.xml b/Web/Presenters/templates/@listView.xml index 35c9a2f0..3fd8f26f 100644 --- a/Web/Presenters/templates/@listView.xml +++ b/Web/Presenters/templates/@listView.xml @@ -11,7 +11,7 @@ {if sizeof($data) > 0}
- +
diff --git a/Web/Presenters/templates/Photos/AlbumList.xml b/Web/Presenters/templates/Photos/AlbumList.xml index 0c964e47..4c7510b2 100644 --- a/Web/Presenters/templates/Photos/AlbumList.xml +++ b/Web/Presenters/templates/Photos/AlbumList.xml @@ -28,11 +28,9 @@ {var cover = $x->getCoverPhoto()} {var preview = is_null($cover) ? "/assets/packages/static/openvk/img/camera_200.png" : $cover->getURL()} -
- {$x->getName()} + {$x->getName()} -
{/block} {block name} @@ -42,6 +40,6 @@ {block description} {$x->getDescription() ?? $x->getName()}
{$x->getPhotosCount()} фотографий
+ Обновлен {$x->getEditTime() ?? $x->getCreationTime()} Создан {$x->getCreationTime()}
- Изменён {$x->getEditTime() ?? $x->getCreationTime()} {/block} diff --git a/Web/static/css/style.css b/Web/static/css/style.css index 34745ba1..ca45261b 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -1581,11 +1581,10 @@ body.scrolled .toTop:hover { } .postFeedWrapper { - margin: -10px; - width: 611px; - padding: 4px 8px; - background-color: rgb(240, 240, 240); - border-bottom: 1px solid #ccc; + padding: 4px 8px; + background-color: rgb(240, 240, 240); + border-bottom: 1px solid #ccc; + border-top: 1px solid #ccc; } .user-alert { @@ -1803,6 +1802,7 @@ body.scrolled .toTop:hover { font-weight: bold; padding-top: 3px; padding-bottom: 4px; + display: inline-block; } .note_header { background: #f7f7f7;