mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Compare commits
1 commit
d0d9381cf7
...
00e2aff731
Author | SHA1 | Date | |
---|---|---|---|
|
00e2aff731 |
4 changed files with 10 additions and 11 deletions
|
@ -124,6 +124,6 @@ final class SearchPresenter extends OpenVKPresenter
|
||||||
'pageCount' => ceil($count / $this->template->perPage),
|
'pageCount' => ceil($count / $this->template->perPage),
|
||||||
];
|
];
|
||||||
$this->template->extendedPaginatorConf = clone $this->template->paginatorConf;
|
$this->template->extendedPaginatorConf = clone $this->template->paginatorConf;
|
||||||
$this->template->extendedPaginatorConf->space = 11;
|
$this->template->extendedPaginatorConf->space = 12;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,13 +32,13 @@
|
||||||
<div n:class='page_wrap_content_main, $section == "audios" && $count > 0 ? audios_padding'>
|
<div n:class='page_wrap_content_main, $section == "audios" && $count > 0 ? audios_padding'>
|
||||||
{if $count > 0}
|
{if $count > 0}
|
||||||
{if $section === 'users'}
|
{if $section === 'users'}
|
||||||
<div class='search_content content def_row_content' n:foreach="$data as $dat">
|
<div class='search_content def_row_content' n:foreach="$data as $dat">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<a href="{$dat->getURL()}">
|
<a href="{$dat->getURL()}">
|
||||||
<img src="{$dat->getAvatarUrl('tiny')}" width="75" alt="{_photo}" loading='lazy' />
|
<img src="{$dat->getAvatarUrl('miniscule')}" width="75" alt="{_photo}" loading='lazy' />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" style="width: 100%">
|
<td valign="top" style="width: 100%">
|
||||||
|
@ -128,13 +128,13 @@
|
||||||
highlightText({$query}, '.page_wrap_content_main', ['text'])
|
highlightText({$query}, '.page_wrap_content_main', ['text'])
|
||||||
</script>
|
</script>
|
||||||
{elseif $section === 'groups'}
|
{elseif $section === 'groups'}
|
||||||
<div class='search_content content def_row_content' n:foreach="$data as $dat">
|
<div class='search_content def_row_content' n:foreach="$data as $dat">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<a href="{$dat->getURL()}">
|
<a href="{$dat->getURL()}">
|
||||||
<img src="{$dat->getAvatarUrl('tiny')}" width="75" alt="{_photo}" loading='lazy' />
|
<img src="{$dat->getAvatarUrl('miniscule')}" width="75" alt="{_photo}" loading='lazy' />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" style="width: 100%">
|
<td valign="top" style="width: 100%">
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
highlightText({$query}, '.page_wrap_content_main', ['text', "td[data-highlight='_clubDesc']"])
|
highlightText({$query}, '.page_wrap_content_main', ['text', "td[data-highlight='_clubDesc']"])
|
||||||
</script>
|
</script>
|
||||||
{elseif $section === 'apps'}
|
{elseif $section === 'apps'}
|
||||||
<div class='search_content content def_row_content' n:foreach="$data as $dat">
|
<div class='search_content def_row_content' n:foreach="$data as $dat">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<a href="/video{$video->getPrettyId()}" data-id="{$video->getId()}">
|
<div class="video-preview">
|
||||||
<div class="video-preview">
|
<a href="/video{$video->getPrettyId()}" {$videoModal ? "id='videoOpen'" : ''} data-id="{$video->getId()}">
|
||||||
<img src="{$video->getThumbnailURL()}"
|
<img src="{$video->getThumbnailURL()}"
|
||||||
style="max-width: 170px; max-height: 127px; margin: auto;" >
|
style="max-width: 170px; max-height: 127px; margin: auto;" >
|
||||||
</div>
|
</a>
|
||||||
</a>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" style="width: 100%">
|
<td valign="top" style="width: 100%">
|
||||||
{ifset infotable}
|
{ifset infotable}
|
||||||
|
|
|
@ -549,7 +549,6 @@
|
||||||
|
|
||||||
.playlistListView .playlistInfo .playlistName {
|
.playlistListView .playlistInfo .playlistName {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.playlistListView .playlistInfo .playlistMeta, .playlistListView .playlistInfo .playlistMeta span {
|
.playlistListView .playlistInfo .playlistMeta, .playlistListView .playlistInfo .playlistMeta span {
|
||||||
|
|
Loading…
Reference in a new issue