laid out the views for the new item list functionality

This commit is contained in:
2019-05-26 23:26:35 -05:00
parent 4fddb75f05
commit 852f6610f8
2 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
@extends('layouts.b4')
@section('content')
<div class="container">
<div class="row">
<div table="table table-striped table-bordered table-hover">
<thead>
<th>Location</th>
<th>Items</th>
<th>Quantities</th>
<th>Date</th>
</thead>
<tbody>
@foreach()
<tr data-toggle="collapse" data-target="{{ $stationName }}" class="accordion-toggle">
<td>Station</td>
<td>Item Types</td>
<td></td>
<td>Date</td>
</tr>
@foreach()
<tr class="hiddenRow">
<td>
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
</td>
<td>
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
</td>
<td>
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
</td>
<td>
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
</td>
</tr>
@endforeach
@endforeach
</tbody>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,33 @@
@extends('layouts.b4')
@section('content')
<div class="container">
<div class="container">
<div class="row">
<div class="card">
<div class="card-header">
<h2>Station Name</h2><br>
<h3>Date Updated</h3>
</div>
<div class="card-body">
<div table="table table-striped table-bordered">
<thead>
<th>Location</th>
<th>Items</th>
<th>Quantities</th>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td></td>
<td>Item Name</td>
<td>Quantity</td>
</tr>
@endforeach
</tbody>
</div>
</div>
</div>
</div>
</div>
@endsection