w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS
This commit is contained in:
21
resources/views/layout3/video-partials/disqus.blade.php
Normal file
21
resources/views/layout3/video-partials/disqus.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
|
||||
/**
|
||||
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
||||
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
||||
/*
|
||||
var disqus_config = function () {
|
||||
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
||||
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||
};
|
||||
*/
|
||||
(function() { // DON'T EDIT BELOW THIS LINE
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = 'https://w0bm.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
|
@@ -0,0 +1,52 @@
|
||||
<ul class="nav justify-content-center">
|
||||
<li class="safe-for-rating">
|
||||
<a class="badge badge-sexy">{{$video->id}}</a>
|
||||
@if(count($video->tags))
|
||||
@foreach($video->tags as $tag)
|
||||
@if($tag == 'sfw')
|
||||
<a class="badge badge-success isSfw">SFW</a>
|
||||
@elseif($tag == 'nsfw')
|
||||
<a class="badge badge-danger isNsfw">NSFW</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
</li>
|
||||
<li class="legacy-item">
|
||||
@if(auth()->check())
|
||||
@if(auth()->user()->hasFaved($video->id))
|
||||
<form action="{{url($video->id . '/fav')}}">
|
||||
<a hidden id="hidden-fav" href="{{url($video->id . '/fav')}}"></a>
|
||||
<button type="submit" id="fav" class="btn btn-dark" fav-data="{{url($video->id . '/fav')}}"><i class="fa fa-heart fa-lg"></i></button>
|
||||
</form>
|
||||
@else
|
||||
<form action="{{url($video->id . '/fav')}}">
|
||||
<a hidden id="hidden-fav" href="{{url($video->id . '/fav')}}"></a>
|
||||
<button type="submit" id="fav" class="btn btn-dark bg-toggle"><i class="fa fa-heart-o fa-lg"></i></button>
|
||||
</form>
|
||||
@endif
|
||||
@else
|
||||
@endif
|
||||
</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">
|
||||
<i class="fa fa-lg fa-info-circle"></i>
|
||||
</button>
|
||||
</li>
|
||||
<li class="legacy-item">
|
||||
<div id="popover-content" hidden>
|
||||
@include('video-partials.popover-metadata')
|
||||
</div>
|
||||
</li>
|
||||
<li class="legacy-item">
|
||||
<button type="button" class="btn btn-dark" id="togglebg"><i class="fa fa-power-off fa-lg"></i></button>
|
||||
</li>
|
||||
<li class="legacy-item">
|
||||
@if(auth()->check())
|
||||
@if(auth()->user()->can('delete_video'))
|
||||
<button id="webm_edit" class="btn btn-dark" data-toggle="modal" data-target="#webmeditmodal"><i class="fa fa-edit fa-lg"></i></button>
|
||||
@endif
|
||||
@endif
|
||||
<li class="legacy-item">
|
||||
<button id="webm_report" class="btn btn-dark" data-toggle="modal" data-target="#webmreportmodal"><i class="fa fa-bug fa-md"></i></button>
|
||||
</li>
|
||||
</ul>
|
@@ -0,0 +1,35 @@
|
||||
<div class="row">
|
||||
@if($related)
|
||||
@if(($prev = $video->getPrev($related)) === null)
|
||||
<div class="col- first-video"><a class="first" href="#" style="visibility: hidden;"> « first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="#" style="visibility: hidden;"> « prev</a> |
|
||||
@else
|
||||
<div class="col- first-video"><a class="first" href="{{url($related->baseurl(), $video->getFirstId($related))}}"> « first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="{{url($related->baseurl(), [$prev->id])}}"> « prev</a> |
|
||||
@endif
|
||||
<a href="{{url($related->baseurl())}}">{!!$related->displayName()!!}</a>
|
||||
@if(($next = $video->getNext($related)) === null)
|
||||
| <a id="next" href="#" style="visibility: hidden;">next » </a></div>
|
||||
<div class="col- latest-video"><a class="last" href="#" style="visibility: hidden;">last » </a></div>
|
||||
@else
|
||||
| <a id="next" href="{{url($related->baseurl(), [$next->id])}}">next » </a></div>
|
||||
<div class="col- latest-video"><a class="last" href="{{url($related->baseurl(), $video->getLastId($related))}}">last » </a></div>
|
||||
@endif
|
||||
@else
|
||||
@if(($prev = $video->getPrev()) === null)
|
||||
<div class="col- first-video"><a class="first" href="#" style="visibility: hidden;"> « first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="#" style="visibility: hidden;"> « prev</a> |
|
||||
@else
|
||||
<div class="col- first-video"><a class="first" href="{{url($video->getFirstId())}}"> « first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="{{url($prev->id)}}"> « prev</a> |
|
||||
@endif
|
||||
<a href="{{url('/')}}">random</a>
|
||||
@if(($next = $video->getNext()) === null)
|
||||
| <a id="next" href="#" style="visibility: hidden;">next » </a></div>
|
||||
<div class="col- latest-video"><a class="last" href="#" style="visibility: hidden;">last 🡆</a></div>
|
||||
@else
|
||||
| <a id="next" href="{{url($next->id)}}">next » </a></div>
|
||||
<div class="col- latest-video"><a class="last" href="{{url($video->getLastId())}}">last » </a></div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
@@ -0,0 +1,44 @@
|
||||
<div class="popover-metadata">
|
||||
@if($video->videotitle) <div class="artist">
|
||||
<strong>Videotitle:</strong> {{$video->videotitle}}
|
||||
</div>@endif
|
||||
@if($video->interpret) <div class="artist">
|
||||
<strong>Artist:</strong> {{$video->interpret}}
|
||||
</div>@endif
|
||||
@if($video->songtitle) <div class="songtitle">
|
||||
<strong>Songtitle:</strong> {{$video->songtitle}}
|
||||
</div>@endif
|
||||
@if($video->imgsource) <div class="source">
|
||||
<strong>Video Source:</strong> {{$video->imgsource}}
|
||||
</div>@endif
|
||||
<div class="category">
|
||||
<strong>Category:</strong> <a class="text-white" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>
|
||||
</div>
|
||||
<div class="uploader">
|
||||
<strong>Uploader:</strong> <a class="text-white" href="{{ url("user/" . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span></a>
|
||||
</div>
|
||||
<div class="added">
|
||||
<strong>Added:</strong> <a id="timestamp" title="{{$video->created_at->toIso8601String()}}">{{$video->created_at->diffForHumans()}}</a> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>
|
||||
</div>
|
||||
{{-- <div class="filesize">
|
||||
<span class="badge badge-secondary">{{ HumanReadable::bytesToHuman($video->filesize()) }}</span>
|
||||
</div> --}}
|
||||
<hr>
|
||||
<div class="toggo tag-panel-body">
|
||||
<div id="tag-display" class="tag-panel-body">
|
||||
@if(count($video->tags))
|
||||
@foreach($video->tags as $tag)
|
||||
@if($tag == 'sfw')
|
||||
<span class="badge badge-success"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
|
||||
@elseif($tag == 'nsfw')
|
||||
<span class="badge badge-danger"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
|
||||
@else
|
||||
<span class="badge badge-secondary"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
|
||||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
No tags yet ...
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
12
resources/views/layout3/video-partials/video-fav.blade.php
Normal file
12
resources/views/layout3/video-partials/video-fav.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<button title="Toggle Background" class="hidden-xs bg-toggle power" id="togglebg">BG</button>
|
||||
<div class="favbutton">
|
||||
@if(auth()->check())
|
||||
@if(auth()->user()->hasFaved($video->id))
|
||||
<a id="fav" href="{{url($video->id . '/fav')}}">UNFAV</a>
|
||||
@else
|
||||
<a id="fav" href="{{url($video->id . '/fav')}}">FAV</a>
|
||||
@endif
|
||||
@else
|
||||
<a href="{{url($video->id . '/fav')}}">FAVED</a>
|
||||
@endif
|
||||
</div>
|
@@ -0,0 +1,17 @@
|
||||
<div class="video-metadata-overlay">
|
||||
@if($video->interpret) <div class="artist">
|
||||
<strong>Artist:</strong> {{$video->interpret}}
|
||||
</div>@endif
|
||||
@if($video->songtitle) <div class="songtitle">
|
||||
<strong>Songtitle:</strong> {{$video->songtitle}}
|
||||
</div>@endif
|
||||
@if($video->imgsource) <div class="source">
|
||||
<strong>Video Source:</strong> {{$video->imgsource}}
|
||||
</div>@endif
|
||||
<div class="category">
|
||||
<strong>Category:</strong> <a class="text-dark" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>
|
||||
</div>
|
||||
<div class="uploader">
|
||||
<strong>Uploader:</strong> <a class="text-dark" href="{{ url('user/' . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time></a>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,33 @@
|
||||
<div class="video-metadata">
|
||||
<ul class="list-group list-group-horizontal indexedit">
|
||||
@if($video->interpret) <li class="list-group-item"><div class="artist">
|
||||
<strong>Artist:</strong> {{$video->interpret}}
|
||||
</div></li>@endif
|
||||
@if($video->songtitle) <li class="list-group-item"><div class="songtitle">
|
||||
<strong>Songtitle:</strong> {{$video->songtitle}}
|
||||
</div></li>@endif
|
||||
@if($video->imgsource) <li class="list-group-item"><div class="source">
|
||||
<strong>Video Source:</strong> {{$video->imgsource}}
|
||||
</div></li>@endif
|
||||
<li class="list-group-item"><div class="category">
|
||||
<strong>Category:</strong> <a class="text-dark" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>
|
||||
</div></li>
|
||||
<li class="list-group-item"><div class="uploader">
|
||||
<strong>Uploader:</strong> <a class="text-dark" href="{{ url("user/" . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time></a>
|
||||
</div></li>
|
||||
</ul>
|
||||
@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 class="tags">
|
||||
<div id="tag-display" class="tag-panel-body">
|
||||
@if(count($video->tags))
|
||||
@foreach($video->tags as $tag)
|
||||
<span class="badge badge-dark"><a href="/index?q={{$tag->normalized}}" class="dark-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can("edit_video")) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
|
||||
@endforeach
|
||||
@else
|
||||
No tags yet ...
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
@@ -0,0 +1,18 @@
|
||||
<div class="row videonavigation">
|
||||
@if(($prev = $video->getPrev()) === null)
|
||||
<div class="col"><a class="first" href="#" style="visibility: hidden;">🡄 first</a></div>
|
||||
|
||||
@else
|
||||
<div class="col"><a class="first" href="{{url($video->getFirstId())}}">🡄 first</a></div>
|
||||
<div class="col"><a id="prev" href="{{url($prev->id)}}">🡄 prev</a> |
|
||||
@endif
|
||||
<a href="{{url('/')}}">random</a>
|
||||
@if(($next = $video->getNext()) === null)
|
||||
| <a id="next" href="#" style="visibility: hidden;">next 🡆</a>
|
||||
<a class="last" href="#" style="visibility: hidden;">last 🡆</a>
|
||||
@else
|
||||
| <a id="next" href="{{url($next->id)}}">next 🡆</a></div>
|
||||
<div class="col"><a class="last" href="{{url($video->getLastId())}}">last 🡆</a></div>
|
||||
@endif
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user