Applied .blade.php formatting rules

This commit is contained in:
Bernd Bestel
2020-08-31 20:32:50 +02:00
parent ea9ba0b2be
commit 33325d5560
90 changed files with 4000 additions and 2091 deletions

View File

@@ -3,9 +3,9 @@
@section('title', $__t('Unauthorized'))
@section('content')
<div class="row">
<div class="col">
<h1 class="alert alert-danger">{{ $__t('You are not allowed to view this page') }}</h1>
</div>
<div class="row">
<div class="col">
<h1 class="alert alert-danger">{{ $__t('You are not allowed to view this page') }}</h1>
</div>
</div>
@stop

View File

@@ -3,11 +3,12 @@
@section('title', $__t('Page not found'))
@section('content')
<meta http-equiv="refresh" content="5;url={{$U('/')}}">
<div class="row">
<div class="col">
<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>
<meta http-equiv="refresh"
content="5;url={{$U('/')}}">
<div class="row">
<div class="col">
<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

View File

@@ -3,14 +3,15 @@
@section('title', $__t('Server error'))
@section('content')
<div class="row">
<div class="col">
<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>
&rarr; <a target="_blank" href="https://github.com/grocy/grocy/issues">https://github.com/grocy/grocy/issues</a>
</div>
<div class="row">
<div class="col">
<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>
&rarr; <a target="_blank"
href="https://github.com/grocy/grocy/issues">https://github.com/grocy/grocy/issues</a>
</div>
</div>
@parent
</div>
@parent
@stop

View File

@@ -1,20 +1,20 @@
@extends('layout.default')
@section('content')
<div class="row">
<div class="col">
<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 class="alert alert-dark py-1">
<h4>{{ $__t('Error message') }}</h4>
<pre class="my-0"><code>{!! $exception->getMessage() !!}</code></pre>
</div>
<div class="alert alert-dark py-1">
<h4>{{ $__t('Stack trace') }}</h4>
<pre class="my-0"><code>{!! $exception->getTraceAsString() !!}</code></pre>
</div>
<div class="row">
<div class="col">
<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 class="alert alert-dark py-1">
<h4>{{ $__t('Error message') }}</h4>
<pre class="my-0"><code>{!! $exception->getMessage() !!}</code></pre>
</div>
<div class="alert alert-dark py-1">
<h4>{{ $__t('Stack trace') }}</h4>
<pre class="my-0"><code>{!! $exception->getTraceAsString() !!}</code></pre>
</div>
</div>
</div>
@stop