Made Profile & Account Settings functional

Also moved redundant HTML markup to component file for reuse.
Username to UUID converter also added as Middleware
This commit is contained in:
2020-05-13 22:47:51 +01:00
parent 7635f8e2f4
commit 2ff0da3e4f
33 changed files with 799 additions and 258 deletions

View File

@@ -66,18 +66,20 @@
<!-- /.card-header -->
<div class="card-body p-0"> <!-- move to dedi css -->
<table class="table" style="white-space: nowrap">
<thead>
<tr>
<th style="width: 10px">#</th>
<th>Applicant</th>
<th>Application Date</th>
<th>Last Acted On</th>
<th style="width: 40px">Status</th>
<th style="width: 40px">Actions</th>
</tr>
</thead>
<tbody>
@if (!$applications->isEmpty())
<table class="table" style="white-space: nowrap">
<thead>
<tr>
<th style="width: 10px">#</th>
<th>Applicant</th>
<th>Application Date</th>
<th>Last Acted On</th>
<th style="width: 40px">Status</th>
<th style="width: 40px">Actions</th>
</tr>
</thead>
<tbody>
@foreach ($applications as $application)
@@ -125,9 +127,17 @@
@endforeach
</tbody>
</table>
</tbody>
</table>
@else
<div class="alert alert-warning">
<p><i class="fa fa-info-circle"></i> <b>Nothing to show</b></p>
<p>You currently have no applications to display. If you're eligible, you may apply once every month.</p>
</div>
@endif
</div>
<!-- /.card-body -->