52 lines
2.2 KiB
PHP
52 lines
2.2 KiB
PHP
@extends('front.basic.layout')
|
|
|
|
@section('title', 'Accueil')
|
|
|
|
@section('content')
|
|
<p>Société : {{$settingsGlobal->company}} et nom du jeu : {{$settingsGlobal->name}}</p>
|
|
<p>
|
|
<ul>Toutes les routes :
|
|
<li><a href="{{route('home')}}">Accueil</a></li>
|
|
<li><a href="{{route('teaser')}}">Teaser</a></li>
|
|
<li><a href="{{route('reglement')}}">Règlement</a></li>
|
|
<li><a href="{{route('charte')}}">Charte</a></li>
|
|
<li><a href="{{route('legals')}}">Mentions légales</a></li>
|
|
<li><a href="{{route('end')}}">Page de fin de jeu</a></li>
|
|
<li><a href="{{route('faq')}}">FAQ</a></li>
|
|
<li><a href="{{route('comment-jouer')}}">Comment jouer</a></li>
|
|
<li><a href="{{route('les-gains')}}">Les gains</a></li>
|
|
<li><a href="{{route('saisir-code')}}">Saisie du code (nécessite d'être connecté)</a></li>
|
|
<li><a href="{{route('login')}}">Login</a></li>
|
|
<li><a href="{{route('inscription')}}">Inscription</a></li>
|
|
</ul>
|
|
</p>
|
|
<p>Lots (valeur à 0 ou 1 : 0 = faux, 1 = vrai) :</p>
|
|
<table class="table table-border">
|
|
<thead class="thead-light">
|
|
<th scope="col">Label singulier</th>
|
|
<th scope="col">Label pluriel</th>
|
|
<th scope="col">Quantité</th>
|
|
<th scope="col">Notification activé</th>
|
|
<th scope="col">Formulaire suppl.</th>
|
|
<th scope="col">Pdf preuve de gain</th>
|
|
<th scope="col">Lot par défaut</th>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($prizesGlobal as $p)
|
|
<tr>
|
|
<td>{{$p->label_one}}</td>
|
|
<td>{{$p->label_many}}</td>
|
|
<td>{{$p->quantity}}</td>
|
|
<td>{{$p->notifications}}</td>
|
|
<td>{{$p->additional_form}}</td>
|
|
<td><span class="badge badge-info">{{$p->pdf_winning_proof}}</span></td>
|
|
<td>{{$p->need_proof}}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
<!-- Pour afficher un seul lot, remplacer le [0] par [1], [2], etc. -->
|
|
@if ($prizesGlobal->get(0))
|
|
{{ $prizesGlobal->get(0)->label_one }}
|
|
@endif
|
|
@endsection
|