This commit is contained in:
noxy
2019-09-08 05:28:04 +00:00
parent 6ca6ed4080
commit 4682e65af9
7 changed files with 86 additions and 11 deletions

View File

@@ -3789,3 +3789,9 @@ button#layout4:before {
position: relative;
font-size: 8px;
}
.items {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
grid-gap: 1em;
}

View File

@@ -1038,3 +1038,9 @@ a.badge.video-id {
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr;
}
.items {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
grid-gap: 1em;
}

View File

@@ -74,3 +74,9 @@ p.comment {
.col-sm.p-0.sidebar {
padding: 15px !important;
}
.items {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
grid-gap: 1em;
}

View File

@@ -58,14 +58,14 @@ font-size:10px;
padding-left: 5px;
}
button#layout1, button#layout2 {
button#layout1, button#layout2, button#layout4, button#layout5 {
padding: 0;
background: transparent;
border: 0;
color: white;
}
button#layout1:hover, button#layout2:hover {
button#layout1:hover, button#layout2:hover, button#layout4:hover, button#layout5:hover {
color:#999999;
}
@@ -288,3 +288,9 @@ div#categories {
grid-template-columns: 1fr 1fr;
align-self: center;
}
.items {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
grid-gap: 1em;
}

View File

@@ -14,13 +14,12 @@
?>
<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
<img src="/small_404.gif" class="nothumb" />
{{$video->tesThumb()}}
<img src="/thumbs/beta/{{$thumb}}.png">
@endif
</a>
</div>

View File

@@ -0,0 +1,26 @@
@extends('profilelayout')
@section('novidcontent')
<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

View File

@@ -0,0 +1,26 @@
@extends('profilelayout')
@section('novidcontent')
<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