varios small changes

This commit is contained in:
noxy
2019-11-29 19:39:08 +00:00
parent 50ba00431b
commit 55be581dac
11 changed files with 48 additions and 18 deletions

View File

@@ -12,7 +12,6 @@
<thead>
<tr>
<th>ID</th>
<th>Thumb</th>
<th>Video Title</th>
<th>Artist</th>
<th>Songtitle</th>
@@ -30,13 +29,13 @@
@if($edit = auth()->check() && auth()->user()->can('edit_video'))
<form action="/index/{{$video->id}}" method="post" id="edit_{{$video->id}}" class="indexform"></form>
@endif
<span class="vinfo vid"><a href="{{url($video->id)}}">{{$video->id}}</a></span>
<div class="relativebla">
<span class="vinfo vid"><a href="{{url($video->id)}}">{{$video->id}}</a></span>
<a href="{{url($video->id)}}"><img id="indexthumb" src="/thumbs/beta/{{$thumb}}.png"></a>
</div>
@if($edit)
<input type="submit" class="btn btn-primary" value="Save" form="edit_{{$video->id}}">
@endif
</td>
<td>
<img id="indexthumb" src="/thumbs/beta/{{$thumb}}.png">
</td>
<td>
<span class="vinfo vvideotitle">{{$video->videotitle or ''}}</span>

View File

@@ -0,0 +1,12 @@
@extends('profilelayout')
@section('novidcontent')
<div class="page-header">
<h3>IRC</h3>
<p>Don't forget to enable Dark Mode!</p>
</div>
<div class="box">
<iframe src="https://webirc.n0xy.net?nick={{Auth::user()->username}}&join=%23w0bm&username={{Auth::user()->username}}"></iframe>
</div>
@endsection

View File

@@ -2,14 +2,17 @@
<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="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>
<div class="dingz">
@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="#{{$comment->id}}" onclick="deleteComment($(this))">[del]</a>
<a class="edit_comment" href="#{{$comment->id}}" onclick="editComment($(this))">[edit]</a>
@endif
@endif
</div>
</small>
</div>
</div>

View File

@@ -39,6 +39,7 @@
<a class="dropdown-item" href="/index">Index</a>
<a class="dropdown-item" href="/categories">Categories</a>
<a class="dropdown-item" href="/about">About</a>
<a class="dropdown-item" href="/irc">IRC</a>
<a class="dropdown-item" href="/rules">Rules</a>
<a class="dropdown-item" href="/stats">Stats</a>
</div>

View File

@@ -24,7 +24,7 @@
<button class="copylink" data-clipboard-text="{{url($video->id)}}" title="Copy URL!"><i class="fa fa-link"></i></button>
</li>
<li class="legacy-item">
<button type="button" class="btn btn-dark metadata-button bg-toggle" data-container="body" data-toggle="popover" data-placement="bottom" data-html="true" data-container="body">
<button type="button" id="infobox" class="btn btn-dark metadata-button bg-toggle" data-container="body" data-toggle="popover" data-placement="bottom" data-html="true" data-container="body">
<i class="fa fa-lg fa-info-circle"></i>
</button>
</li>