View alter Touren, TourSeeder mit alter Tour, Verlinkung

This commit is contained in:
TorstenS 2020-10-13 10:20:48 +02:00
parent 79b3720e8f
commit e6f3767e33
8 changed files with 238 additions and 10 deletions

View file

@ -2,8 +2,20 @@
@section('content')
<div class="container text-center text-light mt-5">
<h1 class="text-center">Tourenplan</h1>
<a href="/pdf/tourenplan.pdf" class="text-center text-light">Download</a>
<h1 class="text-center">Tourenplan: aktuelle Touren</h1>
<div class="container text-primary mb-3">
<span class="offset-1 col-4 float-left mb-3"><a class="btn btn-success" href="/tour/index_old" class="text-center text-light"><h3>Alte Touren</h3></a></span>
<span class="offset-1"><a href="/pdf/tourenplan.pdf" class="btn btn-success"><h3>Download</h3></a></span>
</div>
<!--
<div class="row mb-2">
<span class="offset-1 col-4 float-left "><a class="btn btn-success" href="/pdf/tourenplan.pdf" class="text-center text-light"><h3>Alte Touren</h3></a></span>
<span class="offset-3 float-right"><a href="/pdf/tourenplan.pdf" class="text-center text-light"><h3>Download</h3></a></span>
</div>
-->
<div class="container text-primary" style="display:flex">
@ -26,14 +38,12 @@
@endforeach
</ul>
</div>
@if(Auth::user()->role=="ADMIN" or Auth::user()->rolde=="MEMBER")
<div class="container text-primary">
<a href="/tour/create" class="btn btn-danger col-2 mt-2 ">Neue Tour anlegen</a>
<a href="/tour/create" class="btn btn-danger col-3 mt-2 "><h3>Neue Tour anlegen</h3></a>
</div>
@endif