moon ledger update
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="container">
|
||||
<h2>Moon Ledger</h2>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<ul class="nav nav-pills">
|
||||
@foreach($structures as $structure)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="pill" href="#W4RP-{{$structure}}">{{$structure}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<br>
|
||||
<div class="tab-content">
|
||||
@foreach($structures as $structure)
|
||||
<div id="W4RP-{{$structure}}" class="tab-pane fade">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<th>Character</th>
|
||||
<th>Corp Ticker</th>
|
||||
<th>Ore Name</th>
|
||||
<th>Quantity</th>
|
||||
<th>Date</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($miningLedger as $ledger)
|
||||
@if($ledger['structure'] == $structure)
|
||||
<tr>
|
||||
<td>{{ $ledger['character'] }}</td>
|
||||
<td>{{ $ledger['corpTicker'] }}</td>
|
||||
<td>{{ $ledger['ore'] }}</td>
|
||||
<td>{{ $ledger['quantity'] }}</td>
|
||||
<td>{{ $ledger['updated'] }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user