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:
31
resources/views/layout6/main.blade.php
Normal file
31
resources/views/layout6/main.blade.php
Normal 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
|
Reference in New Issue
Block a user