some css tweaks and other minor improvements/fixes
This commit is contained in:
@@ -24,25 +24,15 @@
|
||||
@endif
|
||||
|
||||
<div class="container-fluid row p-0" id="wrapper">
|
||||
<div class="col-sm scrollable hidden-xs p-0">
|
||||
<div class="col-sm p-0 linkeLeiste">
|
||||
<div class="zeugs">
|
||||
@if(auth()->check() && (auth()->user()->can("edit_video") || auth()->user()->id == $video->user_id)) <a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@endif @if(auth()->check() && auth()->user()->can("delete_video"))<a class="delete_video" href="#">[del]</a>@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="container p-0">
|
||||
<div class="col-md p-0">
|
||||
@yield('floatvid')
|
||||
@include('partials.flash')
|
||||
@include('partials.comments')
|
||||
</div>
|
||||
<div class="col-sm scrollable p-0"></div>
|
||||
</div>
|
||||
<wip>
|
||||
<div id="untenlinks">
|
||||
<div id="zomgmenu">
|
||||
<a href="/">Random</a> |
|
||||
<a href="/index">index</a> |
|
||||
<a href="/main">index</a> |
|
||||
<a href="/categories">categories</a> |
|
||||
<a href="irc://irc.n0xy.net/w0bm">IRC</a> (<a href="http://webirc.n0xy.net/?channels=%23w0bm?nick=BLAH">Webchat</a>) |
|
||||
<a href="irc://irc.n0xy.net/w0bm">IRC</a> |
|
||||
<a href="/about">About</a> |
|
||||
<div class="layoutkek">
|
||||
<li role="presentation" class="layoutChanger" id="layoutSwitcher">
|
||||
@@ -79,11 +69,24 @@
|
||||
@endif
|
||||
@else
|
||||
@endif
|
||||
<br>
|
||||
<span>v.1.{{ filemtime("z0mb/css/z0mb.css") }} WIP</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container p-0">
|
||||
<div class="col-md p-0">
|
||||
@yield('floatvid')
|
||||
@include('partials.flash')
|
||||
@include('partials.comments')
|
||||
</div>
|
||||
<div class="col-sm scrollable p-0"></div>
|
||||
</div>
|
||||
<wip>
|
||||
</wip>
|
||||
<div class="col-sm scrollable hidden-xs p-0"></div>
|
||||
<work>v.1.{{ filemtime("z0mb/css/z0mb.css") }} WIP</work>
|
||||
</div>
|
||||
This page took {{ (microtime(true) - LARAVEL_START) }} seconds to render
|
||||
|
||||
</body>
|
||||
<script type="text/javascript" defer src="/z0mb/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" defer src="/zßmb/js/jquery.timeago.js"></script>
|
||||
|
@@ -1,15 +1,22 @@
|
||||
<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}}">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
<div class="panel-footer">by <a class="{{$comment->user->username}}" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <small><time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time></small>
|
||||
@if($mod)
|
||||
<div class="Avatar">
|
||||
<span class="avatarBox"><img src="https://f0ck.it/uploads/2019/11/BCKEXcV.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>
|
||||
@if($mod)
|
||||
@if($del)
|
||||
<a href="#" onclick="restoreComment($(this))"><i style="color:green"; class="fa fa-refresh" aria-hidden="true"></i></a>
|
||||
@else
|
||||
<a class="delete_comment" href="#" onclick="deleteComment($(this))">[del]</a>
|
||||
<a class="edit_comment" href="#" onclick="editComment($(this))">[edit]</a>
|
||||
<a class="delete_comment" href="#" onclick="deleteComment($(this))">[D]</a>
|
||||
{{-- <a class="edit_comment" href="#" onclick="editComment($(this))">[E]</a> --}}
|
||||
@endif
|
||||
@endif
|
||||
<div class="commentContent">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
{!! Form::textarea('comment', null, ['placeholder' => 'Write something useful', 'id' => 'cinput', 'class' => 'form-control bg-´dark text-light comment-entry-textarea', 'required' => 'required']) !!}
|
||||
</div>
|
||||
<div class="commentButton">
|
||||
<div id="comment_tools" class="commentform-panel-footer"><button type="submit" class="btn btn-primary btn-sm">Post</button>
|
||||
<div id="comment_tools" class="commentform-panel-footer"><button type="submit" class="btn btn-dark btn-sm">Post</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,9 +1,8 @@
|
||||
<div class="modal fade" id="filterselectmodal" tabindex="-1" role="dialog" aria-labelledby="Select filter">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="filterModalTitle">Add Tags to filter out</h4>
|
||||
<div class="topper">
|
||||
<h4 class="modal-title" id="filterModalTitle">Add Tags to filter out</h4>
|
||||
<p>When entering a tag you will no longer see videos with that tag.</p>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@@ -11,8 +10,8 @@
|
||||
{{--<input class="form-control" type="text" id="filter" data-role="tagsinput" value="{{ implode(',', auth()->user()->categories) }}">--}}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
||||
<button href="/filter" type="submit" id="submitfilter" class="btn btn-primary" value="Save">Save</button>
|
||||
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
|
||||
<button href="/filter" type="submit" id="submitfilter" class="btn btn-dark" value="Save">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -20,9 +20,40 @@
|
||||
@endif
|
||||
@endif
|
||||
<div data-simplebar class="container-fluid">
|
||||
<div id="zomgmenu">
|
||||
<a href="/">Random</a> |
|
||||
<a href="/index">index</a> |
|
||||
<a href="/categories">categories</a> |
|
||||
<a href="irc://irc.n0xy.net/w0bm">IRC</a> |
|
||||
<a href="/about">About</a> |
|
||||
<div class="layoutkek">
|
||||
<li role="presentation" class="layoutChanger" id="layoutSwitcher">
|
||||
<a data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="caret"></span> Layout
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<div class="layoutblah">
|
||||
<button id="layout1">w0bm.com</button>
|
||||
<br>
|
||||
<button id="layout2">Njum</button>
|
||||
<br>
|
||||
<button id="layout4">nojsz0mbie</button>
|
||||
<br>
|
||||
<button id="layout5">m0bile</button>
|
||||
</div>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<a href="{{url('user', Auth::user()->username)}}">{{Auth::user()->username}}</a>
|
||||
<a href="{{url('messages')}}" style="font-size: 10px;">[ {{Auth::user()->messagesRecv()->unread()->count()}} ]</a>
|
||||
<a href="#" data-toggle="modal" style="font-size: 10px;" data-target="#filterselectmodal">[ filter ]</a>
|
||||
<a style="font-size: 10px;" href="{{url('logout')}}">[ logout ]</a> |
|
||||
<a href="{{url('upload')}}">[ upload ]</a>
|
||||
</div>
|
||||
<div class="container">
|
||||
@yield('novidcontent')
|
||||
<wip>v.1.{{ filemtime("z0mb/css/z0mb.css") }} WIP</wip>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user