testing and updates

This commit is contained in:
2020-03-24 23:52:20 -05:00
parent ee2160fa8a
commit 6d10755f27
2 changed files with 42 additions and 4 deletions

View File

@@ -44,8 +44,48 @@ class MoonsController extends Controller
//Get all of the alliance moons from the database
$moons = AllianceMoon::all();
$gasGoo = [
'Zeolites',
'Sylvite',
'Bitumens',
'Coesite',
];
$r8Goo = [
'Cobaltite',
'Euxenite',
'Titanite',
'Scheelite',
];
$r16Goo = [
'Otavite',
'Sperrylite',
'Vanadinite',
'Chromite',
];
$r32Goo = [
'Carnotite',
'Zircon',
'Pollucite',
'Cinnabar',
];
$r64Goo = [
'Xenotime',
'Monazite',
'Loparite',
'Ytterbite',
];
return view('moons.user.allmoons')->with('systems', $systems)
->with('moons', $moons);
->with('moons', $moons)
->with('gasGoo', $gasGoo)
->with('r8Goo', $r8Goo)
->with('r16Goo', $r16Goo)
->with('r32Goo', $r32Goo)
->with('r64Goo', $r64Goo);
}
/**

View File

@@ -22,7 +22,6 @@
<thead>
<th>Location</th>
<th>Corporation</th>
<th>Structure Name</th>
<th>First Ore</th>
<th>First Quantity</th>
<th>Second Ore</th>
@@ -43,8 +42,7 @@
@endif
<td>{{ $moon->System . " - " . $moon->Planet . " - " . $moon->Moon }}</td>
<td>{{ $moon->Corporation }}</td>
<td>{{ $moon->StructureName }}</td>
<td>{{ $moon->FirstOre }}</td>
<td class="table-warning">{{ $moon->FirstOre }}</td>
<td>{{ $moon->FirstQuantity }}</td>
<td>{{ $moon->SecondOre }}</td>
<td>{{ $moon->SecondQuantity }}</td>