main view implemented and some smaller fixe for some of the layouts

This commit is contained in:
noxy
2019-09-08 05:13:28 +00:00
parent 45bab2567a
commit 6ca6ed4080
11 changed files with 89 additions and 23 deletions

View File

@@ -1,21 +1,26 @@
@extends('profilelayout')
@section('novidcontent')
<div class="pagination">
<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>
<div class="gallery">
@foreach($videos as $video)
<?php
$thumb = str_replace(".webm","",$video->file);
?>
<div class="gallery_item"">
<a href="/{{$video->id}}"><img src="/thumbs/beta/{{$thumb}}.png" class="gallery__img" alt="Image 1"></a>
</div>
@endforeach
</div>
@endsection
@endsection

View File

@@ -6,7 +6,7 @@
<meta name="_token" content="{{csrf_token()}}">
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
<link rel="icon" href="/favicon.png">
<title>www</title>
<title>w0bm.com</title>
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-dark.css">
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-tagsinput.css">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">