Pokal winner selection on season page

This commit is contained in:
Torsten 2018-01-24 10:16:01 +01:00
parent 81ab879ecc
commit b96197a086

View file

@ -28,7 +28,7 @@
<div class="form-group" >
<h4>
<label style="float:left; width:200px;">Anzahl Runden:</label>
<input type="text" class="form-control" id="round_count" name="round_count" value="{{ App\Round::getCount() }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="round_count" name="round_count" value="{{ App\Round::getCount() }}" style="float:left; width:75px;" required>
</h4>
</div>
@ -38,7 +38,7 @@
<div class="form-group" >
<h4>
<label style="float:left; width:200px;">Einsatz pro Spieler:</label>
<input type="text" class="form-control" id="einsatz" name="einsatz" value="{{ $quotas['Einsatz'] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="einsatz" name="einsatz" value="{{ $quotas['Einsatz'] }}" style="float:left; width:75px;" required>
<label style="float:left;">&nbsp;€</label>
</h4>
</div>
@ -46,26 +46,39 @@
<h3>Spielquoten</h3>
<div class="form-group" style="width:450px;">
<div class="form-group" style="width:650px;">
<h4>
<label style="float:left; width:200px;">Tagessieg:</label>
<input type="text" class="form-control" id="tagessieg" name="tagessieg" value="{{ $quotas['Tagessieg'] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="tagessieg" name="tagessieg" value="{{ $quotas['Tagessieg'] }}" style="float:left; width:75px;" required>
<label style="float:left;">&nbsp;% = {{$payouts['tagessieg']}} € </label>
<span>&nbsp;</span>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platzierung:</label>
<input type="text" class="form-control" id="platzierung" name="platzierung" value="{{ $quotas['Platzierung'] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platzierung" name="platzierung" value="{{ $quotas['Platzierung'] }}" style="float:left; width:75px;" required>
<label style="float:left;">&nbsp;% = {{$payouts['platz1']+$payouts['platz2']+$payouts['platz3']+$payouts['platz4']+$payouts['platz5']+$payouts['platz6']+$payouts['platz7']+$payouts['platz8']+$payouts['platz9']+$payouts['platz10'] }} € </label>
<span>&nbsp;</span>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Grünes Trikot:</label>
<input type="text" class="form-control" id="gruenes_trikot" name="gruenes_trikot" value="{{ $quotas['Gruenes Trikot'] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['gruenes_trikot']}} €</label>
<span>&nbsp;</span>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Pokal:</label>
<input type="text" class="form-control" id="pokal" name="pokal" value="{{ $quotas['Pokal'] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="pokal" name="pokal" value="{{ $quotas['Pokal'] }}" style="float:left; width:75px;" required>
<label style="float:left;">&nbsp;% = {{ $payouts['pokal'] }} €</label>
<span class="dropdown" id="dropdown6">
<button id="btn_winner" onclick="toggleDropdown('dropdown_winner'); return false;" class="dropbtn">{{ $winnerNames['pokal'] }}</button>
<div id="dropdown_winner" class="dropdown-content" style="width:250px;">
@foreach($users as $user)
<a onclick=" setWinner('{{$user->id}}','Pokal');return false;" style="width:250px";>{{$user->name}}</a>
@endforeach
</div>
</span>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Liga:</label>
@ -75,13 +88,13 @@
</h4>
</div>
<p>&nbsp;</p><p>&nbsp;</p>
<p>&nbsp;</p>
<h3>Platzierungsquoten:</h3>
<div class="form-group" >
<div class="form-group" style="width:650px;" >
<h4>
<label style="float:left; width:200px;">Platz 1:</label>
<input type="text" class="form-control" id="platz1" name="platz1" value="{{ $quotas["Platz 1"] }}" style="float:left; width:75px;"required>