cursed hack, aber...
This commit is contained in:
@@ -15,9 +15,22 @@
|
|||||||
<?php
|
<?php
|
||||||
$thumb = str_replace(".webm","",$video->file);
|
$thumb = str_replace(".webm","",$video->file);
|
||||||
?>
|
?>
|
||||||
<div class="main-item">
|
<div style="position: relative;" class="main-item hasTag-{{$video->id}}">
|
||||||
@if(isset($q) && $video->hasAllTags($q))
|
@if(isset($q) && $video->hasAllTags($q))
|
||||||
<a href="/t/{{$q}}/{{$video->id}}">
|
<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: #1fb2b0;
|
||||||
|
font-size: 2em;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@else
|
@else
|
||||||
<a href="/{{$video->id}}">
|
<a href="/{{$video->id}}">
|
||||||
@endif
|
@endif
|
||||||
|
Reference in New Issue
Block a user