Several bugfixes
This commit is contained in:
@@ -223,7 +223,7 @@
|
|||||||
transition: all 0.5s ease-out;
|
transition: all 0.5s ease-out;
|
||||||
&.active {
|
&.active {
|
||||||
padding: 0.5em 1em 0.5em 2em;
|
padding: 0.5em 1em 0.5em 2em;
|
||||||
max-height: 600px;
|
max-height: 150vh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -385,7 +385,6 @@
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
max-height: inherit;
|
|
||||||
}
|
}
|
||||||
.popup-footer {
|
.popup-footer {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
|
@@ -9,12 +9,28 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="tournaments section">
|
<div class="tournaments section">
|
||||||
#foreach($tour in $api.get('tour').entrySet())
|
#set($files = $api.get('tour'))
|
||||||
|
$log.info("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
|
||||||
|
$log.info($files)
|
||||||
|
#if($files.containsKey('error'))
|
||||||
|
#set($error = $files.error)
|
||||||
|
#elseif($files.containsKey('message'))
|
||||||
|
#set($error = $files.message)
|
||||||
|
#end
|
||||||
|
#if($error)
|
||||||
|
<script type="text/javascript">
|
||||||
|
onLoad(()=>{
|
||||||
|
showError("$esc.html($error)");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
#else
|
||||||
|
#foreach($tour in $files.entrySet())
|
||||||
<a href="tour?id=${tour.key}" class="ui open basic secondary white icon floating button">
|
<a href="tour?id=${tour.key}" class="ui open basic secondary white icon floating button">
|
||||||
<i class="fa fa-folder-open-o"></i>
|
<i class="fa fa-folder-open-o"></i>
|
||||||
$tour.value
|
$tour.value
|
||||||
</a>
|
</a>
|
||||||
#end
|
#end
|
||||||
|
#end
|
||||||
</div>
|
</div>
|
||||||
<div id="import-popup" class="popup">
|
<div id="import-popup" class="popup">
|
||||||
<div class="popup-body">
|
<div class="popup-body">
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
<form id="parameters-form" class="ui edit form">
|
<form id="parameters-form" class="ui edit form">
|
||||||
<div class="ui fluid styled accordion">
|
<div class="ui fluid styled accordion">
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Base parameters</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Base parameters
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label><input type="checkbox" name="deterministic" value="true" #if($tour.pairing.base.deterministic) checked #end> deterministic randomness</label>
|
<label><input type="checkbox" name="deterministic" value="true" #if($tour.pairing.base.deterministic) checked #end> deterministic randomness</label>
|
||||||
@@ -12,10 +9,7 @@
|
|||||||
<label><input type="checkbox" name="colorBalance" value="true" #if($tour.pairing.base.colorBalanceWeight) checked #end> balance white and black</label>
|
<label><input type="checkbox" name="colorBalance" value="true" #if($tour.pairing.base.colorBalanceWeight) checked #end> balance white and black</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Main parameters</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Main parameters
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
#if($tour.pairing.type == 'MAC_MAHON')
|
#if($tour.pairing.type == 'MAC_MAHON')
|
||||||
<div class="inline fields">
|
<div class="inline fields">
|
||||||
@@ -32,10 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
#end
|
#end
|
||||||
<div class="ui fluid styled accordion">
|
<div class="ui fluid styled accordion">
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Seeding methods inside groups of same score</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Seeding methods inside groups of same score
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>Apply first seeding method up to round <input name="firstSeedLastRound" type="number" min="1" value="$tour.pairing.main.firstSeedLastRound"/></label>
|
<label>Apply first seeding method up to round <input name="firstSeedLastRound" type="number" min="1" value="$tour.pairing.main.firstSeedLastRound"/></label>
|
||||||
@@ -61,10 +52,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Draw-up / draw-down between groups of same score</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Draw-up / draw-down between groups of same score
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="inline fields">
|
<div class="inline fields">
|
||||||
<label><input type="checkbox" name="upDownCompensate" value="true" #if($tour.pairing.main.upDownCompensate) checked #end/> try to compensate a previous draw-up/draw-down by a draw-down/draw-up, then</label>
|
<label><input type="checkbox" name="upDownCompensate" value="true" #if($tour.pairing.main.upDownCompensate) checked #end/> try to compensate a previous draw-up/draw-down by a draw-down/draw-up, then</label>
|
||||||
@@ -89,10 +77,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Secondary parameters</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Secondary parameters
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>Do not apply secondary criteria for:</label>
|
<label>Do not apply secondary criteria for:</label>
|
||||||
@@ -113,30 +98,24 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Geographical parameters</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Geographical parameters
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>
|
<label>
|
||||||
Prefer a score gap of
|
Prefer a score gap of
|
||||||
<input type="number" min="0" value="$tour.pairing.geo.mmsDiffCountry"/>
|
<input type="number" name="mmsDiffCountry" min="0" value="$tour.pairing.geo.mmsDiffCountry"/>
|
||||||
rather than pairing players of the same country.
|
rather than pairing players of the same country.
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>
|
<label>
|
||||||
Prefer a score gap of
|
Prefer a score gap of
|
||||||
<input type="number" min="0" value="$tour.pairing.geo.mmsDiffClub"/>
|
<input type="number" name="mmsDiffClub" min="0" value="$tour.pairing.geo.mmsDiffClub"/>
|
||||||
rather than pairing players of the same club.
|
rather than pairing players of the same club.
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title"><i class="dropdown icon"></i>Handicap parameters</div>
|
||||||
<i class="dropdown icon"></i>
|
|
||||||
Handicap parameters
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>
|
<label>
|
||||||
|
Reference in New Issue
Block a user