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

@@ -0,0 +1,31 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<div class="page">
{!! $videos->render() !!}
</div>
<form method="get">
<button type="submit" class="suchbutton"><i style="color:white;" class="fa fa-search"></i></button>
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'suchleiste', 'placeholder' => 'Search w0bm.com']) !!}
</form>
</div>
<div class="items">
@foreach($videos as $video)
<?php
$thumb = str_replace(".webm","",$video->file);
?>
<div class="main-item">
<a href="/{{$video->id}}">
{{-- MUSS UNBEDINGT NOCH ANGEPASST WERDEN!!! --}}
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else
{{$video->tesThumb()}}
<img src="/thumbs/beta/{{$thumb}}.png">
@endif
</a>
</div>
@endforeach
</div>
@endsection