tippspiel/pfosten/resources/views/main.blade.php

52 lines
1.8 KiB
PHP
Raw Normal View History

@extends('layouts.layout')
@section('content')
2017-09-22 17:40:48 +02:00
<!-- <section class="jumbotron text-center"> -->
<section class="container-fluid col-md-12">
<span class="col-md-2"></span>
<span class="text-center col-md-8">
@if(Auth::check())
2017-10-25 10:42:05 +02:00
2017-09-22 17:40:48 +02:00
@if($hourDiffToLock<49)
@if (strlen($message_text_tipps)>0)
<div><p class="blink_text" style="font-size:21px;">{{ $message_text_tipps }}</p></div>
@endif
@if (strlen($message_text_joker)>0)
<div><p class="blink_text" style="font-size:21px;">{{ $message_text_joker }}</p></div>
@endif
@if (strlen($nextRoundLockTime)>0)
<div><p class="blink_text" style="font-size:21px;">{{ $nextRoundName }} sperrt sich: {{ $nextRoundLockTime }} ( noch {{ $hourDiffToLock }} )</p></div>
2017-09-22 17:40:48 +02:00
@endif
@endif
2017-10-25 10:42:05 +02:00
@endif
2017-08-03 20:47:51 +02:00
<h1 class="jumbotron-heading">Hoschis Tippspiel</h1>
<p class="lead text-muted">Eine Tippgemeinschaft unter Freunden.</p>
<div><p></p><p></p><p></p></div>
@if (!Auth::check())
2017-10-25 10:42:05 +02:00
<div>
<a href="/login" class="btn btn-primary">Anmelden</a>
</div>
2017-10-25 10:42:05 +02:00
<p>&nbsp;</p>
<div>
2017-09-22 17:40:48 +02:00
<a href="/register" class="btn btn-primary">Registrieren</a>
</div>
2017-09-22 17:40:48 +02:00
@endif
</span>
2017-08-01 13:35:34 +02:00
</section>
@if (Auth::check())
2017-10-25 10:42:05 +02:00
@if ($display_rounds)
@foreach($display_rounds as $round)
<div class="container-fluid col-md-12">
<span class="col-md-2"></span>
<span class="text-center col-md-8">
<h2>&nbsp;{{ $round['name'] }}</h2>
<div style="font-size: 18px;">&nbsp;{!! $round['report'] !!}</div>
</span>
</div>
@endforeach
@endif
2017-08-01 13:35:34 +02:00
@endif
@endsection