Working on Quotas
This commit is contained in:
parent
b96197a086
commit
747b20049c
4 changed files with 15 additions and 24 deletions
|
|
@ -158,7 +158,7 @@
|
|||
<div class="form-group" style="width:650px;" >
|
||||
<h4>
|
||||
<label style="float:left; width:200px;">Liga 1, Platz 1:</label>
|
||||
<input type="text" class="form-control" id="liga_platz1" name="liga_platz1" value="{{ $quotas['Liga Platz 1'] }}" style="float:left; width:75px;"required>
|
||||
<input type="text" class="form-control" id="liga_platz1" name="liga_platz1" value="{{ $quotas['liga_platz1'] }}" style="float:left; width:75px;"required>
|
||||
|
||||
<span class="dropdown" id="dropdown1">
|
||||
<button id="btn_winner" onclick="toggleDropdown('dropdown_winner'); return false;" class="dropbtn">{{ $winnerNames['liga_platz1'] }}</button>
|
||||
|
|
@ -176,7 +176,7 @@
|
|||
<p> </p>
|
||||
|
||||
<label style="float:left; width:200px;">Liga 1, Platz 2:</label>
|
||||
<input type="text" class="form-control" id="liga_platz2" name="liga_platz2" value="{{ $quotas['Liga Platz 2'] }}" style="float:left; width:75px;"required>
|
||||
<input type="text" class="form-control" id="liga_platz2" name="liga_platz2" value="{{ $quotas['liga_platz2'] }}" style="float:left; width:75px;"required>
|
||||
|
||||
<span class="dropdown" id="dropdown2">
|
||||
<button id="btn_winner" onclick="toggleDropdown('dropdown_winner2'); return false;" class="dropbtn">{{ $winnerNames['liga_platz2'] }}</button>
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
<p> </p>
|
||||
|
||||
<label style="float:left; width:200px;">Liga 1, Platz 3:</label>
|
||||
<input type="text" class="form-control" id="liga_platz3" name="liga_platz3" value="{{ $quotas['Liga Platz 3'] }}" style="float:left; width:75px;"required>
|
||||
<input type="text" class="form-control" id="liga_platz3" name="liga_platz3" value="{{ $quotas['liga_platz3'] }}" style="float:left; width:75px;"required>
|
||||
|
||||
<span class="dropdown" id="dropdown3">
|
||||
<button id="btn_winner" onclick="toggleDropdown('dropdown_winner3'); return false;" class="dropbtn">{{ $winnerNames['liga_platz3'] }}</button>
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
|
||||
|
||||
<label style="float:left; width:200px;">Liga 2, Platz 1:</label>
|
||||
<input type="text" class="form-control" id="liga_platz2_1" name="liga_platz2_1" value="{{ $quotas['Liga Platz 2_1'] }}" style="float:left; width:75px;"required>
|
||||
<input type="text" class="form-control" id="liga_platz2_1" name="liga_platz2_1" value="{{ $quotas['liga_platz2_1'] }}" style="float:left; width:75px;"required>
|
||||
|
||||
<span class="dropdown" id="dropdown4">
|
||||
<button id="btn_winner" onclick="toggleDropdown('dropdown_winner4'); return false;" class="dropbtn">{{ $winnerNames['liga_platz2_1'] }}</button>
|
||||
|
|
@ -225,7 +225,7 @@
|
|||
<p> </p>
|
||||
|
||||
<label style="float:left; width:200px;">Liga 3, Platz 1:</label>
|
||||
<input type="text" class="form-control" id="liga_platz3_1" name="liga_platz3_1" value="{{ $quotas['Liga Platz 3_1'] }}" style="float:left; width:75px;"required>
|
||||
<input type="text" class="form-control" id="liga_platz3_1" name="liga_platz3_1" value="{{ $quotas['liga_platz3_1'] }}" style="float:left; width:75px;"required>
|
||||
|
||||
<span class="dropdown" id="dropdown5">
|
||||
<button id="btn_winner" onclick="toggleDropdown('dropdown_winner5'); return false;" class="dropbtn">{{ $winnerNames['liga_platz3_1'] }}</button>
|
||||
|
|
@ -246,8 +246,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
<input type="hidden" name="season_id" value="{{ $currentSeason->id }}">
|
||||
|
||||
<div class="form-group">
|
||||
|
|
@ -272,9 +270,7 @@
|
|||
|
||||
<script>
|
||||
|
||||
function setWinner($user_id, $quota_name, $elem_name="btn_winner") {
|
||||
//alert($user_id+","+ $quota_name);
|
||||
//var global_winner_id = document.getElementById($elem_winner).innerHTML=$roundname;
|
||||
function setWinner($user_id, $quota_name) {
|
||||
window.location.href = '/seasons/set_winner/'+$user_id+'/'+$quota_name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue