Removed unnessary controller functions that just call a view, HTML/CSS consistency updates
This commit is contained in:
@@ -5,23 +5,15 @@
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@if (Session('status'))
|
||||
@includeWhen(session()->has('success'),'widgets.success-row',['msg'=>session()->get('success')])
|
||||
|
||||
<form class="needs-validation" method="post" action="{{ route('password.email') }}" novalidate>
|
||||
@csrf
|
||||
|
||||
<div class="row">
|
||||
<div class="col-8 m-auto">
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Forgot Password</h2>
|
||||
|
||||
<form class="row g-0 needs-validation" method="post" action="{{ route('password.email') }}" novalidate>
|
||||
@csrf
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Forgot Password</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -52,8 +44,8 @@
|
||||
<a class="link-danger" href="{{ url('login') }}">Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
@@ -5,23 +5,16 @@
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@if (Session('status'))
|
||||
@includeWhen(session()->has('status') || true,'widgets.success-row',['msg'=>session()->get('status')])
|
||||
|
||||
<form class="needs-validation" method="post" action="{{ route('password.update') }}" novalidate>
|
||||
@csrf
|
||||
|
||||
<div class="row">
|
||||
<div class="col-8 m-auto">
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Reset Password</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Reset Password</h2>
|
||||
|
||||
<form class="row g-0 needs-validation" method="post" action="{{ route('password.update') }}" novalidate>
|
||||
@csrf
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<div class="row">
|
||||
@@ -77,8 +70,8 @@
|
||||
<button type="submit" name="submit" class="btn btn-success float-end">Sign In</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
||||
|
@@ -4,91 +4,95 @@
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<h2>{{ auth()->check() ? auth()->user()->name : 'Guest' }}</h2>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2>{{ auth()->check() ? auth()->user()->name : 'Guest' }}</h2>
|
||||
|
||||
<table class="table monotable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Test</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<table class="table monotable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Test</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>isAdmin</td>
|
||||
<td>@can('admin')YES @else NO @endcan</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Domains</td>
|
||||
<td>
|
||||
<table class="table table-sm" id="domains">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Domain</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>isAdmin</td>
|
||||
<td>@can('admin')YES @else NO @endcan</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Domains</td>
|
||||
<td>
|
||||
<table class="table table-sm" id="domains">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Domain</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\Domain::orderBy('name')->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->name }}</td>
|
||||
<td>@can('admin',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tbody>
|
||||
@foreach (\App\Models\Domain::orderBy('name')->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->name }}</td>
|
||||
<td>@can('admin',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>
|
||||
<table class="table table-sm" id="systems">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">System</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>
|
||||
<table class="table table-sm" id="systems">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">System</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\System::orderBy('name')->with(['users'])->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->name }}</td>
|
||||
<td>@can('update',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tbody>
|
||||
@foreach (\App\Models\System::orderBy('name')->with(['users'])->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->name }}</td>
|
||||
<td>@can('update',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Zone</td>
|
||||
<td>
|
||||
<table class="table table-sm" id="zones">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Zone</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>Zone</td>
|
||||
<td>
|
||||
<table class="table table-sm" id="zones">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Zone</th>
|
||||
<th>Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\Zone::orderBy('zone_id')->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->zone_id }}</td>
|
||||
<td>@can('admin',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<tbody>
|
||||
@foreach (\App\Models\Zone::orderBy('zone_id')->get() as $o)
|
||||
<tr>
|
||||
<td>{{ $o->zone_id }}</td>
|
||||
<td>@can('admin',$o)YES @else NO @endcan</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('page-css')
|
||||
|
@@ -5,13 +5,13 @@
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Register</h2>
|
||||
<form class="needs-validation" method="post" novalidate>
|
||||
@csrf
|
||||
|
||||
<form class="row g-0 needs-validation" method="post" novalidate>
|
||||
@csrf
|
||||
<div class="row">
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Register</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -82,14 +82,14 @@
|
||||
<button type="submit" name="submit" class="btn btn-success float-end">Sign In</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<a class="link-danger" href="{{ url('login') }}">Login</a>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<a class="link-danger" href="{{ url('login') }}">Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
@@ -5,23 +5,13 @@
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@if (Session('resent'))
|
||||
<form class="needs-validation" method="post" action="{{ route('verification.resend') }}" novalidate>
|
||||
@csrf
|
||||
|
||||
<div class="row">
|
||||
<div class="col-8 m-auto">
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
{{ __('A fresh verification link has been sent to your email address.') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Verify</h2>
|
||||
|
||||
<form class="row" method="post" action="{{ route('verification.resend') }}" novalidate>
|
||||
@csrf
|
||||
<div class="col-6 m-auto">
|
||||
<div class="greyframe titledbox shadow0xb0 text-center">
|
||||
<h2 class="cap">Verify</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -30,8 +20,8 @@
|
||||
<button type="submit" class="btn btn-link p-0" style="text-decoration: none;line-height: 1.0;">{{ __('click here to request another') }}</button>.
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user