mirror of
https://github.com/openvk/openvk
synced 2025-01-09 17:29:42 +03:00
Albums:
Upgrade style of album list
This commit is contained in:
parent
9a42484401
commit
e153c5c2f7
3 changed files with 8 additions and 10 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
{if sizeof($data) > 0}
|
{if sizeof($data) > 0}
|
||||||
<div class="content" n:foreach="$data as $dat">
|
<div class="content" n:foreach="$data as $dat">
|
||||||
<table>
|
<table cellspacing="0" cellpadding="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
|
@ -28,11 +28,9 @@
|
||||||
{var cover = $x->getCoverPhoto()}
|
{var cover = $x->getCoverPhoto()}
|
||||||
{var preview = is_null($cover) ? "/assets/packages/static/openvk/img/camera_200.png" : $cover->getURL()}
|
{var preview = is_null($cover) ? "/assets/packages/static/openvk/img/camera_200.png" : $cover->getURL()}
|
||||||
|
|
||||||
<center style="height: 54pt; width: 140px;">
|
|
||||||
<a href="/album{$x->getPrettyId()}">
|
<a href="/album{$x->getPrettyId()}">
|
||||||
<img src="{$preview}" alt="{$x->getName()}" style="max-height: 100%; max-width: 100%;" />
|
<img src="{$preview}" alt="{$x->getName()}" style="height: 130px;width: 170px;object-fit: cover;margin-right: 15px;" />
|
||||||
</a>
|
</a>
|
||||||
</center>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name}
|
{block name}
|
||||||
|
@ -42,6 +40,6 @@
|
||||||
{block description}
|
{block description}
|
||||||
<span>{$x->getDescription() ?? $x->getName()}</span><br/>
|
<span>{$x->getDescription() ?? $x->getName()}</span><br/>
|
||||||
<span style="color: grey;">{$x->getPhotosCount()} фотографий</span><br/>
|
<span style="color: grey;">{$x->getPhotosCount()} фотографий</span><br/>
|
||||||
|
<span style="color: grey;">Обновлен {$x->getEditTime() ?? $x->getCreationTime()}</span>
|
||||||
<span style="color: grey;">Создан {$x->getCreationTime()}</span><br/>
|
<span style="color: grey;">Создан {$x->getCreationTime()}</span><br/>
|
||||||
<span style="color: grey;">Изменён {$x->getEditTime() ?? $x->getCreationTime()}</span>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
|
@ -1581,11 +1581,10 @@ body.scrolled .toTop:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.postFeedWrapper {
|
.postFeedWrapper {
|
||||||
margin: -10px;
|
|
||||||
width: 611px;
|
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
background-color: rgb(240, 240, 240);
|
background-color: rgb(240, 240, 240);
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-alert {
|
.user-alert {
|
||||||
|
@ -1803,6 +1802,7 @@ body.scrolled .toTop:hover {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.note_header {
|
.note_header {
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
|
|
Loading…
Reference in a new issue