management updates

This commit is contained in:
glmdev
2019-02-10 00:09:56 -06:00
parent 1c9c41ab8c
commit 90f97a5453
15 changed files with 605 additions and 87 deletions

View File

@@ -0,0 +1,46 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Manage Registered Lots</div>
<div class="card-body">
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
<div class="table">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Firebase ID</th>
<th scope="col">Name</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody>
@foreach( $lots as $lot )
<tr>
<th scope="row">{{ $lot['data']['lotID'] }}</th>
<td>{{ $lot['id'] }}</td>
<td>{{ $lot['data']['name'] }}</td>
<td>
<a href="{{ url('/lot/manage/'.$lot['data']['lotID']) }}" class="btn btn-sm btn-success">Manage</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection