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

43 lines
1.4 KiB
PHP
Raw Normal View History

@extends('layouts.layout')
@section('content')
<section class="jumbotron text-center">
@if($hourDiffToLock<49)
@if (strlen($message_text_tipps)>0)
<div><p class="blink_text">{{ $message_text_tipps }}</p></div>
@endif
@if (strlen($message_text_joker)>0)
<div><p class="blink_text">{{ $message_text_joker }}</p></div>
@endif
@if (strlen($nextRoundLockTime)>0)
<div><p class="blink_text">{{ $nextRoundName }} sperrt sich: {{ $nextRoundLockTime }} ( noch {{ $hourDiffToLock }} Stunden )</p></div>
@endif
2017-08-24 17:45:30 +02:00
@endif
<div class="container">
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())
<div>
<a href="/login" class="btn btn-primary">Anmelden</a>
</div>
<div><p></p><p></p><p></p></div>
</div>
<a href="/register" class="btn btn-primary">Registrieren</a>
@endif
2017-08-01 13:35:34 +02:00
</section>
@if (Auth::check())
2017-08-21 16:55:26 +02:00
@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
2017-08-01 13:35:34 +02:00
@endif
@endsection