From d1fe4536cc039450b540104e382db0d01d5cf886 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Fri, 19 Jun 2020 02:16:51 +0100 Subject: Initial commit --- resources/views/index.blade.php | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 resources/views/index.blade.php (limited to 'resources/views/index.blade.php') diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php new file mode 100644 index 0000000..cde358d --- /dev/null +++ b/resources/views/index.blade.php @@ -0,0 +1,49 @@ +@extends('layout.default') + +@section('content') + + +@foreach ($tournaments as $tournament) + +
+
+

{{ $tournament->name }}

+
+ +
+ + + + + + + + + + + + + + + + + + @foreach ($tournament->matches as $match) + + + + + + + + + + @endforeach + + +
#HomeAwayVenueRefereeDate
{{ $match->id }}{{ $match->homeTeam()->first()->getName() }}{{ $match->score }}
{{$match->half_score}}
{{ $match->awayTeam()->first()->getName() }}{{ $match->getDisplayName() }}{{ $match->referee }}{{ $match->getDisplayDate() }}
+
+
+@endforeach + +@endsection \ No newline at end of file -- cgit v1.2.3