small changes to the layouts and their css files, nothing really impacting

This commit is contained in:
noxy
2019-09-02 11:56:50 +00:00
parent 5fada7ae29
commit 8dd96f7d11
10 changed files with 23 additions and 29 deletions

View File

@@ -55,6 +55,11 @@ class UserController extends Controller
return redirect()->back()->with('error', 'Missing credentials'); return redirect()->back()->with('error', 'Missing credentials');
} }
public function nojs()
{
return view('nojs');
}
public function logout() public function logout()
{ {
if(!auth()->check()) return redirect()->back()->with('warning', 'You are not logged in'); if(!auth()->check()) return redirect()->back()->with('warning', 'You are not logged in');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 KiB

After

Width:  |  Height:  |  Size: 675 KiB

View File

@@ -20,7 +20,7 @@ Route::get('/', ['as' => 'home', function () {
}])->middleware('auth'); }])->middleware('auth');
Route::post('nojs', 'UserController@nojs'); Route::get('nojs', function() { return view('nojs'); });
Route::post('filter', 'UserController@filter'); Route::post('filter', 'UserController@filter');
@@ -108,9 +108,6 @@ Route::group(["middleware" => "theme"], function() {
Route::get('rules', function() { return view('rules'); }); Route::get('rules', function() { return view('rules'); });
Route::get('contact', function() { return view('contact'); }); Route::get('contact', function() { return view('contact'); });
Route::get('privacy', function() { return view('privacy'); }); Route::get('privacy', function() { return view('privacy'); });
Route::get('teamspeak', function() { return view('teamspeak'); });
Route::get('news', function() { return view('news'); });
Route::get('0x40', function() { return view('0x40'); });
Route::get('stats', function() { Route::get('stats', function() {
return view('stats', [ return view('stats', [
'user_count' => \App\Models\User::count(), 'user_count' => \App\Models\User::count(),
@@ -137,7 +134,6 @@ Route::group(["middleware" => "theme"], function() {
# 'donations' => \App\Models\Donation::orderBy('timestamp', 'DESC')->get() # 'donations' => \App\Models\Donation::orderBy('timestamp', 'DESC')->get()
# ]); # ]);
#}); #});
Route::get('transparency', function() { return view('transparency'); });
Route::get('login', function() { return view('login'); }); Route::get('login', function() { return view('login'); });
#Route::get('counter-strike', function() { return view('counter-strike'); }); #Route::get('counter-strike', function() { return view('counter-strike'); });

View File

@@ -638,7 +638,7 @@ select.form-control, input.form-control {
border-left: 2px solid black; border-left: 2px solid black;
border-bottom: 2px solid black; border-bottom: 2px solid black;
border-right: 2px solid black; border-right: 2px solid black;
background: linear-gradient(to top, #0a0a0abf 0%, #163f428a 100%); background: #0a0a0abf;
border-bottom-left-radius: 15px; border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px; border-bottom-right-radius: 15px;
border-top: 2px solid black; border-top: 2px solid black;

View File

@@ -3707,12 +3707,11 @@ button#layout1 {
button#layout2 { button#layout2 {
width: 100%; width: 100%;
padding-bottom: 5px; border: 1px solid #000000;
background: #000000;
padding: 5px;
border: 1px solid #b1a9a9;
margin-bottom: 5px; margin-bottom: 5px;
color: #ffffff; color: #fff;
background: linear-gradient(to top,#0dd97de0 0%,#000000d9 100%);
text-shadow: 1px 1px 1px black;
} }
button#layout3 { button#layout3 {
@@ -3751,3 +3750,7 @@ button#layout4 {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
div#parent {
overflow-x: overlay;
}

View File

@@ -999,3 +999,8 @@ li.safe-for-rating {
div#collapseComments { div#collapseComments {
margin-bottom: 10px; margin-bottom: 10px;
} }
div#categories {
display: grid;
grid-template-columns: 1fr 1fr;
}

View File

@@ -40,22 +40,6 @@
<p>Always take care and when you are not sure if you can browse w0bm at work, don't do it, we don't guarantee that everything is properly tagged and you will encounter something that can get you in trouble.</p> <p>Always take care and when you are not sure if you can browse w0bm at work, don't do it, we don't guarantee that everything is properly tagged and you will encounter something that can get you in trouble.</p>
</div> </div>
<div class="box">
<h4 class="mods">Need one of our professionals?</h4>
<p>Our Mods work 24/7/365 for free and are basically just here to delete your reposts</p>
<p>Contact them if you need them:</p>
<ul class="mötter">
<li><a href="/user/belst">belst</a></li>
<li><a href="/user/gz">gz</a></li>
<li><a href="/user/Flummi">Flummi</a></li>
<li><a href="/user/jkhsjdhjs">jkhsjdhjs</a></li>
<li><a href="/user/Alucard">Alucard</a></li>
<li><a href="/user/flinny">flinny</a></li>
<li><a href="/user/milste">milste</a></li>
</ul>
<p>Mods can be contacted either via <code>@$modname</code> in the comments or via <a href="/irc">IRC</a></p>
</div>
<div class="box"> <div class="box">
<h4 id="format">Comment formatting</h4> <h4 id="format">Comment formatting</h4>
<ul> <ul>

View File

@@ -29,7 +29,7 @@
</div> </div>
</div> </div>
<div style="display: none;" id="parent" class="emojis-box"> <div style="display: none;" id="parent" class="emojis-box">
<div data-simplebar data-simplebar-auto-hide="false" id="child" class="emojis"> <div id="child" class="emojis">
<?php <?php
$files = glob(public_path() . DIRECTORY_SEPARATOR . 'images/comments/*.{gif,png}', GLOB_BRACE); $files = glob(public_path() . DIRECTORY_SEPARATOR . 'images/comments/*.{gif,png}', GLOB_BRACE);
$files = array_map(function ($f) { return pathinfo($f); }, $files); $files = array_map(function ($f) { return pathinfo($f); }, $files);

View File

@@ -18,7 +18,7 @@
@if(Auth::check()) @if(Auth::check())
<div id="comment_container_scrollable" class="comments hidden-xs"> <div id="comment_container_scrollable" class="comments hidden-xs">
<div data-simplebar class="commentwrapper"> <div class="commentwrapper">
<?php <?php
if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get(); if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get();
else $comments = $video->comments; else $comments = $video->comments;

View File

@@ -8,6 +8,7 @@
<br> <br>
<button class="layoutbutton" id="layout3">z0mb</button> <button class="layoutbutton" id="layout3">z0mb</button>
<br> <br>
<p>nojs</p>
<button class="layoutbutton" id="layout4">z0mbie</button> <button class="layoutbutton" id="layout4">z0mbie</button>
</div> </div>
</ul> </ul>