mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Applied .blade.php formatting rules
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
→ <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>
|
||||
→ <a target="_blank"
|
||||
href="https://github.com/grocy/grocy/issues">https://github.com/grocy/grocy/issues</a>
|
||||
</div>
|
||||
</div>
|
||||
@parent
|
||||
</div>
|
||||
@parent
|
||||
@stop
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user