Added Pokal and Playoff Data Input + Page

This commit is contained in:
Torsten 2024-01-11 18:03:25 +01:00
parent 498804f3e0
commit 950fbe1755
8 changed files with 193 additions and 4 deletions

View file

@ -0,0 +1,16 @@
@extends('layouts.layout')
@section('content')
<section class="text-center">
<div class="container">
<h1>PLAY-OFF</h1>
<textarea readonly name="playoff" class="form-control" style="min-height:650px;height:auto;">{{ $playoff_report }}</textarea>
</div>
@if (Auth::user()->admin)
<a style="font-weight:normal; font-color: blue; font-size: 22px;" href="/users/playoff_edit">Bearbeiten</a>
@endif
</section>
@endsection

View file

@ -0,0 +1,20 @@
@extends('layouts.layout')
@section('content')
<section class="text-center">
<div class="container">
<h1>PLAY-OFF</h1>
<form method="POST" action="/users/store_playoff" class="text-center">
{{ csrf_field() }}
<textarea name="playoff" class="form-control" style="min-height:650px;height:auto;">{{ $playoff_report }}</textarea>
<div class="form-group">
<button type="submit" class="btn btn-primary">Ok</button>
</div>
</form>
</div>
</section>
@endsection

View file

@ -0,0 +1,17 @@
@extends('layouts.layout')
@section('content')
<section class="text-center">
<div class="container">
<h1>POKAL</h1>
<textarea readonly name="pokal" class="form-control" style="min-height:650px;height:auto;">{{ $pokal_report }}</textarea>
</div>
@if (Auth::user()->admin)
<a style="font-weight:normal; font-color: blue; font-size: 22px;" href="/users/pokal_edit">Bearbeiten</a>
@endif
</section>
@endsection

View file

@ -0,0 +1,21 @@
@extends('layouts.layout')
@section('content')
<section class="text-center">
<div class="container">
<h1>POKAL</h1>
<form method="POST" action="/users/store_pokal" class="text-center">
{{ csrf_field() }}
<textarea name="pokal" class="form-control" style="min-height:650px;height:auto;">{{ $pokal_report }}</textarea>
<div class="form-group">
<button type="submit" class="btn btn-primary">Ok</button>
</div>
</form>
</div>
</section>
@endsection