various changes, fixes to css etc
This commit is contained in:
7
resources/views/layout8/about.blade.php
Normal file
7
resources/views/layout8/about.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="dark-bg">
|
||||
{!!$blah!!}
|
||||
</div>
|
||||
@endsection
|
||||
|
4
resources/views/layout8/abouttest.blade.php
Normal file
4
resources/views/layout8/abouttest.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
{{$blah}}
|
||||
@endsection
|
24
resources/views/layout8/banned.blade.php
Normal file
24
resources/views/layout8/banned.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">YOU ARE BANNED!</h3>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<div style="border:0;" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
@if($perm)
|
||||
<p>Your ban is permanent fool and will <b>NOT</b> expire!</p>
|
||||
<video class="banwidth" autoplay loop src="https://b.w0bm.com/1515965864.webm">You are banned</video>
|
||||
@else
|
||||
<p class="banned">Reason: {{ $user->banreason }}</p>
|
||||
<p class="banned">Your ban will expire in {{ $user->banend->diffForHumans(null, true) }}</p>
|
||||
<img class="banwidth" src="otter-ban.png">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<p>If you think you were banned by accident or dindu nuffin to deserve the ban contact an administrator in the <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
21
resources/views/layout8/categories.blade.php
Normal file
21
resources/views/layout8/categories.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header p-2">
|
||||
<h3>Categories</h3>
|
||||
</div>
|
||||
<div class="dark-bg">
|
||||
<div class="p-2" id="categories">
|
||||
@foreach($categories as $category)
|
||||
<div id="category_box_{{$category->shortname}}" class="category-box">
|
||||
<div class="thumbnail">
|
||||
<a href="{{$category->shortname}}"><img src="{{ asset('/images/cat/' . $category->shortname . '.webp') }}" alt="{{$category->name}}"></a>
|
||||
<div class="caption">
|
||||
<h5>{{$category->name}} <small><b>{{$category->videos()->count()}}</b></small></h5>
|
||||
<span class="cat-desc"><i>{{$category->description}}</i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
4
resources/views/layout8/close.sh
Normal file
4
resources/views/layout8/close.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /home/sirx/web/w0bm.com/resources/views/
|
||||
ln -sf registerclosed.blade.php register.blade.php
|
||||
php ../../artisan view:clear
|
5
resources/views/layout8/closedreg.php
Normal file
5
resources/views/layout8/closedreg.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h1>Registration closed - check back later</h1>
|
||||
@endsection
|
24
resources/views/layout8/comments.blade.php
Normal file
24
resources/views/layout8/comments.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.profileheader')
|
||||
@include('partials.comlist')
|
||||
<h3>Comments</h3>
|
||||
@if(Auth::check())
|
||||
|
||||
<div class="row jkh">
|
||||
<div class="col-md" id="list">
|
||||
<div class="spinner">
|
||||
<div class="cube1"></div>
|
||||
<div class="cube2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="col-md-6" id="message"><h4>Select a comment to display content</h4></div>-->
|
||||
</div>
|
||||
|
||||
@else
|
||||
<div class="row jkh">
|
||||
<i>Not logged in. Please log in to view comments!</i>
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
||||
|
15
resources/views/layout8/contact.blade.php
Normal file
15
resources/views/layout8/contact.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header p-2">
|
||||
<h3>Professional Support</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<img src="/images/cockfag.png" style="margin-left: 10px; width: 15%; height: 15%; float:right;">
|
||||
<h4>Contact</h4>
|
||||
<ul>
|
||||
<li>Contact via IRC: <a href="https://webirc.n0xy.net/?join=%23w0bm">#w0bm on n0xy.net</a></li>
|
||||
</ul>
|
||||
<p><span>Need something? Let's talk then!</span></p>
|
||||
<p>Email: <a href="mailto:admin@w0bm.com">admin [ät] w0bm [dotto] com</a>
|
||||
</div>
|
||||
@endsection
|
87
resources/views/layout8/contact/create.blade.php
Normal file
87
resources/views/layout8/contact/create.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('jumbotron')
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
<h1>Contact HackerPair</h1>
|
||||
<h2>Your message will be delivered to our clandestine team</h2>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row" style="margin-top: 25px;">
|
||||
|
||||
<div class="col-md-4 col-sm-12">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-title map">
|
||||
<gmap-map
|
||||
:center="{lat: 38.871026, lng: -77.055959}"
|
||||
:zoom="13"
|
||||
:options="{styles: mapStyles, streetViewControl: false, zoomControl: false, mapTypeControl: false}"
|
||||
map-type-id="roadmap"
|
||||
style="width: 100%; height: 300px;"
|
||||
>
|
||||
</gmap-map>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-building" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
Group 9
|
||||
</li>
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-map" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
Classified
|
||||
</li>
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-map-signs" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
Classified
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-calendar" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
support@hackerpair.com
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-8 col-sm-12">
|
||||
|
||||
<p>
|
||||
Send us your questions, comments, and suggestions and someone will be in touch within
|
||||
24 hours.
|
||||
</p>
|
||||
|
||||
{!! Form::open(['route' => 'contact.store']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('name', 'Your Name') !!}
|
||||
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('email', 'E-mail Address') !!}
|
||||
{!! Form::text('email', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('msg', 'Message') !!}
|
||||
{!! Form::textarea('msg', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
</div>
|
||||
|
||||
{!! Form::submit('Submit', ['class' => 'btn btn-info']) !!}
|
||||
|
||||
{!! Form::close() !!}
|
||||
<br />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
37
resources/views/layout8/contactUS.blade.php
Normal file
37
resources/views/layout8/contactUS.blade.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Laravel 5.4 Cloudways Contact US Form Example</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Contact US Form</h1>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success">
|
||||
{{ Session::get('success') }}
|
||||
</div>
|
||||
@endif
|
||||
{!! Form::open(['route'=>'contactus.store']) !!}
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Name:') !!}
|
||||
{!! Form::text('name', old('name'), ['class'=>'form-control', 'placeholder'=>'Enter Name']) !!}
|
||||
<span class="text-danger">{{ $errors->first('name') }}</span>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Email:') !!}
|
||||
{!! Form::text('email', old('email'), ['class'=>'form-control', 'placeholder'=>'Enter Email']) !!}
|
||||
<span class="text-danger">{{ $errors->first('email') }}</span>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('message') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Message:') !!}
|
||||
{!! Form::textarea('message', old('message'), ['class'=>'form-control', 'placeholder'=>'Enter Message']) !!}
|
||||
<span class="text-danger">{{ $errors->first('message') }}</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success">Contact US!</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
resources/views/layout8/deleted.blade.php
Normal file
5
resources/views/layout8/deleted.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<p>Video deleted by admin</p>
|
||||
<p>Given reason: </p>
|
||||
@endsection
|
10
resources/views/layout8/email.blade.php
Normal file
10
resources/views/layout8/email.blade.php
Normal file
@@ -0,0 +1,10 @@
|
||||
You received a message from : {{ $name }}
|
||||
<p>
|
||||
Name: {{ $name }}
|
||||
</p>
|
||||
<p>
|
||||
Email: {{ $email }}
|
||||
</p>
|
||||
<p>
|
||||
Message: {{ $user_message }}
|
||||
</p>
|
3
resources/views/layout8/emails/activation.blade.php
Normal file
3
resources/views/layout8/emails/activation.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<h3>Hello {{$username}}</h3>
|
||||
<p>Welcome to <a href="https://w0bm.com">w0bm.com</a>.</p>
|
||||
<p>To activate your account please click this <a href="https://w0bm.com/activate/{{$activation_token}}">link</a>.</p>
|
87
resources/views/layout8/emails/report.blade.php
Normal file
87
resources/views/layout8/emails/report.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<html>
|
||||
|
||||
<div style="width:100%;font-family:verdana;">
|
||||
|
||||
<h1>webm got reported!</h1>
|
||||
|
||||
<div>
|
||||
<b>Link:</b>
|
||||
<a href="{{$videoURL}}">{{$videoURL}}</a>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<table style="width:100%;border:1px solid black;border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr style="border:1px solid black; padding:5px;">
|
||||
<th style="background-color:#bbbbbb;border-right:1px solid black;">Report Reasons</th>
|
||||
<th style="background-color:#bbbbbb;">Report Text</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:10px;border-right:1px solid #bbbbbb;">
|
||||
<ul>
|
||||
{!! $reportReasons !!}
|
||||
</ul>
|
||||
</td>
|
||||
<td style="padding:10px;">
|
||||
{{$reportText}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<table style="width:100%; border-collapse:collapse;border:1px solid black;">
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;width:200px;">Username</th>
|
||||
<td>{!! $username !!}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Time reported</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">IP:</th>
|
||||
<td></td>
|
||||
</tr>-->
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video ID</th>
|
||||
<td>{{$videoID}}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video Title</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video Tags</th>
|
||||
<td></td>
|
||||
</tr>-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
|
||||
<!--
|
||||
<div>
|
||||
<h3>Debug Output:</h3>
|
||||
<div style="color:green;font-family:consolas;background-color:black;">
|
||||
<pre>
|
||||
{{$debugOutput}}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</html>
|
7
resources/views/layout8/errors/404.blade.php
Normal file
7
resources/views/layout8/errors/404.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="notfound">
|
||||
<h1>404 - NOT FOUND</h1>
|
||||
<img id="notfound-img" src="/404.gif">
|
||||
</div>
|
||||
@endsection
|
47
resources/views/layout8/errors/500.blade.php
Normal file
47
resources/views/layout8/errors/500.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<style>
|
||||
.sf-reset .block > pre {
|
||||
background-color: #000000;
|
||||
padding: 10px 28px;
|
||||
margin-bottom: 20px;
|
||||
-webkit-border-bottom-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
-moz-border-radius-bottomright: 0;
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom: 1px solid #1faeac;
|
||||
border-right: 1px solid #1faeac;
|
||||
border-left: 1px solid #1faeac;
|
||||
border-top: 1px solid #1faeac;
|
||||
word-wrap: break-word;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.block {
|
||||
overflow: auto;
|
||||
word-break: break-all;
|
||||
max-height: 500px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h5>l0l! Something went wrong!</h5>
|
||||
<div id="sf-resetcontent" class="sf-reset box">
|
||||
<h6>Please don't send this fucking text to an admin, we have other problems.</h6>
|
||||
<?php
|
||||
$iv = openssl_random_pseudo_bytes(16);
|
||||
?>
|
||||
@if(!env('APP_DEBUG'))
|
||||
<div class="block">
|
||||
{{bin2hex($iv)}}<br>
|
||||
{{openssl_encrypt($exception, 'aes128', env('APP_KEY'), 0, $iv)}}
|
||||
</div>
|
||||
@else
|
||||
<div class="block">
|
||||
<pre>{{$exception}}</pre>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@endsection
|
47
resources/views/layout8/errors/503.blade.php
Normal file
47
resources/views/layout8/errors/503.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Please Stand By we are just fucking this up</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
background-color: #161618;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 72px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Short maintenance, brb!</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
6
resources/views/layout8/footer.blade.php
Normal file
6
resources/views/layout8/footer.blade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<nav class="navbar-fixed-bottom">
|
||||
<div class="container futter">
|
||||
<a href="/about">About</a> | <a href="/rules">Rules</a> | <a href="/contact">Contact</a> | <a href="/privacy">Privacy</a> | <a href="/transparency">Transparency</a> | <a href="/friends">Friends</a> | <a href="/stats">Stats</a>
|
||||
<p>Inspired by <a href="http://z0r.de">z0r.de</a> | © 2015 – {{ date('Y') }} w0bm.com</p>
|
||||
</div>
|
||||
</nav>
|
7
resources/views/layout8/help.blade.php
Normal file
7
resources/views/layout8/help.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header p-2">
|
||||
<h2></h2>
|
||||
</div>
|
||||
@endsection
|
||||
|
83
resources/views/layout8/index.blade.php
Normal file
83
resources/views/layout8/index.blade.php
Normal file
@@ -0,0 +1,83 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header p-2">
|
||||
<h3 id="index">Index</h3>
|
||||
|
||||
<form method="get" class="d-block d-sm-none">
|
||||
<button type="submit" class="suchbutton"><i style="color:white;" class="fa fa-search"></i></button>
|
||||
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'suchleiste', 'placeholder' => 'Search w0bm.com']) !!}
|
||||
</form>
|
||||
</div>
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Video Title</th>
|
||||
<th>Artist</th>
|
||||
<th>Songtitle</th>
|
||||
<th class="hidden-xs">Video Source</th>
|
||||
<th>Category</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<tr data-thumb="{{$thumb}}" class="indexedit" data-vid="{{$video->id}}">
|
||||
<td>
|
||||
@if($edit = auth()->check() && auth()->user()->can('edit_video'))
|
||||
<form action="/index/{{$video->id}}" method="post" id="edit_{{$video->id}}" class="indexform"></form>
|
||||
@endif
|
||||
<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>
|
||||
<span class="vinfo vvideotitle">{{$video->videotitle or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="videotitle" value="{{$video->videotitle or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vinterpret">{{$video->interpret or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="interpret" value="{{$video->interpret or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vsongtitle">{{$video->songtitle or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="songtitle" value="{{$video->songtitle or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td class="hidden-xs">
|
||||
<span class="vinfo vimgsource">{{$video->imgsource or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="imgsource" value="{{$video->imgsource or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vcategory"><a href="{{url($video->category->shortname)}}">{{$video->category->name}}</a></span>
|
||||
@if($edit)
|
||||
<select class="form-control" name="category" form="edit_{{$video->id}}">
|
||||
@foreach($categories as $cat)
|
||||
<option value="{{$cat->id}}" @if($cat->shortname === $video->category->shortname) selected @endif>{{$cat->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
|
||||
@endsection
|
27
resources/views/layout8/irc.blade.php
Normal file
27
resources/views/layout8/irc.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header p-2">
|
||||
<h3>IRC/[matrix]</h3>
|
||||
</div>
|
||||
<div class="dark-bg">
|
||||
<div class="box irc-matrix-info">
|
||||
<h5>IRC</h5>
|
||||
<h6>irc.n0xy.net +6697 (ssl only) #w0bm</h6>
|
||||
<p><a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">webirc.n0xy.net</a></p>
|
||||
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
|
||||
<h5>[matrix]</h5>
|
||||
<h6>#w0bm on the [matrix] network</h6>
|
||||
<p><a href="https://matrix.to/#/#!w0bm:f0ck.it?via=f0ck.it&via=matrix.org&via=f0.gg">#!w0bm:f0ck.it</a></p>
|
||||
<p>Alternatively you can use the Element web client hosted at <a href="https://element.f0ck.it">f0ck.it</a> to connect to our channel, it has some modifications to make chatting more comfy: <br><small>Note: Registrations are disabled, you can still use this client with every homeserver you have an account on!</small></p>
|
||||
<ul>
|
||||
<li>w0bm.com Stylesheet</li>
|
||||
<li>Greentexting</li>
|
||||
</ul>
|
||||
<a href="https://spyware.neocities.org/articles/discord.html" target="_blank"><img src="/images/shitcord.gif" alt="discord-no-way"></a><br><a href="/matrix">Additional Redpill</a>
|
||||
</div>
|
||||
{{--<div class="box">
|
||||
<iframe src="https://webirc.n0xy.net?nick={{Auth::user()->username}}&join=%23w0bm&username={{Auth::user()->username}}"></iframe>
|
||||
</div>--}}
|
||||
</div>
|
||||
@endsection
|
||||
|
67
resources/views/layout8/layout.blade.php
Normal file
67
resources/views/layout8/layout.blade.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="_token" content="{{csrf_token()}}">
|
||||
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<title>@if(isset($video)){{ $video->id }} -@endif w0bm.com</title>
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/magic.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-tagsinput.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-dark.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/cstms.css?v={{ filemtime("njum/css/cstms.css") }}">
|
||||
</head>
|
||||
<body>
|
||||
@if(auth()->check())
|
||||
@include('partials.frontendedit')
|
||||
@include('partials.report')
|
||||
@include('partials.filterselect')
|
||||
@endif
|
||||
<canvas id="bg" class=""></canvas>
|
||||
<div class="container-fluid row p-0" id="wrapper">
|
||||
<div class="col-sm scrollable hidden-xs p-0"></div>
|
||||
<div class="container p-0">
|
||||
<div class="col-md p-0">
|
||||
@include('partials.navigation')
|
||||
@include('partials.flash')
|
||||
<noscript>
|
||||
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||
<strong>Javascript is disabled :(</strong> be a good neckbeard and turn it on, otherwise this Layout wont work as it should. However I can offer you to either reset to a <a href="/api/user/layout?layout=1">Layout that is nojs friendly</a> or just mind your own biz and simply block this message with your adblocker for example. Anyways have a nice day.
|
||||
</button>
|
||||
</div>
|
||||
</noscript>
|
||||
@yield('floatvid')
|
||||
@include('partials.comments')
|
||||
</div>
|
||||
<div class="col-sm scrollable p-0"></div>
|
||||
</div>
|
||||
<div class="col-sm scrollable hidden-xs p-0"></div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src="/njum/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/njum/js/jquery.timeago.js"></script>
|
||||
<script type="text/javascript" src="/njum/js/popper.min.js"></script>
|
||||
<script type="text/javascript" src="/njum/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/njum/js/bootstrap-tagsinput.min.js"></script>
|
||||
<script type="text/javascript" src="/js/clipboard.min.js"></script>
|
||||
<script type="text/javascript" src="/njum/js/newscript.js?v={{ filemtime("njum/js/newscript.js") }}"></script>
|
||||
<script src="/njum/js/sticky_video.js"></script>
|
||||
<script type="text/javascript">
|
||||
var clipboard = new ClipboardJS('.copylink');
|
||||
|
||||
clipboard.on('success', function(e) {
|
||||
console.info('Action:', e.action);
|
||||
console.info('Text:', e.text);
|
||||
console.info('Trigger:', e.trigger);
|
||||
|
||||
e.clearSelection();
|
||||
});
|
||||
|
||||
clipboard.on('error', function(e) {
|
||||
console.error('Action:', e.action);
|
||||
console.error('Trigger:', e.trigger);
|
||||
});
|
||||
</script>
|
||||
</html>
|
12
resources/views/layout8/login.blade.php
Normal file
12
resources/views/layout8/login.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.flash')
|
||||
<form action="{{action('UserController@login')}}" method="post" class="form-signin">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="identifier" placeholder="Username" class="form-control">
|
||||
<input type="password" name="password" placeholder="Password" class="form-control">
|
||||
<input type="checkbox" name="remember" checked> Remember me<br>
|
||||
<button type="submit" class="btn btn-dark">Login</button>
|
||||
<a href="{{url('register')}}" class="btn btn-success">Register</a>
|
||||
</form>
|
||||
@endsection
|
23
resources/views/layout8/main.blade.php
Normal file
23
resources/views/layout8/main.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="items">
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<div class="main-item">
|
||||
<a href="/{{$video->id}}">
|
||||
@if(file_exists(public_path() . '/thumbs/beta/'.$thumb.'.png'))
|
||||
<img src="/thumbs/beta/{{$thumb}}.png">
|
||||
@else
|
||||
<img src="/small_404.gif" class="nothumb" />
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="page">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
@endsection
|
100
resources/views/layout8/matrix.blade.php
Normal file
100
resources/views/layout8/matrix.blade.php
Normal file
@@ -0,0 +1,100 @@
|
||||
<style type="text/css">
|
||||
* {margin: 0; padding: 0}
|
||||
body {background: #000;overflow:hidden;}
|
||||
canvas {display: block;}
|
||||
.matrix {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
font-family: monospace;
|
||||
}
|
||||
.matrix > .inner {
|
||||
position: absolute;
|
||||
color: white;
|
||||
top: 40%;
|
||||
}
|
||||
.inner {
|
||||
background: #000000b5;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#bluepill a {
|
||||
width: 26px;
|
||||
height: 10px;
|
||||
display: inline-block;
|
||||
color: blue;
|
||||
background: blue;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#redpill a {
|
||||
width: 26px;
|
||||
height: 10px;
|
||||
display: inline-block;
|
||||
color: red;
|
||||
background: red;
|
||||
border-radius: 5px;
|
||||
}
|
||||
</style>
|
||||
<div class="matrix">
|
||||
<div class="inner">
|
||||
<h3><p><b><i>You are a slave {{Auth::user()->username}}</i></b></p></h3>
|
||||
<br>
|
||||
<p>Take control over your chats, leave Discord for good!</p>
|
||||
<p>Join [matrix] today!</p>
|
||||
<p>Why should you consider either running a [matrix] synapse yourself or start using someone elses:</p>
|
||||
<p>Discord is evil, it took away the freedom you and I deserve, it makes you a slave to their services,<br> makes you obey their rules, includes you in a unwanted botnet where you have no freedom at all!</p>
|
||||
<p>It's time to break free {{Auth::user()->username}}</p>
|
||||
<p>Choose your fate</p>
|
||||
<span id="bluepill"><a href="https://discordapp.com/app"></a></span> <span id="redpill"><a href="https://github.com/matrix-org/synapse" target="_blank"></a></span>
|
||||
<p><code>#!w0bm:f0ck.it</code></p>
|
||||
<br>
|
||||
<p><small>We are happy to help if you have any trouble setting up your synapse</small></p>
|
||||
</div>
|
||||
</div>
|
||||
<canvas></canvas>
|
||||
<audio src="/clubbed.mp3" autoplay loop></audio>
|
||||
<script type="text/javascript">
|
||||
// Initialising the canvas
|
||||
var canvas = document.querySelector('canvas'),
|
||||
ctx = canvas.getContext('2d');
|
||||
|
||||
// Setting the width and height of the canvas
|
||||
canvas.width = window.innerWidth;
|
||||
canvas.height = window.innerHeight;
|
||||
|
||||
// Setting up the letters
|
||||
var letters = 'ABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZ';
|
||||
letters = letters.split('');
|
||||
|
||||
// Setting up the columns
|
||||
var fontSize = 10,
|
||||
columns = canvas.width / fontSize;
|
||||
|
||||
// Setting up the drops
|
||||
var drops = [];
|
||||
for (var i = 0; i < columns; i++) {
|
||||
drops[i] = 1;
|
||||
}
|
||||
|
||||
// Setting up the draw function
|
||||
function draw() {
|
||||
ctx.fillStyle = 'rgba(0, 0, 0, .1)';
|
||||
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
||||
for (var i = 0; i < drops.length; i++) {
|
||||
var text = letters[Math.floor(Math.random() * letters.length)];
|
||||
ctx.fillStyle = '#0f0';
|
||||
ctx.fillText(text, i * fontSize, drops[i] * fontSize);
|
||||
drops[i]++;
|
||||
if (drops[i] * fontSize > canvas.height && Math.random() > .95) {
|
||||
drops[i] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Loop the animation
|
||||
setInterval(draw, 33);
|
||||
</script>
|
15
resources/views/layout8/messages.blade.php
Normal file
15
resources/views/layout8/messages.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="dark-bg">
|
||||
@include('partials.msglist')
|
||||
<div class="row">
|
||||
<div class="col-md-6" id="list">
|
||||
<div class="spinner">
|
||||
<div class="cube1"></div>
|
||||
<div class="cube2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6" id="message"><h4>Select a message to display content</h4></div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
3
resources/views/layout8/messages/commentanswer.blade.php
Normal file
3
resources/views/layout8/messages/commentanswer.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<span id="comm_answer"><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> answered on your comment.</span>
|
||||
<span id="comm_answer"><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> answered on your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></span>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,3 @@
|
||||
<h3><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> mentioned you in a comment.</h3>
|
||||
<p><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> mentioned you in a comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,6 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
<div class="panel-footer">by <a href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <small><time class="timeago" data-toggle="tooltip" data-placement="right" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time></small></div>
|
||||
</div>
|
@@ -0,0 +1,4 @@
|
||||
<h3>A moderator deleted your comment.</h3>
|
||||
<p>A moderator deleted your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
<p><span style="font-weight:bold;">Reason:</span> {{$reason}}</p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,4 @@
|
||||
<h3>A moderator restored your comment.</h3>
|
||||
<p>A moderator restored your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
<p><span style="font-weight:bold;">Reason:</span> {{$reason}}</p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,10 @@
|
||||
<h3>A moderator deleted your video.</h3>
|
||||
<p>A moderator deleted your video with the ID {{$video->id}}</p>
|
||||
<span style="font-weight:bold;">Video Info:</span>
|
||||
<ul>
|
||||
@if(isset($videoinfo['artist'])) <li><span style="font-weight:bold;">Artist:</span> {{ $videoinfo['artist'] }}</li> @endif
|
||||
@if(isset($videoinfo['songtitle'])) <li><span style="font-weight:bold;">Songtitle:</span> {{ $videoinfo['songtitle'] }}</li> @endif
|
||||
@if(isset($videoinfo['video_source'])) <li><span style="font-weight:bold;">Video Source:</span> {{ $videoinfo['video_source'] }}</li> @endif
|
||||
<li><span style="font-weight:bold;">Category:</span> {{ $videoinfo['category'] }}</li>
|
||||
</ul>
|
||||
<p><span style="font-weight:bold;">Reason:</span> {{$reason}}</p>
|
2
resources/views/layout8/messages/videocomment.blade.php
Normal file
2
resources/views/layout8/messages/videocomment.blade.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<p class="vidcomment"><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> made a comment on your video ID (<a href="{{url($video->id)}}">/{{$video->id}}</a>)</p>
|
||||
@include('messages.commentpreview')
|
42
resources/views/layout8/nav.blade.php
Normal file
42
resources/views/layout8/nav.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<ul class="nav">
|
||||
<div class="card">
|
||||
<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
|
||||
</div>
|
||||
|
||||
@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 class="nav-link" data-trigger="hover" data-toggle="popover" data-content="Toggle Videoblur" data-placement="bottom">
|
||||
<button type="button" class="btn btn-dark" id="togglebg"><i class="fa fa-power-off fa-lg"></i></button>
|
||||
</li>
|
||||
|
||||
<li class="nav-link" data-trigger="hover" data-toggle="popover" data-content="Metadata" data-placement="bottom">
|
||||
<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>
|
||||
<div id="popover-content" hidden>
|
||||
@include('video-partials.popover-metadata')
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
4
resources/views/layout8/open.sh
Normal file
4
resources/views/layout8/open.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /home/sirx/web/w0bm.com/resources/views/
|
||||
ln -sf registeropen.blade.php register.blade.php
|
||||
php ../../artisan view:clear
|
27
resources/views/layout8/partials/banmenu.blade.php
Normal file
27
resources/views/layout8/partials/banmenu.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<form id="banmenu" method="POST" action="/api/user/{{$user->username}}/ban">
|
||||
{!! csrf_field() !!}
|
||||
<div class="modal fade" id="banmenumodal" tabindex="-1" role="dialog" aria-labelledby="Ban user">
|
||||
<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">Ban user</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="reason">Reason</label>
|
||||
<input class="form-control" type="text" name="reason" id="reason" placeholder="Reason">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="duration">Duration</label>
|
||||
<input class="form-control" type="text" name="duration" id="duration" placeholder="Duration (-1 = permanent)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
||||
<input type="submit" class="btn btn-danger" value="BAN!">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
14
resources/views/layout8/partials/comlist.php
Normal file
14
resources/views/layout8/partials/comlist.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<script id="comlist" type="text/x-handlebars-template">
|
||||
{{#each data as |value key|}}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="word-wrap: break-word;" data-index="{{key}}" data-id="{{id}}">{{{rendered_view}}}</div>
|
||||
<div class="panel-footer">Video: <a href="/{{video_id}}">/{{video_id}}</a> | <time class="timeago" data-toggle="tooltip" datetime="{{created_at}}+0000" title="{{created_at}}+0000"></time></div>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="list-group-item">No comments</div>
|
||||
{{/each}}
|
||||
{{#if total}}
|
||||
<div class="panel-footer" id="pagination">
|
||||
</div>
|
||||
{{/if}}
|
||||
</script>
|
19
resources/views/layout8/partials/comment.blade.php
Normal file
19
resources/views/layout8/partials/comment.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="panel @if($del = !is_null($comment->deleted_at)) panel-danger @else @endif video-comment-wrapper" data-id="{{$comment->id}}" author="{{$comment->user->username}}">
|
||||
<div class="umrandung_name">
|
||||
<div class="comment_header"><a class="{{$comment->user->username}} user_color" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time> No. <a href="#{{ $comment->id }}">{{ $comment->id }}</a>
|
||||
<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="#{{$comment->id}}" onclick="deleteComment($(this))">[del]</a>
|
||||
<a class="edit_comment" href="#{{$comment->id}}" onclick="editComment($(this))">[edit]</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment panel-body video-comment-body" author="{{$comment->user->username}}">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
</div>
|
40
resources/views/layout8/partials/commentform.blade.php
Normal file
40
resources/views/layout8/partials/commentform.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<div id="sticky">
|
||||
<div id="commentForm">
|
||||
<form action="{{action('CommentController@store', ['id' => $video->id])}}" method="post">
|
||||
{!! csrf_field() !!}
|
||||
<div class="comment-panel panel-default">
|
||||
<div class="comment-panel panel-body">
|
||||
{!! Form::textarea('comment', null, ['placeholder' => 'Write something...', 'id' => 'cinput', 'class' => 'form-control text-light comment-entry-textarea', 'required' => 'required']) !!}
|
||||
</div>
|
||||
|
||||
<div class="commentButton">
|
||||
<div id="comment_tools" class="commentform-panel-footer">
|
||||
<div class="commentToolsWrapper">
|
||||
<button type="submit" class="btn btn-dark btn-sm" onclick="commentBotScroll()">Post</button>
|
||||
<span class="emojiCollapser btn btn-dark btn-sm" data-toggle="collapse" href="#collapseEmojis" role="button" aria-expanded="false" aria-controls="collapseEmojis">🦦 Emoji Picker</span>
|
||||
<div class="textModifiers btn btn-dark btn-sm">
|
||||
<a class="rainbow" href="javascript:;" onclick="formatText ('rb');">[rb]</a>
|
||||
<a class="reich" href="javascript:;" onclick="formatText ('reich');">[reich]</a>
|
||||
<a class="krebs" href="javascript:;" onclick="formatText ('krebs');">[krebs]</a>
|
||||
<a class="spoiler" href="javascript:;" onclick="formatText ('spoiler');">[spoiler]</a>
|
||||
</div>
|
||||
<span onclick="bottomArrow()" class="btn btn-dark btn-sm" style="cursor: pointer;"><i class="fa fa-arrow-down" aria-hidden="true"></i></span>
|
||||
<a href="#" class="scrollToTop btn btn-dark btn-sm" style=""><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
<div class="collapse" id="collapseEmojis">
|
||||
<div class="emojiWrapper emojis">
|
||||
<?php
|
||||
$files = glob(public_path() . DIRECTORY_SEPARATOR . 'images/comments/*.webp', GLOB_BRACE);
|
||||
$files = array_map(function ($f) { return pathinfo($f); }, $files);
|
||||
?>
|
||||
@foreach ($files as $file)
|
||||
<a class="w0bm_emoji_anchor" title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}" loading="lazy"></a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
31
resources/views/layout8/partials/comments.blade.php
Normal file
31
resources/views/layout8/partials/comments.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
@if(Auth::check())
|
||||
<div class="commentOpener">
|
||||
<a class="commentOpenButton" data-toggle="collapse" href="#collapseComments" role="button" aria-expanded="false" aria-controls="collapseComments">
|
||||
See {{ $video->comments()->count() }} comments
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse" id="collapseComments">
|
||||
<div class=" commentwrapper comments">
|
||||
<?php
|
||||
if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get();
|
||||
else $comments = $video->comments;
|
||||
?>
|
||||
@if(count($comments) > 0)
|
||||
@foreach($comments as $comment)
|
||||
@include('partials.comment', ['comment' => $comment, 'mod' => $mod])
|
||||
@endforeach
|
||||
@else
|
||||
<div class="panel panel-default nocomments">
|
||||
<div class="panel-body">
|
||||
No comments yet! Be the first one to comment!<br />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@if($video->id == '30186')
|
||||
@include('partials.thread_closed')
|
||||
@else
|
||||
@include('partials.commentform')
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
18
resources/views/layout8/partials/filterselect.blade.php
Normal file
18
resources/views/layout8/partials/filterselect.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<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-head">
|
||||
<h4 class="modal-title" id="filterModalTitle"><i class="fa fa-coffee"></i> Filter</h4>
|
||||
<span>When entering a tag you will no longer see videos with that tag.</span>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input id="filter" type="text" class="form-control" placeholder="Input tags…" name="filter" data-role="tagsinput" value="{{ implode(',', auth()->user()->categories) }}">
|
||||
{{--<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-dark" data-dismiss="modal">Close</button>
|
||||
<button href="/filter" type="submit" id="submitfilter" class="btn btn-dark" value="Save">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,6 @@
|
||||
@if(auth()->check())
|
||||
@include('partials.filterselect')
|
||||
@if(isset($video) && (auth()->user()->can('edit_video') || auth()->user()->id == $video->user_id))
|
||||
@include('partials.frontendedit')
|
||||
@endif
|
||||
@endif
|
36
resources/views/layout8/partials/flash.blade.php
Normal file
36
resources/views/layout8/partials/flash.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<div class="flashcontainer">
|
||||
<div class="flash-inner">
|
||||
@if($errors->count() > 0)
|
||||
@foreach($errors->all() as $error)
|
||||
<div class="alert alert-danger alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ $error }}
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@if(Session::has('error'))
|
||||
<div class="alert alert-danger alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('error') }}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('success') }}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('info'))
|
||||
<div class="alert alert-info alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('info') }}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('warning'))
|
||||
<div class="alert alert-warning alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('warning') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,3 @@
|
||||
<nav class="navbar navbar-dark bg-dark">
|
||||
<h5>LOL</h5>
|
||||
</nav>
|
59
resources/views/layout8/partials/frontendedit.blade.php
Normal file
59
resources/views/layout8/partials/frontendedit.blade.php
Normal file
@@ -0,0 +1,59 @@
|
||||
@if(isset($video))
|
||||
<form id="webmedit" method="POST" action="/index/{{$video->id}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="modal fade" id="webmeditmodal" tabindex="-1" role="dialog" aria-labelledby="Edit webm">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="filterModalTitle">Edit webm</h4>
|
||||
</div>
|
||||
<div class="modal-body frontendeditmodal">
|
||||
<div class="form-group">
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Title</label>
|
||||
<input class="form-control" type="text" name="videotitle" id="videotitleedit" value="{{ $video->videotitle or ''}}" placeholder="Video Title">
|
||||
</div>
|
||||
<label for="interpretedit">Artist</label>
|
||||
<input class="form-control" type="text" name="interpret" id="interpretedit" value="{{ $video->interpret or ''}}" placeholder="Artist">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="songtitleedit">Songtitle</label>
|
||||
<input class="form-control" type="text" name="songtitle" id="songtitleedit" value="{{ $video->songtitle or ''}}" placeholder="Songtitle">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Source</label>
|
||||
<input class="form-control" type="text" name="imgsource" id="imgsourceedit" value="{{ $video->imgsource or ''}}" placeholder="Video Source">
|
||||
@endif
|
||||
</div>
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))
|
||||
<div class="form-group">
|
||||
<label for="categoryselect">Category</label>
|
||||
<select class="form-control" name="category" id="categoryselect">
|
||||
@foreach(\App\Models\Category::all() as $category)
|
||||
<option value="{{$category->id}}" @if($video->category->id == $category->id) selected @endif>{{$category->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@endif
|
||||
<div class="form-group">
|
||||
<label for="tageditor">Add Tags</label>
|
||||
<div class="frontendedittags">
|
||||
@include('partials.tags')
|
||||
</div>
|
||||
</div>
|
||||
<div class="deleteit">
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#"><i class="fa fa-trash fa-lg"></i> Remove upload</a>@endif
|
||||
</div>
|
||||
</div>
|
||||
@if(auth()->check() && auth()->user()->can('delete_video'))
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-dark">Save changes</button>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endif
|
22
resources/views/layout8/partials/handlebars.php
Normal file
22
resources/views/layout8/partials/handlebars.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<script id="paginationtmpl" type="text/x-handlebars-template">
|
||||
<nav class="mitte">
|
||||
<ul class="pagination">
|
||||
{{#paginate pagination type="first"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">First</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="previous"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">«</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="middle" limit="7"}}
|
||||
<li {{#if active}}class="active"{{/if}}><a href="#" data-page="{{n}}">{{n}}</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="next"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">»</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="last"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">Last</a></li>
|
||||
{{/paginate}}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="clearfix"></div>
|
||||
</script>
|
0
resources/views/layout8/partials/header.blade.php
Normal file
0
resources/views/layout8/partials/header.blade.php
Normal file
25
resources/views/layout8/partials/loginmodal.blade.php
Normal file
25
resources/views/layout8/partials/loginmodal.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="modal fade" id="loginmodal" tabindex="-1" role="dialog" aria-labelledby="Login">
|
||||
<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">Login</h4>
|
||||
</div>
|
||||
|
||||
<div class="login_wrapper">
|
||||
<div class="col-md-9">
|
||||
<form action="{{action('UserController@login')}}" method="post" class="navbar-form">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="identifier" placeholder="Username" class="form-control usernamelogin"><br>
|
||||
<input type="password" name="password" placeholder="Password" class="form-control passwordlogin"><br>
|
||||
<button type="submit" class="btn btn-primary">Login</button> <input id="rememberme" checked type="checkbox" name="remember"> <span id="rember">Remember me?</span>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<p>Registration has been disabled due to multiple spammers, if you want an account, please apply for it in the <a href="/irc">IRC</a>, thanks!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
31
resources/views/layout8/partials/msglist.php
Normal file
31
resources/views/layout8/partials/msglist.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<script id="msglist" type="text/x-handlebars-template">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading-messages">
|
||||
<h3 class="panel-title">Messages</h3> <button class="btn btn-dark readall" onclick="readAll()">Read all</button>
|
||||
</div>
|
||||
|
||||
<div class="list-group" id="listitems">
|
||||
{{#each data as |value key|}}
|
||||
<a href="#" data-index="{{key}}" data-id="{{id}}" class="list-group-item {{#unless read}}list-group-item-info{{/unless}}">{{subject}}</a>
|
||||
{{else}}
|
||||
<div class="list-group-item">No messages</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{#if total}}
|
||||
<div class="panel-footer" id="pagination">
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="msgtmpl" type="text/x-handlebars-template">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{{subject}}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{{{content}}}
|
||||
</div>
|
||||
<div class="panel-footer"><time class="timeago" data-toggle="tooltip" datetime="{{created_at}}+0000" title="{{created_at}}+0000"></time></div>
|
||||
</div>
|
||||
</script>
|
77
resources/views/layout8/partials/navigation.blade.php
Normal file
77
resources/views/layout8/partials/navigation.blade.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
|
||||
<div class="w0bm-logo">
|
||||
<a class="navbar-brand" href="/main">
|
||||
<img id="logo" src="https://w0bm.com/w0bm_mosh_banner_by_marderchen.gif" class="d-inline-block align-top" alt="w0bm.com">
|
||||
</a>
|
||||
</div>
|
||||
<ul class="navbar-nav mr-auto">
|
||||
@if (!empty($__env->yieldContent('novidcontent')))
|
||||
@else
|
||||
|
||||
@endif
|
||||
@if(Auth::check())
|
||||
<li class="nav-link dropdown">
|
||||
<button id="nav-user" class="btn btn-dark nav-link bg-toggle dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span>
|
||||
@if(Auth::user()->messagesRecv()->unread()->count() < 1)
|
||||
<span class="nomsg">|</span>@else
|
||||
<span class="yesmg">|</span>@endif {{Auth::user()->username}}</span>
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
<div class="grid-menu">
|
||||
<a class="dropdown-item" href="{{url('user', Auth::user()->username)}}">{{Auth::user()->username}}</a>
|
||||
<a class="dropdown-item" href="{{url('user', Auth::user()->username)}}/favs"><span class=""><i class="fa fa-heart"></i></span></a>
|
||||
<a class="dropdown-item" href="{{url('messages')}}"><span class=""><i class="fa fa-envelope-square"></i> {{Auth::user()->messagesRecv()->unread()->count()}}</span></a>
|
||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#filterselectmodal">Filter</a>
|
||||
<a class="dropdown-item" href="{{url('upload')}}">Upload</a>
|
||||
</div>
|
||||
<a class="dropdown-item logout" href="{{url('logout')}}">Logout</a>
|
||||
</div>
|
||||
@else
|
||||
|
||||
@endif
|
||||
</li>
|
||||
@if(Auth::check())
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Links
|
||||
</a>
|
||||
<div class="dropdown-menu LinksGrid" aria-labelledby="navbarDropdown">
|
||||
<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>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Layout
|
||||
</a>
|
||||
<div id="layoutSwitcher" class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" id="layout1" href="#">Atmos</a>
|
||||
<a class="dropdown-item" id="layout3" href="#">z0mb</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@else
|
||||
@endif
|
||||
|
||||
@if (\Request::is('index'))
|
||||
<div class="search-index hidden-xs d-none d-md-block">
|
||||
<form method="get" action="/index" class="form-inline my-2 my-lg-0">
|
||||
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'form-control search-input text-light', 'placeholder' => 'Search w0bm.com']) !!}
|
||||
<button class="search-btn btn btn-dark" type="submit"><i class="fa fa-search" aria-hidden="true"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
@else
|
||||
<div class="search-index hidden-xs d-none d-md-block">
|
||||
<form method="get" action="/main" class="form-inline my-2 my-lg-0">
|
||||
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'form-control search-input text-light', 'placeholder' => 'Search w0bm.com']) !!}
|
||||
<button class="search-btn btn btn-dark" type="submit"><i class="fa fa-search" aria-hidden="true"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
@endif
|
||||
</nav>
|
18
resources/views/layout8/partials/profileheader.blade.php
Normal file
18
resources/views/layout8/partials/profileheader.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="page-header p-2">
|
||||
<h3 class="{{ $user->username }}">{!! rtrim(e($user->username) . ' ' . $user->activeIcon()) !!} @if($user->disabled && isset($user->banend) && (Carbon\Carbon::now() <= $user->banend || 1 >= $user->banend->timestamp))<span style="color: grey; font-size: 15px;">(@if(Carbon\Carbon::now() <= $user->banend)Ban expires in <time class="timeago" data-toggle="tooltip" title="{{ $user->banend }}+0000" datetime="{{ $user->banend }}+0000"></time>@else permanently banned @endif)</span>@endif</h3>
|
||||
<div class="admin-settings">
|
||||
@if(auth()->check() && auth()->user()->can('edit_user'))<span id="pannade"><a href="#" data-toggle="modal" data-target="#banmenumodal"><i style="color:red;" class=""></i>[ban user]</a></span>
|
||||
@endif
|
||||
</div>
|
||||
<span id="jointime">Joined: <time class="timeago" datetime="{{ $user->created_at }}+0000" title="{{ $user->created_at }}+0000" data-toggle="tooltip"></time></span>
|
||||
<div class="profile-info">
|
||||
<span id="count-upload"> <a href="/user/{{$user->username}}"> <i class="fa fa-cloud-upload"></i> {{ $user->uploads()->countScoped()->count() }} Uploads</a></span>
|
||||
|
||||
<span id="comments-user"> <a href="/user/{{$user->username}}/comments"><i class="fa fa-commenting"></i> {{ $user->comments()->count() }} Comments</a></span>
|
||||
|
||||
<span id="favs-user"><a href="/user/{{$user->username}}/favs/index"><i class="fa fa-heart"></i> {{ $user->favs()->countScoped()->count() }} Favorites</a></span>
|
||||
</div>
|
||||
@if($user->isOnline())
|
||||
user is online!!
|
||||
@endif
|
||||
</div>
|
62
resources/views/layout8/partials/registermodal.blade.php
Normal file
62
resources/views/layout8/partials/registermodal.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<div class="modal fade" id="registermodal" tabindex="-1" role="dialog" aria-labelledby="Register">
|
||||
<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">Register</h4>
|
||||
</div>
|
||||
|
||||
<div class="advantages">
|
||||
<p>Registering on w0bm has some advantages...</p>
|
||||
<p>With a account you can comment on WebMs, favor WebMs, upload WebMs, tag videos, filter out unwanted tags and watch NSFW WebMs!</p>
|
||||
</div>
|
||||
|
||||
<div class="reg_wrapper">
|
||||
<div class="register">
|
||||
<div class="col-md-10">
|
||||
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="form-group">
|
||||
<div class="reg_username">
|
||||
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="reg_password">
|
||||
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="reg_password">
|
||||
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="recaptcha">
|
||||
{!! Recaptcha::render() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group terms">
|
||||
<div class="verify_rules">
|
||||
<p><input type="checkbox" required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
|
||||
</div>
|
||||
|
||||
<div class="submit_registration">
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<p>Back to <a href="#" data-toggle="modal" data-target="#loginmodal" data-dismiss="modal">Login?</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
40
resources/views/layout8/partials/report.blade.php
Normal file
40
resources/views/layout8/partials/report.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<!-- created by klee -->
|
||||
@if(isset($video))
|
||||
<form id="webmreport" method="POST" action="/report/{{$video->id}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="modal fade" id="webmreportmodal" tabindex="-1" role="dialog" aria-labelledby="Report webm">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="filterModalTitle">Report WebM</h4>
|
||||
</div>
|
||||
<div class="modal-body webmreportmodal">
|
||||
So you want to report this webm? Tell us why:<br>
|
||||
<br>
|
||||
<div class="form-group">
|
||||
<label for="reportReasons">
|
||||
Reason(s)<br>
|
||||
<em>(hold ctrl to select multiple)</em>
|
||||
</label>
|
||||
<select multiple class="form-control" id="reportReasons" name="reportReasons[]">
|
||||
<option>Wrong rating (sfw/nsfw)</option>
|
||||
<option>Shitpost</option>
|
||||
<option>Low quality/effort video</option>
|
||||
<option>Breaks a rule</option>
|
||||
<option>Other</option>
|
||||
<!-- breaks a rule, Wrong safe for rating -->
|
||||
</select>
|
||||
</div>
|
||||
<label for="reportReasonText">Please explain a bit more detailed why you want to report this webm</label>
|
||||
<textarea class="form-control" id="reportText" name="reportText" rows="3" required></textarea>
|
||||
<p>Abuse of this form will be awarded with a permanent ban!</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-dark">Send Report</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endif
|
39
resources/views/layout8/partials/tags.blade.php
Normal file
39
resources/views/layout8/partials/tags.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<div class="tags">
|
||||
<div class="tagtest">
|
||||
@if(Auth::check())
|
||||
<div id="tag-add">
|
||||
<div class="row">
|
||||
<div class="col tag-col">
|
||||
<div class="input-group">
|
||||
{{--<select multiple name="tags[]" data-role="tagsinput" class="form-control"></select>--}}
|
||||
<input id="tags" type="text" class="form-control" placeholder="Input tags…" name="tags" data-role="tagsinput">
|
||||
<span class="input-group-btn"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sendtags">
|
||||
<button href="/{{$video->id}}/tag" id="submittags" type="submit" class="btn btn-dark">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
@endif
|
||||
</div>
|
||||
<label for="manage-tags">Manage Tags</label>
|
||||
<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')
|
||||
@if(Auth::check() && Auth::user()->can('edit_video'))<span class="badge badge-sfw"><a href="/main?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a><a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@else<span class="badge badge-sfw"><a href="/main?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a></span>@endif
|
||||
@elseif($tag == 'nsfw')
|
||||
@if(Auth::check() && Auth::user()->can('edit_video'))<span class="badge badge-nsfw"><a href="/main?q={{$tag->normalized}}" class="badge nsfw-text">{{$tag->name}}</a><a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@else<span class="badge badge-nsfw"><a href="/main?q={{$tag->normalized}}" class="badge nsfw-text">{{$tag->name}}</a></span>@endif
|
||||
@else
|
||||
@if(Auth::check() && Auth::user()->can('edit_video'))<span class="badge badge-secondary"><a href="/main?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a><a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@else<span class="badge badge-secondary"><a href="/main?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a></span>@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
No tags yet ...
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
18
resources/views/layout8/partials/themechanger.blade.php
Normal file
18
resources/views/layout8/partials/themechanger.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<li role="presentation" class="">
|
||||
<a data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="caret"></span> Theme
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<div id="switcher">
|
||||
<button class="w0bmcustom-css" onclick="setActiveStyleSheet('w0bmcustom'); return false;">Default</button>
|
||||
<br>
|
||||
<button class="chilledblue-css" onclick="setActiveStyleSheet('Chilledblue'); return false;">Chilledblue</button>
|
||||
<br>
|
||||
<button class="xayd-css" onclick="setActiveStyleSheet('Xayd'); return false;">Xayd</button>
|
||||
<br>
|
||||
<button class="glitch-css" onclick="setActiveStyleSheet('Glitch'); return false;">Glitch</button>
|
||||
<br>
|
||||
<button class="epilepsie-css" onclick="alert('This theme can cause seizures and headaches, use with care!'); setActiveStyleSheet('Epilepsie'); return false;">Epilepsie</button>
|
||||
</div>
|
||||
</ul>
|
||||
</li>
|
3
resources/views/layout8/partials/thread_closed.php
Normal file
3
resources/views/layout8/partials/thread_closed.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="thread_closed">
|
||||
<span>Thread closed! ;__;</span>
|
||||
</div>
|
20
resources/views/layout8/partials/uploadinfo.blade.php
Normal file
20
resources/views/layout8/partials/uploadinfo.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="vidinfo">
|
||||
<button title="Toggle Background" class="hidden-xs bg-toggle" 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>
|
||||
<div style='word-break: break-word;'>@if($video->interpret) <strong>Artist:</strong> {{$video->interpret}}<br>@endif
|
||||
@if($video->songtitle) <strong>Songtitle:</strong> {{$video->songtitle}}<br>@endif
|
||||
@if($video->imgsource) <strong>Video Source:</strong> {{$video->imgsource}} <br>
|
||||
@endif
|
||||
<strong>Category:</strong> {{$video->category->name}}</div>
|
||||
<span id="uploader">uploaded by <a style="color: white" href="{{ url('user/' . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>@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>
|
35
resources/views/layout8/partials/videoinfo.blade.php
Normal file
35
resources/views/layout8/partials/videoinfo.blade.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<div class="text-center">
|
||||
@if($related)
|
||||
@if(($prev = $video->getPrev($related)) === null)
|
||||
<a class="first" href="#" style="visibility: hidden;">🡄 first</a>
|
||||
<a id="prev" href="#" style="visibility: hidden;">🡄 prev</a> |
|
||||
@else
|
||||
<a class="first" href="{{url($related->baseurl(), $video->getFirstId($related))}}">🡄 first</a>
|
||||
<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>
|
||||
<a class="last" href="#" style="visibility: hidden;">last 🡆</a>
|
||||
@else
|
||||
| <a id="next" href="{{url($related->baseurl(), [$next->id])}}">next 🡆</a>
|
||||
<a class="last" href="{{url($related->baseurl(), $video->getLastId($related))}}">last 🡆</a>
|
||||
@endif
|
||||
@else
|
||||
@if(($prev = $video->getPrev()) === null)
|
||||
<a class="first" href="#" style="visibility: hidden;">🡄 first</a>
|
||||
<a id="prev" href="#" style="visibility: hidden;">🡄 prev</a> |
|
||||
@else
|
||||
<a class="first" href="{{url($video->getFirstId())}}">🡄 first</a>
|
||||
<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>
|
||||
<a class="last" href="{{url($video->getLastId())}}">last 🡆</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
18
resources/views/layout8/privacy.blade.php
Normal file
18
resources/views/layout8/privacy.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Privacy</h3>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>What do we log?</h5>
|
||||
<p>We ourself don't log anything, cloudflare does log all the request that are being made to our site, we can however only access very little of it, no ips and only basic stats.</p>
|
||||
<h5>3<sup>rd</sup> party links</h5>
|
||||
<p>There are some 3rd party linkings on this website, be careful with clicking them we don't know whats inside the box blah blah blah, don't be stupid and don't trust the internet.</p>
|
||||
<p>If you encounter a malicious link shared here on w0bm.com please notify an admin in the IRC.</p>
|
||||
<p>We also use a webfont from google fonts, if you don't like that go fuck yourself or block it with umatrix.</p>
|
||||
<h5>Cookies</h5>
|
||||
<p>Yes, we use cookies if you don't like that don't come to our site! (or don't accept them in the first place)</p>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
35
resources/views/layout8/profile.blade.php
Normal file
35
resources/views/layout8/profile.blade.php
Normal file
@@ -0,0 +1,35 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.profileheader')
|
||||
<div class="profilheader p-2">
|
||||
<a href="/{{$user->baseurl()}}/">View {{ $title }}</a>
|
||||
</div>
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Video Title</th>
|
||||
<th>Artist</th>
|
||||
<th>Songtitle</th>
|
||||
<th class="hidden-xs">Video Source</th>
|
||||
<th>Category</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<tr data-thumb="{{$thumb}}">
|
||||
<td><a href="/{{$user->baseurl()}}/{{$video->id}}">{{$video->id}}</a></td>
|
||||
<td>{{$video->videotitle or ''}}</td>
|
||||
<td>{{$video->interpret or ''}}</td>
|
||||
<td>{{$video->songtitle or ''}}</td>
|
||||
<td class="hidden-xs">{{$video->imgsource or ''}}</td>
|
||||
<td><a href="{{url($video->category->shortname)}}">{{$video->category->name}}</a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
{!! $videos->render() !!}
|
||||
@endsection
|
37
resources/views/layout8/profilelayout.blade.php
Normal file
37
resources/views/layout8/profilelayout.blade.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="_token" content="{{csrf_token()}}">
|
||||
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<title>w0bm.com</title>
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-dark.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-tagsinput.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/cstms.css?v={{ filemtime("njum/css/cstms.css") }}">
|
||||
</head>
|
||||
<body>
|
||||
@include('partials.handlebars')
|
||||
@if(auth()->check())
|
||||
@include('partials.filterselect')
|
||||
@if(isset($user) && auth()->user()->can('edit_user'))
|
||||
@include('partials.banmenu')
|
||||
@endif
|
||||
@endif
|
||||
<div data-simplebar class="container-fluid">
|
||||
<div class="container">
|
||||
@include('partials.navigation')
|
||||
@yield('novidcontent')
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" defer src="/njum/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/jquery.timeago.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/popper.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/bootstrap-tagsinput.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/handlebars.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/newscript.js"></script>
|
||||
</html>
|
62
resources/views/layout8/register.blade.php
Normal file
62
resources/views/layout8/register.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.flash')
|
||||
<div class="page-header">
|
||||
<h5>Register your w0bm.com Account</h5>
|
||||
<p style="color:red;">Note: We do not reset passwords, make sure to write down your password on paper, otherwise you need create a new account or start to circlejerk in the IRC!</p>
|
||||
</div>
|
||||
<div class="register">
|
||||
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Recaptcha::render() !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group terms">
|
||||
<div style="text-align: center;">
|
||||
<p><input type="checkbox" name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
|
||||
</div>
|
||||
<div class="">
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- <div class="form-group" style="
|
||||
text-align: center;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
">
|
||||
<p>By clicking on "Register" you accept our <a href="/rules">Rules</a></p>
|
||||
<p>Note: we do NOT reset passwords for now, make sure to save your password correctly</p>
|
||||
</div>
|
||||
-->
|
||||
@endsection
|
||||
|
34
resources/views/layout8/registerclosed.blade.php
Normal file
34
resources/views/layout8/registerclosed.blade.php
Normal file
@@ -0,0 +1,34 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<style>
|
||||
html body {
|
||||
animation: anfall 0.2s;
|
||||
-webkit-animation: anfall 0.2s;
|
||||
animation-iteration-count: infinite;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@keyframes anfall {
|
||||
0% {background: red;}
|
||||
25% {background: yellow;}
|
||||
50% {background: blue;}
|
||||
75% {background: pink;}
|
||||
100% {background: red;}
|
||||
}
|
||||
|
||||
@-webkit-keyframes anfall {
|
||||
0% {background: black;}
|
||||
25% {background: white;}
|
||||
50% {background: black;}
|
||||
75% {background: white;}
|
||||
100% {background: black;}
|
||||
}
|
||||
|
||||
div.a {
|
||||
width: 50px;
|
||||
height:50px;
|
||||
}
|
||||
@endsection
|
66
resources/views/layout8/rules.blade.php
Normal file
66
resources/views/layout8/rules.blade.php
Normal file
@@ -0,0 +1,66 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header">
|
||||
<h4>Rules for w0bm.com</h4>
|
||||
</div>
|
||||
<p>These are more or less guidelines for a friendly and peaceful together, please don't try to abuse this or push it to the limits.</p>
|
||||
<div class="box">
|
||||
<h5>General</h5>
|
||||
<ol>
|
||||
<li>Content on this website is intended for adults (18+), we can't check your age and don't want to, but keep this in mind, this is a website by adults for adults.</li>
|
||||
<li>No Comment or Tag spamming</li>
|
||||
<li>No Child porn and/or underage modeling videos/links to websites</li>
|
||||
<li>No racism, I know this can be defined however someone wants, but deep inside most of us know when it's going into the racism direction and I don't want to see that here.</li>
|
||||
<li>Be friendly to each other!</li>
|
||||
<li>No Terrorist Propaganda and Content!</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Uploading</h5>
|
||||
<ol>
|
||||
<li>The focus is on videos that are catchy and fun to watch, for example <a href="/index?q=loop">loops</a> this does not mean these are the only videos we welcome, it's just our main focus, we have plenty of videos that are completely unrelated to loops or catchy stuff and are still fitting, ask yourself "does my upload fit on w0bm.com?" and if yes, you're good to go!</li>
|
||||
<li>The Artist and Songtitle field is only for the Artist and Song information respectively, anything else in there probably doesn't belong in there, use the Tags.</li>
|
||||
<li>I reserve the right to remove uploads that I consider not worth being on w0bm.com without comment, discussions about deleted videos will be ignored and can lead in extreme cases to a ban.</li>
|
||||
<li>No videos with watermarks like coub.com they will be removed regardless of quality, please take the time to either recreate or censor the watermark.</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Tagging</h5>
|
||||
<ol>
|
||||
<li><b>You have to add at least 3 tags describing the video, not doing so can lead to a ban.</b></li>
|
||||
<li>Tags should always describe what you see in the video and maybe some additional informations</li>
|
||||
<li>No links in the Tags, use the comment section for that!</li>
|
||||
<li>Always give your video a rating like "sfw" or "nsfw" so people can filter.</li>
|
||||
<li>Comments are not welcome in the Tag section</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Commenting</h5>
|
||||
<ol>
|
||||
<li>You don't have to be polite, but you also don't have to be an asshole.</li>
|
||||
<li>NSFW images should only be posted on NSFW videos.</li>
|
||||
<li>Live with different opinions, and deal with it.</li>
|
||||
<li>No scam links or links to paywall sites, no unauthorized advertisment</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Reposts</h5>
|
||||
<ul style="text-align:left;">
|
||||
<li>Tag reposts with the tag: repost also link the original and the repost in the comments, maybe some admin or moderator is going to care about it and deletes the repost.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>These rules can change at any time!</p>
|
||||
|
||||
<?php
|
||||
$filename = '/home/sirx/web/w0bm.com/resources/views/rules.blade.php';
|
||||
if (file_exists($filename)) {
|
||||
echo "Last modified: " . date ("F d Y H:i:s.", filemtime($filename));
|
||||
}
|
||||
?>
|
||||
|
||||
@include('footer')
|
||||
@endsection
|
40
resources/views/layout8/rulez.blade.php
Normal file
40
resources/views/layout8/rulez.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header p-2">
|
||||
<h3>Rulez</h3>
|
||||
</div>
|
||||
<div class="dark-bg">
|
||||
<div class="box">
|
||||
<h5>General</h5>
|
||||
<ol>
|
||||
@foreach($generalrules as $rule)
|
||||
<li>{{$rule->rule}}</li>
|
||||
@endforeach
|
||||
</ol>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h5>Uploading</h5>
|
||||
<ol>
|
||||
@foreach($uploadrules as $rule)
|
||||
<li>{!!$rule->rule!!}</li>
|
||||
@endforeach
|
||||
</ol>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h5>Tagging</h5>
|
||||
<ol>
|
||||
@foreach($tagrules as $rule)
|
||||
<li>{!!$rule->rule!!}</li>
|
||||
@endforeach
|
||||
</ol>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h5>Commenting</h5>
|
||||
<ol>
|
||||
@foreach($commentrules as $rule)
|
||||
<li>{!!$rule->rule!!}</li>
|
||||
@endforeach
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
15
resources/views/layout8/settings.blade.php
Normal file
15
resources/views/layout8/settings.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="box">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=1">w0bm.com</a> <span class="text-end">[The default Layout]</span></li>
|
||||
<li class="list-group-item active"><a href="/api/user/layout?layout=2">Njum</a> <span class="text-end">[More focussed on the video, also 4:3]</span></li>
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=3">z0mb</a> <span class="text-end">[z0r.de Layout]</span></li>
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=4">nojs</a> <span class="text-end">[For the nojs neckbeards, lol]</span></li>
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=5">Mobile</a> <span class="text-end">[The default Layout optimized for mobile usage]</span></li>
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=6">Marderchen</a> <span class="text-end">[Marderlayout, older version of the default layout but without async JS]</span></li>
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=7">2017</a> <span class="text-end">[w0bm.com from ~2017]</span></li>
|
||||
<li class="list-group-item"><a href="/api/user/layout?layout=8">2015</a> <span class="text-end">[The OG w0bm.com Layout]</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
@endsection
|
16
resources/views/layout8/stats.blade.php
Normal file
16
resources/views/layout8/stats.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header p-2">
|
||||
<h3>Stats</h3>
|
||||
</div>
|
||||
<div class="dark-bg">
|
||||
<div class="box">
|
||||
<p class="user_count">Total amount of registered users: <amount>{{$user_count}}</amount></p>
|
||||
<p class="upload_count">Total amount of uploads: <amount>{{$upload_count}}</amount></p>
|
||||
<p class="comment_count">Total amount of comments: <amount>{{$comment_count}}</amount></p>
|
||||
<p class="latest-video">Latest video <a href="/{{$latest_video}}">/{{$latest_video}}</a></p>
|
||||
<p class="newest_user">Newest user <a href="/user/{{$newest_user}}">/user/{{$newest_user}}</a></p>
|
||||
<p class="dirsize">Total size of w0bm: <amount>{{$dirsize}}</amount></p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
9
resources/views/layout8/tos.blade.php
Normal file
9
resources/views/layout8/tos.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<h5>Terms of Service</h5>
|
||||
<p>Being a member of w0bm.com can be described best with the following quote: <blockquote>„It's a privilege, not a right“</blockquote></p>
|
||||
<p>w0bm.com is a voluntary project provided to you free of charge for the sole purpose of enjoyment and amusement for you the users.</p>
|
||||
<p>You (the users) agree to read and accept the rules and behave accordingly when on w0bm.com</p>
|
||||
<p>w0bm.com can terminate accounts, comments and/or uploads at any time without any reason</p>
|
||||
<p>Hotlinking our direct video urls is not welcome, since it puts the whole collection in danger of copyright reports. Please do not share any direct links in frequently visited forums! w0bm.com may need to block hotlinking and direct url access if problems will occur, which has negative side effects for nearly everyone using this site on a daily basis.</p>
|
||||
@endsection
|
15
resources/views/layout8/transparency.blade.php
Normal file
15
resources/views/layout8/transparency.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h4>Transparency</h4>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Takedown notices and other shit</h5>
|
||||
<ul>
|
||||
<li><a href="/07072016-FSM.txt">07.07.2016 FSM Takedown Notice</a></li>
|
||||
<li><a href="/30012019-CTIRU.txt">30.01.2019 Metropolitan Police Service Terrorist Content Takedown Notice</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
58
resources/views/layout8/upload.blade.php
Normal file
58
resources/views/layout8/upload.blade.php
Normal file
@@ -0,0 +1,58 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
|
||||
<!-- later @include('partials.flash') -->
|
||||
|
||||
<div class="page-header p-2">
|
||||
<h3>Upload</h3>
|
||||
</div>
|
||||
|
||||
<div class="container p-2 dark-bg">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
@include('partials.flash')
|
||||
<div id="dragndrop" class="form-group col-md-3" data-uploadlimit="{{ isset($user) ? ($user->can('break_max_filesize') ? 'false' : 'true') : 'true' }}">
|
||||
<a id="dragndrop-link" href="#">
|
||||
<span style="display: table; width: 100%; height: 100%;">
|
||||
<span id="dragndrop-text">
|
||||
<i class="fa fa-cloud-upload"></i>
|
||||
Drop or select WebM!
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="list-group-item">{!! Form::text('videotitle', null, ['id' => 'videotitle', 'class' => 'form-control', 'placeholder' => 'Video Title']) !!}</li>
|
||||
<li class="list-group-item">{!! Form::text('interpret', null, ['id' => 'interpret', 'class' => 'form-control', 'placeholder' => 'Artist']) !!}</li>
|
||||
<li class="list-group-item">{!! Form::text('songtitle', null, ['id' => 'songtitle', 'class' => 'form-control', 'placeholder' => 'Songtitle']) !!}</li>
|
||||
<li class="list-group-item">{!! Form::text('imgsource', null, ['id' => 'imgsource', 'class' => 'form-control', 'placeholder' => 'Video Source']) !!}</li>
|
||||
<li class="list-group-item">
|
||||
<?php
|
||||
$categories = [];
|
||||
foreach(App\Models\Category::all() as $cat)
|
||||
$categories[$cat->id] = $cat->name;
|
||||
?>
|
||||
{!! Form::select('category', $categories, 8, ['id' => 'category', 'class' => 'form-control']) !!}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{!! Form::checkbox('nsfw', 'true', false, ['id' => 'nsfw']) !!} <label id="nsfw" for="nsfw" class="badge badge-danger">NSFW?</label>
|
||||
{!! Form::text('tags', null, ['id' => 'tags_upload', 'class' => 'row', 'placeholder' => 'Input tags...', 'name' => 'tags', 'data-role' => 'tagsinput']) !!}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="uploadButton">
|
||||
<button id="btn-upload" type="button" class="btn btn-dark btn-sm"><span class="laz0r">Fire the laz0r</span>
|
||||
<span class="" id="laz0r-fire"></span>
|
||||
<span class="hidden-xs" id="shoop-laz0r"></span>
|
||||
</button>
|
||||
<p>Before you fire the laz0r make sure you have read the <a href="/rules">Rules</a>! <br><i>With great power comes great responsibility</i></p>
|
||||
<p><b>10</b> uploads <b>every 12 hours.</b> – Maximum filesize: <b>40MB.</b> – Only <b>.webm (vp8/vp9) with sound</b> allowed. Need <a href="/webm">help?</a></p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<input name="file" type="file" hidden accept=".webm"></input>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
21
resources/views/layout8/video-partials/disqus.blade.php
Normal file
21
resources/views/layout8/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,47 @@
|
||||
<ul class="nav justify-content-center">
|
||||
<div class="monchichi">
|
||||
<li class="safe-for-rating legacy-item">
|
||||
<a class="badge video-id">{{$video->id}}</a>
|
||||
<a class="badge video-rating {{$sfw ? 'sfw' : 'nsfw'}}">{{$sfw ? "sfw" : "nsfw"}}</a>
|
||||
</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 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" 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>
|
||||
<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">
|
||||
|
||||
<button id="webm_edit" class="btn btn-dark" data-toggle="modal" data-target="#webmeditmodal"><i class="fa fa-edit fa-lg"></i></button>
|
||||
|
||||
<li class="legacy-item">
|
||||
<button id="webm_report" class="btn btn-dark" data-toggle="modal" data-target="#webmreportmodal"><i class="fa fa-warning fa-md"></i></button>
|
||||
</li>
|
||||
</div>
|
||||
</ul>
|
@@ -0,0 +1,35 @@
|
||||
<div class="row videonavigation">
|
||||
@if($related)
|
||||
@if(($prev = $video->getPrev($related)) === null)
|
||||
<div class="col- first-video"><a class="first" href="#" style="visibility: hidden;"><i class="fa fa-arrow-left"></i> first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="#" style="visibility: hidden;"><i class="fa fa-arrow-left"></i> prev</a> |
|
||||
@else
|
||||
<div class="col- first-video"><a class="first" href="{{url($related->baseurl(), $video->getFirstId($related))}}"><i class="fa fa-arrow-left"></i> first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="{{url($related->baseurl(), [$prev->id])}}"><i class="fa fa-arrow-left"></i> 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 <i class="fa fa-arrow-right"></i></a></div>
|
||||
<div class="col- latest-video"><a class="last" href="#" style="visibility: hidden;">last <i class="fa fa-arrow-right"></i></a></div>
|
||||
@else
|
||||
| <a id="next" href="{{url($related->baseurl(), [$next->id])}}">next <i class="fa fa-arrow-right"></i></a></div>
|
||||
<div class="col- latest-video"><a class="last" href="{{url($related->baseurl(), $video->getLastId($related))}}">last <i class="fa fa-arrow-right"></i></a></div>
|
||||
@endif
|
||||
@else
|
||||
@if(($prev = $video->getPrev()) === null)
|
||||
<div class="col- first-video"><a class="first" href="#" style="visibility: hidden;"><i class="fa fa-arrow-left"></i> first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="#" style="visibility: hidden;"><i class="fa fa-arrow-left"></i> prev</a> |
|
||||
@else
|
||||
<div class="col- first-video"><a class="first" href="{{url($video->getFirstId())}}"><i class="fa fa-arrow-left"></i> first</a></div>
|
||||
<div class="col video-navigation"><a id="prev" href="{{url($prev->id)}}"><i class="fa fa-arrow-left"></i> prev</a> |
|
||||
@endif
|
||||
<a href="{{url('/')}}">random</a>
|
||||
@if(($next = $video->getNext()) === null)
|
||||
| <a id="next" href="#" style="visibility: hidden;">next <i class="fa fa-arrow-right"></i></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 <i class="fa fa-arrow-right"></i></a></div>
|
||||
<div class="col- latest-video"><a class="last" href="{{url($video->getLastId())}}">last <i class="fa fa-arrow-right"></i></a></div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
@@ -0,0 +1,26 @@
|
||||
<div class="popover-metadata">
|
||||
<div class="filesize">
|
||||
<span class="dlwebm badge badge-secondary"><a class='file_size' href='{{ '/b/' . $video->file }}' download>{{ HumanReadable::bytesToHuman($video->filesize()) }}</a></span>
|
||||
</div>
|
||||
@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> @simplemd($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>
|
@@ -0,0 +1,26 @@
|
||||
<div class="details bg-dark sticky-top">
|
||||
@if (!empty($__env->yieldContent('novidcontent')))
|
||||
{{-- nix --}}
|
||||
@else
|
||||
@endif
|
||||
@if(Auth::check())
|
||||
<div class="details_user">
|
||||
@if(Auth::user()->messagesRecv()->unread()->count() < 1)
|
||||
<span class="nomsg">|</span> <span><a href="{{url('messages')}}">[{{Auth::user()->messagesRecv()->unread()->count()}}]</a></span>@else
|
||||
<span class="yesmg">|</span> <span><a href="{{url('messages')}}">[{{Auth::user()->messagesRecv()->unread()->count()}}]</a></span>@endif</span>
|
||||
<a href="{{url('user', Auth::user()->username)}}">{{Auth::user()->username}}</a>
|
||||
<a href="{{url('user', Auth::user()->username)}}/favs"><span class=""><i class="fa fa-heart"></i></span></a>
|
||||
<a href="#" data-toggle="modal" data-target="#filterselectmodal">Filter</a>
|
||||
<a href="{{url('upload')}}">Upload</a>
|
||||
<a class="logout" href="{{url('logout')}}">Logout</a>
|
||||
</div>
|
||||
@else
|
||||
{{-- nix --}}
|
||||
@endif
|
||||
|
||||
@if($video->videotitle)
|
||||
<div class="videoTitle">
|
||||
{{$video->videotitle}}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
12
resources/views/layout8/video-partials/video-fav.blade.php
Normal file
12
resources/views/layout8/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,34 @@
|
||||
<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>
|
||||
gfgf
|
||||
<a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@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>
|
42
resources/views/layout8/video.blade.php
Normal file
42
resources/views/layout8/video.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('layout')
|
||||
@section('video')
|
||||
<?php $related = $related ?? null; ?>
|
||||
<div class="video-content">
|
||||
<div class="video">
|
||||
<div class="embed-responsive embed-responsive-16by9">
|
||||
<video id="video" class="video embed-responsive-item" loop preload="auto" crossorigin="anonymous">
|
||||
<source src="//w0bm.com/b{{ "/" . $video->file }}">
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
@include('video-partials.legacy-videonav')
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('testvideo')
|
||||
<?php $related = $related ?? null; ?>
|
||||
<div class="page">
|
||||
<div class="video-wrap embed-responsive embed-responsive-16by9">
|
||||
<div class="video">
|
||||
<video id="video" class="video embed-responsive-item" loop preload="auto" crossorigin="anonymous">
|
||||
<source src="//w0bm.com/b{{ "/" . $video->file }}">
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
@include('video-partials.legacy-videonav')
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('floatvid')
|
||||
<div class="video-wrap embed-responsive embed-responsive-16by9" id="sticky-container">
|
||||
@if($video->id == '27204')
|
||||
<iframe src="https://w0bm.com/loop/index.html"></iframe>
|
||||
@else
|
||||
<video class="video scrollable" loop id="video">
|
||||
<source src="//w0bm.com/b{{ "/" . $video->file }}">
|
||||
</video>
|
||||
@endif
|
||||
</div>
|
||||
@include('video-partials.legacy-videonav')
|
||||
@include('video-partials.legacy-metadata')
|
||||
@endsection
|
59
resources/views/layout8/webm.blade.php
Normal file
59
resources/views/layout8/webm.blade.php
Normal file
@@ -0,0 +1,59 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header">
|
||||
<h3>WebM Support</h3>
|
||||
<p>How 2 make a webm</p>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h4>Chad <small>(not afraid of using the command line)</small></h4>
|
||||
<img src="/images/gigachad.png" style="float:left;width:150px;" alt="gigachad">
|
||||
<pre><code>#The based white man way
|
||||
|
||||
ffmpeg -i virgin.mp4 chad.webm #single file, very simple
|
||||
|
||||
#You can add this to your .bashrc
|
||||
|
||||
function mkwebmbatch() {
|
||||
for i in *.$1;
|
||||
do name=`basename "$i" .$1`
|
||||
echo "$name"
|
||||
ffmpeg -i "$i" -c:v libvpx -c:a libvorbis -auto-alt-ref 0 -crf 5 "$PWD/${name}.webm"
|
||||
done
|
||||
}
|
||||
|
||||
function mkwebm() {
|
||||
filename=$(basename -- "$1")
|
||||
extension="${filename##*.}"
|
||||
filename="${filename%.*}"
|
||||
name=`basename "$filename" .$extension`
|
||||
echo "$name"
|
||||
ffmpeg -i "$1" -c:v libvpx -c:a libvorbis -auto-alt-ref 0 -crf 5 "$HOME/Videos/converts/$name.webm"
|
||||
}
|
||||
|
||||
function stillvid() {
|
||||
#stillvid image.jpg music.mp3 $3.<webm>
|
||||
ffmpeg -i "$1" -i "$2" -c:a libvorbis -auto-alt-ref 0 -c:v libvpx $3.webm
|
||||
}
|
||||
|
||||
#Notable mentions
|
||||
|
||||
* https://github.com/ekisu/mpv-webm
|
||||
|
||||
* https://github.com/Kagami/webm.py
|
||||
|
||||
# If using webm.py a good line to get a high quality video would be
|
||||
|
||||
# (assuming you have it in your path)
|
||||
webm -i virgin.mp4 -l 40 chad.webm #this will produce a vp9 webm with decent image quality
|
||||
</code></pre>
|
||||
</div>
|
||||
<h1 style="text-align:center;">VS</h1>
|
||||
<div class="box">
|
||||
<h4>Virgin</h4>
|
||||
<img src="/images/virgin.png" style="float:left;width:150px;" alt="gigachad">
|
||||
<ul>
|
||||
<li><a href="https://github.com/Kagami/boram">Boram by Kagami</a></li>
|
||||
<li><a href="https://gitgud.io/nixx/WebMConverter">WebMConverter by nixx!</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user