some changes to the login page for non authed users. And also added a new layout with the id 6 only for marderchen to fix his async issues with older browsers

This commit is contained in:
noxy
2019-11-11 22:21:24 +00:00
parent f78dbfd5c3
commit 35c60a47e9
79 changed files with 3771 additions and 15 deletions

View File

@@ -155,26 +155,18 @@
</div>
<div class="media not-logged-in">
<div class="media-left">
<div class="rating">
@if(count($video->tags))
@foreach($video->tags as $tag)
@if($tag == 'sfw')
<sfw></sfw>
@elseif($tag == 'nsfw')
<nsfw></nsfw>
@endif
@endforeach
@endif
<img class="media-object" src="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif">
</div>
</div>
<div class="media-body">
<h4 class="media-heading">@if($video->videotitle){{$video->videotitle}}@else<p><i>No Title</i></p></h4>
...@endif
<div id="tag-display" style="width: auto;" class="tag-panel-body">
<h4 class="media-heading">
@if($video->videotitle){{$video->videotitle}}
@else
<p><i>No Title</i></p></h4>
@endif</h4>
<div id="tag-display" style="width: auto; height: auto;" class="tag-panel-body">
@if(count($video->tags))
@foreach($video->tags as $tag)
<span class="label label-default"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
<span class="label label-default"><a class="default-link">{{$tag->name}}</a></span>
@endforeach
@else
No tags yet ...