phpvms/resources/views/admin/dashboard.blade.php
2017-07-22 21:31:26 -05:00

49 lines
1.8 KiB
PHP

@extends('admin.app')
@section('content')
<section class="content-header"></section>
<div class="content">
<div class="clearfix"></div>
@include('flash::message')
<div class="clearfix"></div>
<div class="box box-primary">
<div class="box-body">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box bg-aqua">
<span class="info-box-icon"><i class="fa fa-bookmark-o"></i></span>
<div class="info-box-content">
<span class="info-box-text">pireps</span>
<span class="info-box-number">41,410</span>
{{--<div class="progress">
<div class="progress-bar" style="width: 100%"></div>
</div>--}}
<span class="progress-description">
20 to approve
</span>
</div><!-- /.info-box-content -->
</div><!-- /.info-box -->
</div>
</div>
</div>
<div class="box box-primary">
<div class="box-body">
<div class="col-sm-12">
<h3>announcements</h3>
@foreach($feed->item as $item)
<div>
<strong>{!! $item->title !!}</strong>
<p>{!! $item->description !!}</p>
<p class="pull-right">{!! Carbon::now()->diffForHumans(new Carbon($item->pubDate), true) !!}</p>
</div>
<div class="clearfix"></div>
@endforeach
</div>
</div>
</div>
</div>
@endsection