f0ckv2/views/index.html

15 lines
824 B
HTML
Raw Normal View History

2021-12-26 22:11:16 +00:00
@include(snippets/header)
2021-12-04 11:19:47 +00:00
<div class="index-container">
2021-12-18 18:52:18 +00:00
@if(tmp.user)<h2>user: {!! tmp.user.toLowerCase() !!}@if(tmp.mime) ({{ tmp.mime }}s)@else (all)@endif</h2>@endif
@if(tmp.tag)<h2>tag: @if(session)<a href="/admin/test?tag={!! tmp.tag.toLowerCase() !!}" target="_blank">{!! tmp.tag.toLowerCase() !!}</a>@else{!! tmp.tag.toLowerCase() !!}@endif@if(tmp.mime) ({{ tmp.mime }}s)@else (all)@endif</h2>@endif
2021-12-04 11:19:47 +00:00
<div id="posts">
@each(items as item)
2022-01-05 19:21:50 +00:00
<a href="/{{ link }}@if(link.length != 0)/@endif{{ item.id }}" data-mime="{{ item.mime }}" data-mode="{{ item.tag_id ? ['','sfw','nsfw'][item.tag_id] : 'null' }}" style="background-image: url('/t/{{ item.id }}.webp')"><p></p></a>
2021-12-04 11:19:47 +00:00
@endeach
</div>
2021-12-18 18:52:18 +00:00
<div id="footbar">
&#9660;
</div>
2021-12-04 11:19:47 +00:00
</div>
2021-12-26 22:11:16 +00:00
@include(snippets/footer)