mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Merge pull request #11136 from snipe/fixes/new_maintenance_page
Fixed #11124 - updated maintenance page
This commit is contained in:
commit
3e34027ae0
|
@ -354,4 +354,6 @@ return [
|
|||
'checkout_tooltip' => 'Check this item out',
|
||||
'checkin_tooltip' => 'Check this item in',
|
||||
'checkout_user_tooltip' => 'Check this item out to a user',
|
||||
'maintenance_mode' => 'The service is temporarily unavailable for system updates. Please check back later.',
|
||||
'maintenance_mode_title' => 'System Temporarily Unavilable',
|
||||
];
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{{-- Page title --}}
|
||||
@section('title')
|
||||
System Unavailable
|
||||
{{ trans('general.maintenance_mode_title') }}
|
||||
@parent
|
||||
@stop
|
||||
|
||||
|
@ -11,35 +11,34 @@ System Unavailable
|
|||
@section('content')
|
||||
|
||||
|
||||
<style>
|
||||
p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9 col-md-offset-1">
|
||||
<div class="col-md-2">
|
||||
<img src="{{ url('/') }}/img/sad-panda.png" class="pull-right" style="width: 140px; height: 140px;">
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="callout callout-danger">
|
||||
<h2><i class="icon fas fa-exclamation-triangle"></i> System Unavailable</h2>
|
||||
<p>{!! json_decode(file_get_contents(storage_path('framework/down')), true)['message'] !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="box box-warning">
|
||||
|
||||
<div class="box-header with-border">
|
||||
<h1 class="box-title">
|
||||
<i class="fas fa-exclamation-triangle text-orange" aria-hidden="true"></i>
|
||||
{{ trans('general.maintenance_mode_title') }}
|
||||
</h1>
|
||||
</div><!-- /.box-header -->
|
||||
|
||||
<div class="box-body">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-2">
|
||||
<img src="{{ url('/') }}/img/sad-panda.png" class="pull-right" style="width: 140px; height: 140px;">
|
||||
</div>
|
||||
<div class="alert alert-warning fade in">
|
||||
<h2> {{ trans('general.maintenance_mode') }}</h2>
|
||||
</div>
|
||||
|
||||
</div> <!-- /.div -->
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@stop
|
||||
|
|
Loading…
Reference in a new issue