njum layout feature completion
This commit is contained in:
@@ -5,8 +5,26 @@
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<div class="main-item">
|
||||
<a href="/{{$video->id}}">
|
||||
<div style="position: relative;" class="main-item hasTag-{{$video->id}}">
|
||||
@if(isset($q) && $video->hasAllTags($q))
|
||||
<a href="/t/{{$q}}/{{$video->id}}">
|
||||
<style>
|
||||
.hasTag-{{$video->id}}::after {
|
||||
content: "\f02b";
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 5px;
|
||||
color: #0bb568;
|
||||
text-shadow: 1px 1px 1px black;
|
||||
font-size: 1em;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
@else
|
||||
<a href="/{{$video->id}}">
|
||||
@endif
|
||||
@if(file_exists(public_path() . '/thumbs/beta/'.$thumb.'.png'))
|
||||
<img src="/thumbs/beta/{{$thumb}}.png">
|
||||
@else
|
||||
|
Reference in New Issue
Block a user