main view implemented and some smaller fixe for some of the layouts
This commit is contained in:
33
resources/views/layout1/main.blade.php
Normal file
33
resources/views/layout1/main.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<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}}">
|
||||
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
|
||||
|
||||
<img src="/thumbs/beta/{{$thumb}}.png">
|
||||
|
||||
@else
|
||||
<img src="/small_404.gif" class="nothumb" />
|
||||
{{$video->tesThumb()}}
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="page">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
@endsection
|
@@ -7,7 +7,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/">
|
||||
<a class="navbar-brand" href="/main">
|
||||
<img src="{{ asset('logo.svg') }}" alt="w0bm.com">
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -2,6 +2,12 @@
|
||||
@section('content')
|
||||
|
||||
@if(auth()->check())
|
||||
|
||||
@if(file_exists(public_path() . 'thumbs/beta/{{$video->file}}' . '.png'))
|
||||
@else
|
||||
{{$video->tesThumb()}}
|
||||
@endif
|
||||
|
||||
<?php $related = $related ?? null; ?>
|
||||
<div class="vertical-align">
|
||||
<div class="wrapper">
|
||||
@@ -78,7 +84,7 @@
|
||||
data-placement="top"
|
||||
data-trigger="hover"
|
||||
data-html="true"
|
||||
title="Download Video"
|
||||
title="Download"
|
||||
data-content="
|
||||
<div class='downloadvid'>
|
||||
<ul class='downloadlist'>
|
||||
|
Reference in New Issue
Block a user