Cleanup frontend user bid add/remove to use the API, script and html cleanup #172

This commit is contained in:
Nabeel Shahzad
2018-02-22 11:34:57 -06:00
parent 6dfab75f08
commit ad5f36f85e
9 changed files with 88 additions and 108 deletions
@@ -9,7 +9,7 @@
<div class="card card-primary text-white" style="background: #067ec1; color: #FFF;">
<div class="card-block text-center">
<div style="float: left; position: absolute; display:block; top: 0px;font-size: 150px">
<i class="fa fa-plane " style="opacity: .1;"></i>
<i class="fas fa-plane" style="opacity: .1;"></i>
</div>
<h4 class="">{!! $user->flights !!}</h4>
<h5 class="description" style="color: white;">{{ str_plural('flight', $user->flights) }}</h5>
@@ -20,7 +20,7 @@
<div class="card card-primary text-white" style="background: #067ec1; color: #FFF;">
<div class="card-block text-center">
<div style="float: left; position: absolute; display:block; top: 0px;font-size: 150px">
<i class="fa fa-clock-o" style="opacity: .1;"></i>
<i class="far fa-clock" style="opacity: .1;"></i>
</div>
<h4 class="">{!! \App\Facades\Utils::minutesToTimeString($user->flight_time, false)!!}</h4>
<h5 class="description" style="color: white;">total hours</h5>
@@ -32,7 +32,7 @@
<div class="card card-primary text-white" style="background: #067ec1; color: #FFF;">
<div class="card-block text-center">
<div style="float: left; position: absolute; display:block; top: 0px;font-size: 150px">
<i class="fa fa-location-arrow" style="opacity: .1;"></i>
<i class="fas fa-map-marker" style="opacity: .1;"></i>
</div>
@if($user->current_airport)
<h4 class="">{!! $user->current_airport->icao !!}</h4>