some css tweaks and other minor improvements/fixes

This commit is contained in:
noxy
2019-11-27 15:23:48 +00:00
parent 5fc7bf3036
commit 50ba00431b
35 changed files with 880 additions and 104 deletions

View File

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

View File

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

View File

@@ -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">&times;</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>