mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Error page style improvements
This commit is contained in:
parent
3b0d29bed0
commit
22384aaa2e
@ -1877,7 +1877,7 @@ msgstr ""
|
||||
msgid "Stack trace"
|
||||
msgstr ""
|
||||
|
||||
msgid "This page does not exists"
|
||||
msgid "This page does not exist"
|
||||
msgstr ""
|
||||
|
||||
msgid "You will be redirected to the default page in %s seconds"
|
||||
|
@ -5,7 +5,7 @@
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="alert alert-danger">{{ $__t('You are not allowed to view this page') }}</div>
|
||||
<h1 class="alert alert-danger">{{ $__t('You are not allowed to view this page') }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
@ -6,8 +6,8 @@
|
||||
<meta http-equiv="refresh" content="5;url={{$U('/')}}">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="alert alert-danger">{{ $__t('This page does not exists') }}</div>
|
||||
<div>{{ $__t('You will be redirected to the default page in %s seconds', '5') }}</div>
|
||||
<h1 class="alert alert-danger">{{ $__t('This page does not exist') }}</h1>
|
||||
<div class="alert alert-info">{{ $__t('You will be redirected to the default page in %s seconds', '5') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
@ -5,8 +5,8 @@
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="alert alert-danger">{{ $__t('A server error occured while processing your request') }}</div>
|
||||
<div class="alert alert-warning">
|
||||
<h1 class="alert alert-danger">{{ $__t('A server error occured while processing your request') }}</h1>
|
||||
<div class="alert alert-info">
|
||||
{{ $__t('If you think this is a bug, please report it') }}<br>
|
||||
→ <a target="_blank" href="https://github.com/grocy/grocy/issues">https://github.com/grocy/grocy/issues</a>
|
||||
</div>
|
||||
|
@ -3,17 +3,17 @@
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div>
|
||||
<h6>{{ $__t('Error source') }}</h6>
|
||||
<pre><code>{!! $exception->getFile() !!}:{!! $exception->getLine() !!}</code></pre>
|
||||
<div class="alert alert-dark py-1">
|
||||
<h4>{{ $__t('Error source') }}</h4>
|
||||
<pre class="my-0"><code>{!! $exception->getFile() !!}:{!! $exception->getLine() !!}</code></pre>
|
||||
</div>
|
||||
<div>
|
||||
<h6>{{ $__t('Error message') }}</h6>
|
||||
<pre><code>{!! $exception->getMessage() !!}</code></pre>
|
||||
<div class="alert alert-dark py-1">
|
||||
<h4>{{ $__t('Error message') }}</h4>
|
||||
<pre class="my-0"><code>{!! $exception->getMessage() !!}</code></pre>
|
||||
</div>
|
||||
<div>
|
||||
<h6>{{ $__t('Stack trace') }}</h6>
|
||||
<pre><code>{!! $exception->getTraceAsString() !!}</code></pre>
|
||||
<div class="alert alert-dark py-1">
|
||||
<h4>{{ $__t('Stack trace') }}</h4>
|
||||
<pre class="my-0"><code>{!! $exception->getTraceAsString() !!}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user