forked from miguel456/rbrecruiter
Added ability to delete single application
Also moved User observer code to Application observer
This commit is contained in:
74
resources/views/components/no-permission.blade.php
Normal file
74
resources/views/components/no-permission.blade.php
Normal file
@@ -0,0 +1,74 @@
|
||||
@if ($inDashboard)
|
||||
<div class="row mb-4">
|
||||
|
||||
<div class="col-6 offset-5">
|
||||
|
||||
|
||||
<img src="/img/403.svg" width="150px" alt="Access denied" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- People find pleasure in different ways. I find it in keeping my mind clear. - Marcus Aurelius -->
|
||||
<div class="col">
|
||||
|
||||
<div class="alert alert-{{$type}}">
|
||||
<h4><i class="fas fa-user-lock"></i> Access Denied</h2>
|
||||
<p>
|
||||
We're sorry, but you do not have permission to access this web page.
|
||||
</p>
|
||||
<p>
|
||||
Please contact your administrator if you believe this was in error.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@else
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('title', 'Raspberry Network | Access Denied')
|
||||
|
||||
@section('content_header')
|
||||
<h4>Access Denied - HTTP 403</h4>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div class="row mb-4">
|
||||
|
||||
<div class="col-6 offset-5">
|
||||
|
||||
|
||||
<img src="/img/403.svg" width="150px" alt="Access denied" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
|
||||
<div class="alert alert-{{$type}}">
|
||||
<h4><i class="fas fa-user-lock"></i> Access Denied</h2>
|
||||
<p class="text-muted">
|
||||
@if (isset($slot))
|
||||
{{ $slot }}
|
||||
@endif
|
||||
</p>
|
||||
<p>
|
||||
We're sorry, but you do not have permission to access this web page.
|
||||
</p>
|
||||
<p>
|
||||
Please contact your administrator if you believe this was in error.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@endif
|
Reference in New Issue
Block a user