server ver

This commit is contained in:
2021-04-16 20:41:48 +00:00
parent c9257dc357
commit 1b5088cde7
159 changed files with 3533 additions and 740 deletions

View File

@@ -1,7 +1,7 @@
<div class="card @if($del = !is_null($comment->deleted_at)) panel-danger @else panel-default @endif" data-id="{{$comment->id}}" author="{{$comment->user->username}}">
<div class="comment panel-body" author="{{$comment->user->username}}">
<div class="Avatar">
<span class="avatarBox"><img src="https://f0ck.it/uploads/2019/11/BCKEXcV.png"></span>
<span class="avatarBox"><img src="/images/z0mbotter.png"></span>
</div>
<a class="{{$comment->user->username}} user_name" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a>
<a id="timestamp" title="{{$video->created_at->toIso8601String()}}">{{$video->created_at->diffForHumans()}}</a>

View File

@@ -5,7 +5,11 @@
</a>
</div>
<div class="collapse" id="collapseComments">
@if($video->id == '30186')
@include('partials.thread_closed')
@else
@include('partials.commentform')
@endif
<div class=" commentwrapper comments">
<?php
if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get();

View File

@@ -0,0 +1,3 @@
<div class="thread_closed">
<span>Thread closed! ;__;</span>
</div>