nojs änderungen usw

This commit is contained in:
noxy
2019-08-28 06:04:32 +00:00
parent 19f4b7d26f
commit 5fada7ae29
8 changed files with 85 additions and 14 deletions

View File

@@ -395,7 +395,8 @@ class UserController extends Controller
auth()->user()->layout = $request->get('layout');
auth()->user()->save();
return Response::create("success", 200);
//return Response::create("success mothafukka, you can now go back and fap your dick", 200);
return redirect()->back()->with('success', 'Jesus Scriptus is with you' );
}
}

61
public/css/glitch.css vendored
View File

@@ -171,7 +171,7 @@ nav {
.panel.panel-default {
background-image: linear-gradient(to top, #0006 0%, #19363887 100%);
margin: 10px;
/*margin: 10px;*/
border-radius: 5px;
border: 1px solid black;
}
@@ -394,7 +394,7 @@ a.navbar-brand {
}*/
div.tags.hidden-xs {
padding: 10px;
padding: 0px;
width: inherit;
background: transparent;
}
@@ -404,7 +404,7 @@ div.tags.hidden-xs {
}
.tags.hidden-xs {
padding: 15px;
padding: 0;
background: transparent;
}
@@ -479,10 +479,6 @@ ul.nav.navbar-nav.info-nav {
justify-content: space-between;
}
.toggo.tag-panel-body {
margin-bottom: 15px;
}
.panel-danger {
background: linear-gradient(to top, #000 0%, #6b1f22eb 100%);
border-bottom: 1px solid red;
@@ -814,3 +810,54 @@ a.rainbow:hover {
.vjs-menu-item:hover {
opacity: 0.7;
}
/* NAchtrag vom Editor */
.commentform-panel-footer {
margin: 0;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-top: 0px;
}
.onclick-menu:before {
padding: 5px 10px;
color: #fff;
text-shadow: 1px 1px 0px black;
font-weight: bold;
cursor: pointer;
vertical-align: baseline;
position: relative;
top: 2px;
}
.emoji-shit {
background: none;
border: 0;
vertical-align: super;
}
::-webkit-scrollbar,
::-webkit-scrollbar-corner,
::-webkit-scrollbar-track-piece {
background: #00000000 !important;
}
::-webkit-scrollbar {
width: 17px !important;
height: 17px !important;
}
::-webkit-scrollbar-thumb {
background: #333333;
border: 3px solid #101010 !important;
border-radius: 8px !important;
}
::-webkit-scrollbar-thumb:hover {
background: #444444;
}
#sidebar {
background: #0c343240 !important;
}

View File

@@ -3720,6 +3720,16 @@ button#layout3 {
width: 100%;
border: 2px solid white;
font-family: monospace;
margin-bottom: 5px;
color: white;
}
button#layout4 {
background: black;
width: 100%;
border: 2px solid white;
font-family: monospace;
margin-bottom: 5px;
color: white;
}

8
public/css/xayd.css vendored
View File

@@ -411,3 +411,11 @@ aside#sidebar::before {
#commentAmount {
color: #d4d4d4;
}
a.navbar-brand {
content: "";
background-size: cover;
background-image: url(/w0bm_mosh_banner_by_marderchen.gif);
background-repeat: no-repeat;
width: 210px;
}

View File

@@ -33,6 +33,11 @@
<link rel="alternate stylesheet" href="/css/glitch.css?v={{ filemtime("css/glitch.css") }}" title="Glitch">
<link rel="alternate stylesheet" href="/css/epilepsie.css?v={{ filemtime("css/epilepsie.css") }}" title="Epilepsie">
<script src="/js/styleswitcher.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/simplebar@latest/dist/simplebar.css"
/>
<script src="https://cdn.jsdelivr.net/npm/simplebar@latest/dist/simplebar.min.js"></script>
</head>
<body>
@if(auth()->check())

View File

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

View File

@@ -4,11 +4,11 @@
</a>
<ul class="dropdown-menu">
<div class="layoutblah">
<button id="layout1">Standard</button>
<button class="layoutbutton" id="layout2">Njum</button>
<br>
<button class="layoutbutton" id="layout3">z0mb</button>
<br>
<button id="layout2">Njum</button>
<br>
<button id="layout3">z0mb</button>
<button class="layoutbutton" id="layout4">z0mbie</button>
</div>
</ul>
</li>

View File

@@ -80,7 +80,7 @@
data-content="
<div class='downloadvid'>
<ul class='downloadlist'>
<li><a class='file_size' href='{{ '/b' . $video->file }}' download>WebM</a> <span class='filesize'>{{-- ({{ HumanReadable::bytesToHuman($video->filesize()) }}) --}}</span></li>
<li><a class='file_size' href='{{ '/b' . $video->file }}' download>WebM</a> <span class='filesize'> ({{HumanReadable::bytesToHuman($video->filesize()) }})</span></li>
</ul>
</div>"
</button>