Commit d604781b authored by Sean O'Donnell's avatar Sean O'Donnell

removing leftover dashboarding

parent 737a07c4
......@@ -63,54 +63,7 @@
<!-- /.widget-bg -->
</div>
<!-- /.col-md-3 -->
<div class="col-sm-4 col-md-4 widget-holder">
<div class="widget-bg">
<div class="widget-body clearfix">
<h5 class="box-title"> Recent Games Played</h5>
<div class="padded-reverse">
<table class="table table-striped widget-status-table mr-b-0">
<thead>
<tr>
<th class="pd-l-20">Game</th>
<th>Time (Minutes)</th>
</tr>
</thead>
<tbody>
@foreach(App\GameTime::where('user_id', Auth::user()->id)->limit(3)->orderBy('id', 'dec')->get() as $game)
<tr>
<th class="pd-l-20">
{{$game->game->name}}
</th>
@if($game->game_ended != null)
<td>{{\Carbon\Carbon::parse($game->game_started)->diffInMinutes(\Carbon\Carbon::parse($game->game_ended))}}</td>
@else
<td>{{\Carbon\Carbon::parse($game->game_started)->diffInMinutes(\Carbon\Carbon::now())}}</td>
@endif
</tr>
@endforeach
</tbody>
</table>
<!-- /.widget-status-table -->
</div>
<!-- /.padded-reverse -->
</div>
<!-- /.widget-body badge -->
</div>
<!-- /.widget-bg -->
</div>
@if(Auth::user()->spotify)
<div class="col-sm-4 col-md-4 widget-holder">
<div class="widget-bg">
<div class="widget-body clearfix">
<h5 class="box-title"> Current Spotify Song</h5>
{{\App\Http\Controllers\API\APIController::spotifyCurrentSong()}}
</div>
<!-- /.widget-body badge -->
</div>
<!-- /.widget-bg -->
</div>
@endif
<!-- /.col-md-3 -->
</div>
</div>
<!-- /.widget-list -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment