fixed mobile uploading and some other shit I cant remember rn
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 1.4 MiB |
@@ -120,7 +120,7 @@ Route::group(["middleware" => "theme"], function() {
|
||||
Route::get('todo', function() { return view('todo'); })->middleware('auth');
|
||||
Route::get('contact', function() { return view('contact'); });
|
||||
#Route::get('terms', function() { return view('tos'); })->middleware('auth');
|
||||
Route::get('privacy', function() { return view('privacy'); })->middleware('auth');
|
||||
Route::get('privacy', function() { return view('privacy'); });
|
||||
Route::get('stats', function() {
|
||||
return view('stats', [
|
||||
'user_count' => \App\Models\User::count(),
|
||||
@@ -149,7 +149,7 @@ Route::group(["middleware" => "theme"], function() {
|
||||
# ]);
|
||||
#});
|
||||
#Route::get('login', function() { return view('login'); });
|
||||
Route::get('donations', function() { return view('donation'); });
|
||||
Route::get('donations', function() { return view('donation'); })->middleware('auth');
|
||||
Route::get('login', 'UserController@loggain');
|
||||
#Route::get('counter-strike', function() { return view('counter-strike'); });
|
||||
|
||||
@@ -182,4 +182,4 @@ Route::group(["middleware" => "theme"], function() {
|
||||
return $form;
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -40,9 +40,11 @@ return [
|
||||
'contrast' => -3,
|
||||
],
|
||||
'mini' => [
|
||||
'length' => 3,
|
||||
'width' => 60,
|
||||
'height' => 32,
|
||||
'length' => 7,
|
||||
'width' => 125,
|
||||
'height' => 32,
|
||||
'bgImage' => false,
|
||||
'bgColor' => '#131313',
|
||||
],
|
||||
'inverse' => [
|
||||
'length' => 5,
|
||||
|
20
public/css/w0bmcustom.css
vendored
20
public/css/w0bmcustom.css
vendored
@@ -8,7 +8,7 @@
|
||||
font-family: 'Oswald';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Oswald_Cyrillic.woff2) format('woff2');
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Oswald_Cyrillic.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* vietnamese */
|
||||
@@ -16,7 +16,7 @@
|
||||
font-family: 'Oswald';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Odwald_Vietnamese.woff2) format('woff2');
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Odwald_Vietnamese.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@@ -24,7 +24,7 @@
|
||||
font-family: 'Oswald';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Oswald_Latin_ext.woff2) format('woff2');
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Oswald_Latin_ext.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@@ -32,7 +32,7 @@
|
||||
font-family: 'Oswald';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Oswald_latin.woff2) format('woff2');
|
||||
src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Oswald_latin.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
/* Oswal Test End */
|
||||
@@ -44,7 +44,7 @@
|
||||
font-family: 'Play';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtg2H68T.woff2) format('woff2');
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtg2H68T.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@@ -52,7 +52,7 @@
|
||||
font-family: 'Play';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtE2H68T.woff2) format('woff2');
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtE2H68T.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek */
|
||||
@@ -60,7 +60,7 @@
|
||||
font-family: 'Play';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtY2H68T.woff2) format('woff2');
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtY2H68T.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* vietnamese */
|
||||
@@ -68,7 +68,7 @@
|
||||
font-family: 'Play';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvto2H68T.woff2) format('woff2');
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvto2H68T.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@@ -76,7 +76,7 @@
|
||||
font-family: 'Play';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvts2H68T.woff2) format('woff2');
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvts2H68T.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@@ -84,7 +84,7 @@
|
||||
font-family: 'Play';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtU2Hw.woff2) format('woff2');
|
||||
src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtU2Hw.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
/* Play Font End */
|
||||
|
@@ -1,7 +1,60 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
@include('partials.flash')
|
||||
|
||||
user limit reached 6969
|
||||
|
||||
<div class="page-header">
|
||||
<h5>Register your w0bm.com Account</h5>
|
||||
<p style="color:red;">Note: I do not reset passwords, make sure to pick a strong password which you can remember, write down/save to your keepass to not lose access, otherwise you would need to create a new account!</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 | Must be valid! Confirmation will be sent out']) !!}
|
||||
</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">
|
||||
{!!captcha_img('mini')!!} <input class="form-control" type="text" name="captcha" placeholder="Verify Captcha">
|
||||
</div>
|
||||
<div class="form-group terms">
|
||||
<div style="text-align: center;">
|
||||
<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="">
|
||||
<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
|
||||
|
||||
|
@@ -1,8 +1,7 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3 id="index">Index</h3>
|
||||
|
||||
<h3 id="index">Index <small>{{ count($videos) }} results</small></h3>
|
||||
<form method="get">
|
||||
<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']) !!}
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<div class="box">
|
||||
<h5>What do we log?</h5>
|
||||
<p>We log any request made to our website, this includes the following information:</p>
|
||||
<p>We log any request made to our website using the webserver access log, this includes the following information:</p>
|
||||
<ul>
|
||||
<li>Unique visitors per day</li>
|
||||
<li>Requested file urls</li>
|
||||
@@ -16,11 +16,15 @@
|
||||
<li>Referrer URLs</li>
|
||||
<li>Referring Sites</li>
|
||||
</ul>
|
||||
<p>These logs are being checked out occasionally by myself to see whats happening on good old w0bm</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 or Discord</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>
|
||||
<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) You can see the details of the cookies in your browser.</p>
|
||||
</div>
|
||||
@if(auth()->check())
|
||||
@include('footer')
|
||||
@else
|
||||
@endif
|
||||
@endsection
|
||||
|
@@ -23,7 +23,6 @@
|
||||
<link rel="stylesheet" href="/css/video-js.min.css">
|
||||
<link rel="stylesheet" href="/css/simplebar.css" />
|
||||
<link rel="stylesheet" href="/css/vjsnew.css?v=1.1.1">
|
||||
<link rel="stylesheet" type="text/css" href="/css/perfect-scrollbar.css">
|
||||
<link rel="alternate stylesheet" href="/css/chilledblue.css?v={{ filemtime("css/chilledblue.css") }}" title="Chilledblue">
|
||||
<link rel="alternate stylesheet" href="/css/xayd.css?v={{ filemtime("css/xayd.css") }}" title="Xayd">
|
||||
<link rel="alternate stylesheet" href="/css/glitch.css?v={{ filemtime("css/glitch.css") }}" title="Glitch">
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<h3>Stats</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<p class="user_count">Total amount of registered users: <amount>{{$user_count}}</amount></p>
|
||||
<p class="user_count">Total amount of registered users: <amount>{{$user_count}}</amount> / 3000</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>
|
||||
|
@@ -144,7 +144,7 @@
|
||||
<div class="centered">
|
||||
<div class="modal-content col-md-5">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="filterModalTitle">Login</h4> <span>to watch this webbum</span>
|
||||
<h4 class="modal-title" id="filterModalTitle">Login</h4>
|
||||
</div>
|
||||
@include('partials.flash')
|
||||
<div class="login_wrapper">
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="/contact">Contact</a> | <a href="/irc">IRC</a>
|
||||
<a href="/privacy">Privacy</a> | <a href="/contact">Contact</a> | <a href="/irc">IRC</a>
|
||||
</div>
|
||||
</div>
|
||||
<div hidden class="testthumbnailslol">
|
||||
|
@@ -9,7 +9,6 @@
|
||||
</button>
|
||||
<a class="navbar-brand" href="/">
|
||||
<img src="{{ asset('logo.svg') }}" alt="w0bm.com">
|
||||
<p>mobile</p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
@@ -3,5 +3,74 @@
|
||||
<div class="uploadheader">
|
||||
<h3 id="upheader">Upload</h3>
|
||||
</div>
|
||||
<h5>Sorry, but uploading from mobile devices is not allowed at the moment!</h5>
|
||||
<div class="wrapper">
|
||||
<div class="ulcontainer" style="white-space: nowrap; padding: 0px; height: 100%;">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('videotitle', null, ['id' => 'videotitle', 'class' => 'form-control', 'placeholder' => 'Video Title']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
{!! Form::text('interpret', null, ['id' => 'interpret', 'class' => 'form-control', 'placeholder' => 'Artist']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('songtitle', null, ['id' => 'songtitle', 'class' => 'form-control', 'placeholder' => 'Songtitle']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('imgsource', null, ['id' => 'imgsource', 'class' => 'form-control', 'placeholder' => 'Video Source']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
<?php
|
||||
$categories = [];
|
||||
foreach(App\Models\Category::all() as $cat)
|
||||
$categories[$cat->id] = $cat->name;
|
||||
?>
|
||||
{!! Form::select('category', $categories, 8, ['id' => 'category', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="blah">
|
||||
{!! Form::checkbox('nsfw', 'true', false, ['id' => 'nsfw']) !!} <label id="nsfw" for="nsfw">NSFW?</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="ultags">
|
||||
{!! Form::text('tags', null, ['id' => 'tags_upload', 'class' => 'form-control', 'placeholder' => 'Input tags...', 'name' => 'tags', 'data-role' => 'tagsinput']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@include('partials.flash')
|
||||
<br>
|
||||
<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><br>
|
||||
Drop or select WebM!
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<button id="btn-upload" type="button" style="width: 100%; height: 40px;" class="btn btn-primary 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 style="text-align:center; padding-top: 5px; white-space: normal;">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 style="text-align:center; padding-top: 5px; white-space: normal;"><span id="big">10</span> uploads <span id="big">every 12 hours.</span> – Maximum filesize: <span id="big">40MB.</span> – Only <span id="big">.webm (vp8/vp9) with sound</span> allowed. Need <a href="/webm">help?</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<input name="file" type="file" class="hidden" accept=".webm"></input>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user