Hotfix for Layout 2 regarding display of sfw variable and other minor improvements and or changes

This commit is contained in:
noxy
2019-10-08 21:39:42 +00:00
parent 4682e65af9
commit 7ffef2472b
13 changed files with 111 additions and 28 deletions

View File

@@ -1,9 +1,61 @@
@extends('layout')
@section('content')
<div class="centershock" style="text-align: center;">
<p class="forbidden">999999 - closed l0l</p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/unRldLdllZ8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
@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="">
</div>
</div>
<div class="form-group terms">
<div style="text-align: center;">
<p><input type="checkbox" checked 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

View File

@@ -4,4 +4,5 @@
<img src="/images/404-video.png">
<p>Possible reasons: Your video was shit, broke a rule or the ID you tried to watch does not even exist (yet)</p>
<p>Go <a href="/">back</a> to the normal rotation</p>
@endsection

View File

@@ -12,7 +12,7 @@
<meta property="og:site_name" content="w0bm.com" />
<meta property="og:title" content="@if(isset($video)){{$video->videotitle}}@endif">
@if(auth()->check())<meta property="og:description" content="Tags:@if(isset($video)) {{ $video->getTagListAttribute() }} @endif">@endif
<meta property="og:image" content="@if(isset($video))/thumbs/{{str_replace(".webm","",$video->file)}}.gif"@endif/>
<meta property="og:image" content="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif/>
@if(auth()->check())<meta property="og:video" content="@if(isset($video))/b/{{ $video->file }} @endif">@endif
<meta property="og:url" content="@if(isset($video))/{{ $video->id }}@endif">
<meta property="og:video:type" content="video/webm">
@@ -82,11 +82,6 @@ clipboard.on('error', function(e) {
console.error('Trigger:', e.trigger);
});
</script>
@if(env('SENTRY_PUBLIC'))
<script>
Raven.config('{{ env("SENTRY_PUBLIC") }}').install()
</script>
@endif
<script src="/js/w0bmscript.js?v={{ filemtime("js/w0bmscript.js") }}"></script>
@if(isset($video))
@else

View File

@@ -1,5 +1,6 @@
@extends('layout')
@section('content')
@include('partials.flash')
<div class="page-header">
<h5>Spurleys Super Dooper Login Screen</h5>
<p>Log into your w0bm.com Account</p>
@@ -7,7 +8,6 @@
<div hiden class="nodisplay">
<div class="wrap-collabsible">
@include('partials.flash')
<input id="collapsible" class="toggle" type="checkbox">
<label for="collapsible" class="lbl-toggle">Login</label>
<div class="collapsible-content">

View File

@@ -1,6 +1,9 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<div class="page">
{!! $videos->render() !!}
</div>
<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']) !!}
@@ -25,8 +28,4 @@
</div>
@endforeach
</div>
<div class="page">
{!! $videos->render() !!}
</div>
@endsection