From 3d7e38d02a97248ca7ffe020ab9e448bbb6aea9d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 23 Aug 2018 18:58:41 -0600 Subject: [PATCH] Add admin reports view --- resources/views/admin/reports/home.blade.php | 57 ++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 resources/views/admin/reports/home.blade.php diff --git a/resources/views/admin/reports/home.blade.php b/resources/views/admin/reports/home.blade.php new file mode 100644 index 000000000..bc1d7228d --- /dev/null +++ b/resources/views/admin/reports/home.blade.php @@ -0,0 +1,57 @@ +@extends('admin.partial.template') + +@section('section') +
+

Reports

+
+ +
+ + + + + + + + + + + + + + @foreach($reports as $report) + + + + + + @if(!$report->admin_seen) + + @else + + @endif + + + @endforeach + +
#ReporterTypeReportedStatusCreated
+ + {{$report->id}} + + {{$report->reporter->username}}{{$report->type}}{{str_limit($report->reported()->url(), 25)}}UnresolvedResolved{{$report->created_at->diffForHumans(null, true, true, true)}}
+
+ {{$reports->links()}} +
+@endsection + +@push('scripts') + +@endpush \ No newline at end of file