mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:35:12 +00:00
update scroll ui for pinned items and preview
This commit is contained in:
parent
d6ea538425
commit
11a33362fe
3 changed files with 9 additions and 5 deletions
|
@ -85,8 +85,9 @@
|
||||||
{{* $item.comment_order *}}
|
{{* $item.comment_order *}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center"><span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight({{$item.id}});"><i class="fa fa-chevron-down"> </i></span>
|
<div style="text-align: center">
|
||||||
</div>
|
<span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight({{$item.id}});"><i class="fa fa-chevron-down"> </i></span>
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.has_tags}}
|
{{if $item.has_tags}}
|
||||||
<div class="p-2 wall-item-tools clearfix">
|
<div class="p-2 wall-item-tools clearfix">
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="p-2 clearfix wall-item-head{{if !$title && !$event && !$photo}} rounded-top{{/if}}{{if $is_new && !$event}} wall-item-head-new{{/if}}">
|
<div class="p-2 clearfix wall-item-head{{if !$title && !$event && !$photo}} rounded-top{{/if}}{{if $is_new && !$event}} wall-item-head-new{{/if}}">
|
||||||
<span class="float-end wall-item-pinned" title="{{$pinned}}"><i class="fa fa-thumb-tack"> </i></span>
|
<span class="float-end wall-item-pinned" title="{{$pinned}}"><i class="fa fa-thumb-tack"> </i></span>
|
||||||
<span class="float-end" id="wall-item-scroll-{{$item.id}}"><i class="fa fa-chevron-down"> </i></span>
|
|
||||||
<div class="wall-item-info" id="pinned-item-info-{{$id}}" >
|
<div class="wall-item-info" id="pinned-item-info-{{$id}}" >
|
||||||
<div class="wall-item-photo-wrapper{{if $owner_url}} wwfrom{{/if}} h-card p-author" id="pinned-item-photo-wrapper-{{$id}}">
|
<div class="wall-item-photo-wrapper{{if $owner_url}} wwfrom{{/if}} h-card p-author" id="pinned-item-photo-wrapper-{{$id}}">
|
||||||
<img src="{{$thumb}}" class="fakelink wall-item-photo u-photo p-name" id="pinned-item-photo-{{$id}}" alt="{{$name}}" data-bs-toggle="dropdown" />
|
<img src="{{$thumb}}" class="fakelink wall-item-photo u-photo p-name" id="pinned-item-photo-{{$id}}" alt="{{$name}}" data-bs-toggle="dropdown" />
|
||||||
|
@ -65,6 +64,9 @@
|
||||||
{{$body}}
|
{{$body}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="text-align: center">
|
||||||
|
<span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight('{{$item.id}}');"><i class="fa fa-chevron-down"> </i></span>
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $has_tags}}
|
{{if $has_tags}}
|
||||||
<div class="p-2 wall-item-tools clearfix">
|
<div class="p-2 wall-item-tools clearfix">
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
{{if $item.pinned}}
|
{{if $item.pinned}}
|
||||||
<span class="float-end wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack"> </i></span>
|
<span class="float-end wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack"> </i></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<span class="float-end" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight({{$item.id}});"><i class="fa fa-chevron-down"> </i></span>
|
|
||||||
|
|
||||||
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
|
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
|
||||||
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}">
|
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}">
|
||||||
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-bs-toggle="dropdown" />
|
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-bs-toggle="dropdown" />
|
||||||
|
@ -68,6 +66,9 @@
|
||||||
{{$item.body}}
|
{{$item.body}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="text-align: center">
|
||||||
|
<span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight('{{$item.id}}');"><i class="fa fa-chevron-down"> </i></span>
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.has_tags}}
|
{{if $item.has_tags}}
|
||||||
<div class="p-2 wall-item-tools clearfix">
|
<div class="p-2 wall-item-tools clearfix">
|
||||||
|
|
Loading…
Reference in a new issue