mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
File Explorer update + Permission update
This commit is contained in:
@@ -1,90 +1,9 @@
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@extends('errors.layout')
|
||||
|
||||
<title>Error</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {
|
||||
background-color: #fff;
|
||||
color: #636b6f;
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-weight: 100;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.position-ref {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 36px;
|
||||
padding: 20px;
|
||||
}
|
||||
.loader{
|
||||
text-align: center;
|
||||
}
|
||||
.loader-bg{
|
||||
width: 70px;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.loader-spinner {
|
||||
position: relative;
|
||||
border: 16px solid #f3f3f3;
|
||||
border-top: 16px solid #272c33;
|
||||
border-radius: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
animation: spin 2s linear infinite;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
top: -163px;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<h1 class="glitch" data-text="500" style="font-size: 20rem;margin:0px;">401</h1>
|
||||
</div>
|
||||
<div class="loader">
|
||||
<img class="loader-bg" src="/images/leaf_of_canada.png"></img>
|
||||
<div class="loader-spinner"></div>
|
||||
</div>
|
||||
<div class="title">
|
||||
Oups ... Vous n'avez pas l'autorisation de venir ici {{ $exception->getMessage() }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
@section('title', __('Non autorisé'))
|
||||
@section('code')
|
||||
<span>4</span><span>0</span><span>1</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, vous n\'avez pas l\'autorisation d\'être ici.')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','https://developer.mozilla.org/fr/docs/Web/HTTP/Status/401')
|
||||
|
||||
9
resources/views/errors/403.blade.php
Normal file
9
resources/views/errors/403.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('errors.layout')
|
||||
|
||||
@section('title', __('Accès refusé'))
|
||||
@section('code')
|
||||
<span>4</span><span>0</span><span>3</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, le serveur a compris la requête, mais refuse de l\'exécuter.')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','https://developer.mozilla.org/fr/docs/Web/HTTP/Status/403')
|
||||
@@ -1,90 +1,9 @@
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@extends('errors.layout')
|
||||
|
||||
<title>Error</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {
|
||||
background-color: #fff;
|
||||
color: #636b6f;
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-weight: 100;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.position-ref {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 36px;
|
||||
padding: 20px;
|
||||
}
|
||||
.loader{
|
||||
text-align: center;
|
||||
}
|
||||
.loader-bg{
|
||||
width: 70px;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.loader-spinner {
|
||||
position: relative;
|
||||
border: 16px solid #f3f3f3;
|
||||
border-top: 16px solid #272c33;
|
||||
border-radius: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
animation: spin 2s linear infinite;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
top: -163px;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<h1 class="glitch" data-text="500" style="font-size: 20rem;margin:0px;">404</h1>
|
||||
</div>
|
||||
<div class="loader">
|
||||
<img class="loader-bg" src="/images/leaf_of_canada.png"></img>
|
||||
<div class="loader-spinner"></div>
|
||||
</div>
|
||||
<div class="title">
|
||||
Oups ... Il n'y a malheureusement rien là {{ $exception->getMessage() }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
@section('title', __('Page introuvable'))
|
||||
@section('code')
|
||||
<span>4</span><span>0</span><span>4</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, la page demandée ne semble pas exister.')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','https://developer.mozilla.org/fr/docs/Web/HTTP/Status/404')
|
||||
|
||||
9
resources/views/errors/419.blade.php
Normal file
9
resources/views/errors/419.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('errors.layout')
|
||||
|
||||
@section('title', __('Page expiré'))
|
||||
@section('code')
|
||||
<span>4</span><span>1</span><span>9</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, la page a expiré.')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','')
|
||||
9
resources/views/errors/429.blade.php
Normal file
9
resources/views/errors/429.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('errors.layout')
|
||||
|
||||
@section('title', __('Trop de requêtes'))
|
||||
@section('code')
|
||||
<span>4</span><span>2</span><span>9</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, mais le client a émis trop de requêtes. ')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','https://developer.mozilla.org/fr/docs/Web/HTTP/Status/429')
|
||||
@@ -1,90 +1,10 @@
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
@extends('errors.layout')
|
||||
|
||||
<title>Error</title>
|
||||
@section('title', __('Erreur interne'))
|
||||
@section('code')
|
||||
<span>5</span><span>0</span><span>0</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, le serveur a rencontré une exception.')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','https://developer.mozilla.org/fr/docs/Web/HTTP/Status/500')
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Styles -->
|
||||
<style>
|
||||
html, body {
|
||||
background-color: #fff;
|
||||
color: #636b6f;
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-weight: 100;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.position-ref {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 36px;
|
||||
padding: 20px;
|
||||
}
|
||||
.loader{
|
||||
text-align: center;
|
||||
}
|
||||
.loader-bg{
|
||||
width: 70px;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.loader-spinner {
|
||||
position: relative;
|
||||
border: 16px solid #f3f3f3;
|
||||
border-top: 16px solid #272c33;
|
||||
border-radius: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
animation: spin 2s linear infinite;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
top: -163px;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex-center position-ref full-height">
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<h1 class="glitch" data-text="500" style="font-size: 20rem;margin:0px;">500</h1>
|
||||
</div>
|
||||
<div class="loader">
|
||||
<img class="loader-bg" src="/images/leaf_of_canada.png"></img>
|
||||
<div class="loader-spinner"></div>
|
||||
</div>
|
||||
<div class="title">
|
||||
Oups ... Le serveur n'aime pas ça, svp laisser lui le temps de soufler {{ $exception->getMessage() }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
9
resources/views/errors/503.blade.php
Normal file
9
resources/views/errors/503.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('errors.layout')
|
||||
|
||||
@section('title', __('Service indisponible'))
|
||||
@section('code')
|
||||
<span>5</span><span>0</span><span>3</span>
|
||||
@endsection
|
||||
@section('message', 'Nous sommes désolé, mais le service est temporairement indisponible ou en maintenance.')
|
||||
@section('error',$exception->getMessage())
|
||||
@section('url','https://developer.mozilla.org/fr/docs/Web/HTTP/Status/503')
|
||||
194
resources/views/errors/layout.blade.php
Normal file
194
resources/views/errors/layout.blade.php
Normal file
@@ -0,0 +1,194 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
|
||||
<title>@yield('title') - C-CMS</title>
|
||||
|
||||
<!-- Google font -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:900" rel="stylesheet">
|
||||
<script src="/js/plugins/fontawesome/js/all.min.js"></script>
|
||||
|
||||
<!-- Custom stlylesheet -->
|
||||
<link type="text/css" rel="stylesheet" href="css/style.css" />
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<style>
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#notfound {
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
#notfound .notfound {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.notfound {
|
||||
max-width: 520px;
|
||||
width: 100%;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.notfound .notfound-404 {
|
||||
position: relative;
|
||||
height: 240px;
|
||||
}
|
||||
|
||||
.notfound .notfound-404 h1 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 252px;
|
||||
font-weight: 900;
|
||||
margin: 0px;
|
||||
color: #262626;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: -40px;
|
||||
margin-left: -20px;
|
||||
}
|
||||
|
||||
.notfound .notfound-404 h1>span {
|
||||
text-shadow: -8px 0px 0px #fff;
|
||||
}
|
||||
|
||||
.notfound .notfound-404 h3 {
|
||||
font-family: 'Cabin', sans-serif;
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
color: #262626;
|
||||
margin: 0px;
|
||||
letter-spacing: 3px;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.notfound h2{
|
||||
font-family: 'Cabin', sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
color: #000;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: 'Cabin', sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
color: #262626;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.help {
|
||||
float: right;
|
||||
margin-right: 8%;
|
||||
color: #262626;
|
||||
}
|
||||
|
||||
.animate {
|
||||
animation: blinker 1.75s linear infinite;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 50px;
|
||||
margin: 8px 10px 8px 15px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.notfound .notfound-404 {
|
||||
height: 200px;
|
||||
}
|
||||
.notfound .notfound-404 h1 {
|
||||
font-size: 200px;
|
||||
}
|
||||
.help {
|
||||
margin-right: 15%;
|
||||
}
|
||||
img {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
.notfound .notfound-404 {
|
||||
height: 162px;
|
||||
}
|
||||
.notfound .notfound-404 h1 {
|
||||
font-size: 162px;
|
||||
height: 150px;
|
||||
line-height: 162px;
|
||||
}
|
||||
.notfound h2 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blinker {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="notfound">
|
||||
<img src="/images/C-CMS_G.png">
|
||||
{{ Breadcrumbs::render() }}
|
||||
<div class="notfound">
|
||||
<div class="notfound-404">
|
||||
<h3>Oops! @yield('title')</h3>
|
||||
<h1>@yield('code')</h1>
|
||||
<a target="_blank" class="animate" href="@yield('url')">
|
||||
<i class="fas fa-question-circle help"></i>
|
||||
</a>
|
||||
</div>
|
||||
<h2>@yield('message')</h2>
|
||||
<h3>@yield('error')</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body><!-- This templates was made by Colorlib (https://colorlib.com) -->
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user