mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Updated maintenance views
This commit is contained in:
parent
a8d5d4a446
commit
8e5977ad84
|
@ -14,6 +14,7 @@ class Kernel extends HttpKernel
|
|||
* @var array
|
||||
*/
|
||||
protected $middleware = [
|
||||
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\FrameGuard::class,
|
||||
|
|
|
@ -1,47 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Be right back.</title>
|
||||
@extends('layouts/basic')
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
|
||||
{{-- Page title --}}
|
||||
@section('title')
|
||||
System Unavailable
|
||||
@parent
|
||||
@stop
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
{{-- Page content --}}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
}
|
||||
@section('content')
|
||||
|
||||
.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">Be right back.</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="error-page" style="padding-top: 200px">
|
||||
<img src="{{ \URL::to('/') }}/assets/img/sad-panda.png" style="width: 200px; height: 200px;" class="pull-left">
|
||||
<div class="error-content">
|
||||
<h2><i class="fa fa-warning text-yellow"></i> System Unavailable</h2>
|
||||
<p>
|
||||
{!! json_decode(file_get_contents(storage_path('framework/down')), true)['message'] !!}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
|
|
@ -59,7 +59,10 @@
|
|||
<body class="hold-transition login-page">
|
||||
|
||||
@if (($snipeSettings) && ($snipeSettings->logo!=''))
|
||||
<center><img class="logo" style="padding-top: 20px; padding-bottom: 10px;" src="{{ config('app.url') }}/uploads/{{ $snipeSettings->logo }}"></center>
|
||||
<center>
|
||||
<img class="logo" style="padding-top: 20px; padding-bottom: 10px;" src="{{ \URL::to('/') }}/uploads/{{ $snipeSettings->logo }}">
|
||||
poop
|
||||
</center>
|
||||
@endif
|
||||
<!-- Content -->
|
||||
@yield('content')
|
||||
|
|
Loading…
Reference in a new issue