Unification of quota index names

This commit is contained in:
Torsten 2018-01-26 10:09:20 +01:00
parent 747b20049c
commit 85868e5599
5 changed files with 79 additions and 83 deletions

View file

@ -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>
@ -49,32 +49,32 @@
<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>
<input type="text" class="form-control" id="gshirt" name="gshirt" value="{{ $quotas['gshirt'] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['gshirt']}} €</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>
<a onclick=" setWinner('{{$user->id}}','pokal');return false;" style="width:250px";>{{$user->name}}</a>
@endforeach
</div>
</span>
@ -82,7 +82,7 @@
<p>&nbsp;</p>
<label style="float:left; width:200px;">Liga:</label>
<input type="text" class="form-control" id="liga" name="liga" value="{{ $quotas['Liga-Wertung'] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="liga" name="liga" value="{{ $quotas['liga'] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{ $payouts['liga_platz1']+$payouts['liga_platz2']+$payouts['liga_platz3']+$payouts['liga_platz2_1']+$payouts['liga_platz3_1'] }} €</label>
<p>&nbsp;</p>
@ -97,53 +97,53 @@
<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>
<input type="text" class="form-control" id="platz1" name="platz1" value="{{ $quotas["platz1"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz1']}} €</label>
<!-- <label>Test</label>-->
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 2:</label>
<input type="text" class="form-control" id="platz2" name="platz2" value="{{ $quotas["Platz 2"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz2" name="platz2" value="{{ $quotas["platz2"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz2']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 3:</label>
<input type="text" class="form-control" id="platz3" name="platz3" value="{{ $quotas["Platz 3"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz3" name="platz3" value="{{ $quotas["platz3"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz3']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 4:</label>
<input type="text" class="form-control" id="platz4" name="platz4" value="{{ $quotas["Platz 4"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz4" name="platz4" value="{{ $quotas["platz4"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz4']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 5:</label>
<input type="text" class="form-control" id="platz5" name="platz5" value="{{ $quotas["Platz 5"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz5" name="platz5" value="{{ $quotas["platz5"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz5']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 6:</label>
<input type="text" class="form-control" id="platz6" name="platz6" value="{{ $quotas["Platz 6"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz6" name="platz6" value="{{ $quotas["platz6"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz6']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 7:</label>
<input type="text" class="form-control" id="platz7" name="platz7" value="{{ $quotas["Platz 7"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz7" name="platz7" value="{{ $quotas["platz7"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz7']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 8:</label>
<input type="text" class="form-control" id="platz8" name="platz8" value="{{ $quotas["Platz 8"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz8" name="platz8" value="{{ $quotas["platz8"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz8']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 9:</label>
<input type="text" class="form-control" id="platz9" name="platz9" value="{{ $quotas["Platz 9"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz9" name="platz9" value="{{ $quotas["platz9"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz9']}} €</label>
<p>&nbsp;</p>
<label style="float:left; width:200px;">Platz 10:</label>
<input type="text" class="form-control" id="platz10" name="platz10" value="{{ $quotas["Platz 10"] }}" style="float:left; width:75px;"required>
<input type="text" class="form-control" id="platz10" name="platz10" value="{{ $quotas["platz10"] }}" style="float:left; width:75px;"required>
<label style="float:left;">&nbsp;% = {{$payouts['platz10']}} €</label>
<p>&nbsp;</p>

View file

@ -23,7 +23,7 @@
</h4>
<h4>
<label style="float:left; width:200px;">Einsatz pro Spieler:</label>
<label style="float:left;">&nbsp;{{$quotas['Einsatz']}} €</label>
<label style="float:left;">&nbsp;{{$quotas['einsatz']}} €</label>
</h4>
</div>
<p>&nbsp;</p><p>&nbsp;</p>