structure fuel

This commit is contained in:
2019-07-08 20:58:37 -05:00
parent b2bd070c9c
commit 9f9a190cc9
5 changed files with 95 additions and 54 deletions
@@ -1,8 +1,32 @@
@extends('layouts.b4')
@section('content')
@foreach($gates as $gate)
<div id="{{ $gate['div'] }}"></div>
{!! $lava->render('Gauge Chart', $gate['row'], $gate['div']) !!}
<br>
@endforeach
<div class="container">
<div class="card">
<div class="card-header">
<h2>Jump Gate Fuel Status</h2>
</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<th>Structure Name</th>
<th>System</th>
<th>Fuel Expires</th>
<th>Liquid Ozone Quantity</th>
<th>Fuel Gauge</th>
</thead>
<tbody>
@foreach($jumpGates as $jumpGate)
<tr>
<td>{{ $jumpGate['name'] }}</td>
<td>{{ $jumpGate['system'] }}</td>
<td>{{ $jumpGate{'fuel_expires'} }}</td>
<td>{{ $jumpGate['liquid_ozone'] }}</td>
<td><a href="{{ $jumpGate['link'] }}">Link</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@endsection
@@ -0,0 +1,4 @@
@extends('layouts.b4')
@section('content')
@endsection