some changes to the login page for non authed users. And also added a new layout with the id 6 only for marderchen to fix his async issues with older browsers
This commit is contained in:
7
resources/views/layout6/errors/404.blade.php
Normal file
7
resources/views/layout6/errors/404.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="notfound">
|
||||
<h1>404 - NOT FOUND</h1>
|
||||
<img id="notfound-img" src="/404.gif">
|
||||
</div>
|
||||
@endsection
|
42
resources/views/layout6/errors/500.blade.php
Normal file
42
resources/views/layout6/errors/500.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<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;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h5>Oh shit! 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>
|
||||
@include('footer')
|
||||
@endsection
|
47
resources/views/layout6/errors/503.blade.php
Normal file
47
resources/views/layout6/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>
|
Reference in New Issue
Block a user