some minor changes to the login wall

This commit is contained in:
noxy
2019-11-19 11:03:17 +00:00
parent e81dffd187
commit 5fc7bf3036
11 changed files with 104 additions and 55 deletions

View File

@@ -44,14 +44,18 @@
@include('partials.frontendedit')
@endif
@endif
@if(auth()->check())
<canvas class="hidden-xs" id="bg"></canvas>
@else
<video id="placeholder" src="placeholder.webm" autoplay="" muted="" loop=""></video>
@endif
@include('partials.navigation')
<div class="wrapper">
@yield('aside')
<div style="width: auto; overflow: hidden; position: relative;">
<noscript><div class="no-js">Javascript is disabled, you may want to use our nojs frontend? Click <a href="/api/user/layout?layout=4">here</a></div></noscript>
<noscript><div class="no-js-mode" style="position: fixed;bottom: 0;right: 0;">nojs</div></noscript>
<div class=" container">
@yield('content')
</div>
@@ -67,7 +71,6 @@
<script src="/js/jquery.timeago.js"></script>
<script src="/js/jquery.detectmobilebrowser.js"></script>
<script src="/js/video.min.js"></script>
<script src="/js/raven.min.js"></script>
<script src="/js/simplebar.js"></script>
<script src="/js/clipboard.min.js"></script>
<script>

View File

@@ -1,33 +1,25 @@
@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>
<div class="centered">
<div class="modal-content col-md-5">
<div class="modal-header">
<h4 class="modal-title" id="filterModalTitle">Login</h4>
</div>
@include('partials.flash')
<div class="login_wrapper">
<div class="col-md">
<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">
<a href="/contact">Contact</a> | <a href="/irc">IRC</a>
</div>
</div>
</div>
<div hiden class="nodisplay">
<div class="wrap-collabsible">
<input id="collapsible" class="toggle" type="checkbox">
<label for="collapsible" class="lbl-toggle">Login</label>
<div class="collapsible-content">
<div class="content-inner">
<div class="centered">
<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-primary">Login</button>
<a href="{{url('register')}}" class="btn btn-success disabled">Register</a>
</form>
</div>
<p>w0bm now supports a javascript free experience, check it out if you dont like js that much</p>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -18,39 +18,48 @@
<link rel="stylesheet" href="/css/w0bmfonts.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/bootstrap-tagsinput.css">
<link rel="stylesheet" href="/css/w0bmcustom.css?v={{ filemtime("css/w0bmcustom.css") }}">
@if(auth()->check())
<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" href="/css/w0bmcustom.css?v={{ filemtime("css/w0bmcustom.css") }}">
<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">
<link rel="alternate stylesheet" href="/css/epilepsie.css?v={{ filemtime("css/epilepsie.css") }}" title="Epilepsie">
<script src="/js/styleswitcher.js"></script>
@else
@endif
</head>
<body>
@if(auth()->check())
@include('partials.handlebars')
@else
@endif
@if(auth()->check())
@include('partials.filterselect')
@if(isset($user) && auth()->user()->can('edit_user'))
@include('partials.banmenu')
@endif
@endif
@if(auth()->check())
<canvas id="bg" @if(!Session::get('background', true)) style="display: none;"@endif></canvas>
@else
@endif
@include('partials.navigation')
<div class="wrapper">
@yield('aside')
<div style="width: auto; overflow: hidden; position: relative;">
<div class="fucklaravel">
<noscript><div class="no-js-profile">Javascript is disabled, enable to use all of w0bms features!</div></noscript>
<noscript><div class="no-js-mode" style="position: fixed;bottom: 0;right: 0;">nojs</div></noscript>
@yield('content')
</div>
</div>
</div>
@if(auth()->check())
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/bootstrap-tagsinput.min.js"></script>
@@ -58,12 +67,8 @@
<script src="/js/imagesloaded.pkgd.min.js"></script>
<script src="/js/handlebars.min.js"></script>
<script src="/js/jquery.timeago.js"></script>
<script src="/js/raven.min.js"></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>
@else
@endif
</body>
</html>

View File

@@ -139,10 +139,13 @@
{{$video->tesThumb()}}
<div class="centered">
<div class="modal-content col-md-5">
<div class="alert alert-info" role="alert">
Accepting z0rfugees, please visit us in the <a href="/irc">IRC</a>
</div>
<div class="modal-header">
<h4 class="modal-title" id="filterModalTitle">Login</h4> <span>to watch this webbum</span>
</div>
@include('partials.flash')
<div class="login_wrapper">
<div class="col-md">
<form action="{{action('UserController@login')}}" method="post" class="navbar-form">
@@ -174,9 +177,9 @@
</div>
</div>
</div>
<div class="modal-footer">
<p>Enjoy your stay! :3</p>
</div>
<div class="modal-footer">
<a href="/contact">Contact</a> | <a href="/irc">IRC</a>
</div>
</div>
</div>
@endif