moons controller
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<th>Location</th>
|
||||
<th>Corporation</th>
|
||||
<th>Structure Name</th>
|
||||
<th>First Ore</th>
|
||||
<th>First Quantity</th>
|
||||
<th>Second Ore</th>
|
||||
<th>Second Quantity</th>
|
||||
<th>Third Ore</th>
|
||||
<th>Third Quantity</th>
|
||||
<th>Fourth Ore</th>
|
||||
<th>Fourth Quantity</th>
|
||||
<th>Available</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($moons as $moon)
|
||||
<tr>
|
||||
<td>{{ $moon->System . " - " . $moon->Planet . " - " . $moon->Moon }}</td>
|
||||
<td>{{ $moon->Corporation }}</td>
|
||||
<td>{{ $moon->StructureName }}</td>
|
||||
<td>{{ $moon->FirstOre }}</td>
|
||||
<td>{{ $moon->FirstQuantity }}</td>
|
||||
<td>{{ $moon->SecondOre }}</td>
|
||||
<td>{{ $moon->SecondQuantity }}</td>
|
||||
<td>{{ $moon->ThirdOre }}</td>
|
||||
<td>{{ $moon->ThirdQuantity }}</td>
|
||||
<td>{{ $moon->FourthOre }}</td>
|
||||
<td>{{ $moon->FourthQuantity }}</td>
|
||||
@if($moon->Available == 1)
|
||||
<td>Yes</td>
|
||||
@else
|
||||
<td>No</td>
|
||||
@endif
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user