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

@@ -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>