mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #6513 from beganovich/v5-642
(v5) Update error pages
This commit is contained in:
commit
5641ed96c5
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"/js/app.js": "/js/app.js?id=696e8203d5e8e7cf5ff5",
|
||||
"/css/app.css": "/css/app.css?id=56fdeb0a3b78b00b9a52",
|
||||
"/css/app.css": "/css/app.css?id=27d1431e24a51260d3f1",
|
||||
"/js/clients/invoices/action-selectors.js": "/js/clients/invoices/action-selectors.js?id=a09bb529b8e1826f13b4",
|
||||
"/js/clients/invoices/payment.js": "/js/clients/invoices/payment.js?id=8ce8955ba775ea5f47d1",
|
||||
"/js/clients/linkify-urls.js": "/js/clients/linkify-urls.js?id=0dc8c34010d09195d2f7",
|
||||
|
4
resources/sass/components/buttons.scss
vendored
4
resources/sass/components/buttons.scss
vendored
@ -35,8 +35,10 @@ button:disabled {
|
||||
}
|
||||
|
||||
.button-link {
|
||||
@apply text-gray-700;
|
||||
|
||||
&:hover {
|
||||
@apply font-semibold underline;
|
||||
@apply text-gray-900 underline;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Unauthorized'))
|
||||
@section('code', '401')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Forbidden'))
|
||||
@section('code', '403')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Not Found'))
|
||||
@section('code', '404')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Page Expired'))
|
||||
@section('code', '419')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Too Many Requests'))
|
||||
@section('code', '429')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Server Error'))
|
||||
@section('code', '500')
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('errors::minimal')
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Service Unavailable'))
|
||||
@section('code', '503')
|
||||
|
26
resources/views/portal/ninja2020/layout/error.blade.php
Normal file
26
resources/views/portal/ninja2020/layout/error.blade.php
Normal file
@ -0,0 +1,26 @@
|
||||
@extends('portal.ninja2020.layout.clean')
|
||||
@section('meta_title', $__env->yieldContent('title'))
|
||||
|
||||
@section('body')
|
||||
<div class="grid lg:grid-cols-3">
|
||||
<div class="hidden lg:block col-span-1 bg-red-100 h-screen">
|
||||
<img src="{{ asset('images/client-portal-new-image.jpg') }}"
|
||||
class="w-full h-screen object-cover"
|
||||
alt="Background image">
|
||||
</div>
|
||||
|
||||
<div class="col-span-2 h-screen flex">
|
||||
<div class="m-auto md:w-1/2 lg:w-1/4 flex flex-col items-center">
|
||||
<span class="flex items-center text-2xl">
|
||||
@yield('code') — @yield('message')
|
||||
</span>
|
||||
|
||||
<a class="button-link text-sm mt-2" href="{{ request()->getSchemeAndHttpHost() }}">
|
||||
{{ ctrans('texts.back_to', ['url' => parse_url(request()->getHttpHost())['host'] ?? request()->getHttpHost()]) }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user