Review filtering on registration status
This commit is contained in:
@@ -206,6 +206,10 @@
|
||||
.ui.table>tbody>tr>td, .ui.table>tr>td {
|
||||
padding: 0.2em 0.2em;
|
||||
}
|
||||
select.ui.dropdown {
|
||||
height: unset;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.step, .step .title { font-size: 1em; }
|
||||
.step:before { font-size: 1em; }
|
||||
|
@@ -43,6 +43,7 @@ Export tournament Exporter le tournoi
|
||||
Family name Nom de famille
|
||||
Filter Filtrer
|
||||
Filter... Filtrer…
|
||||
Final only Inscriptions finales
|
||||
First name Prénom
|
||||
Fischer timing Cadence Fischer
|
||||
French rules Règles françaises
|
||||
@@ -80,13 +81,16 @@ Next rounds seeding Méthode rondes suivantes
|
||||
OpenGotha file Fichier OpenGotha
|
||||
Pair Apparier
|
||||
Pair-go tournament Tournoi de pair-go
|
||||
Pairing Appariement
|
||||
Pairing Appariements
|
||||
Pairings for round Appariement pour la ronde
|
||||
Participation Participation
|
||||
Preliminary and final Toutes les inscriptions
|
||||
Preliminary only Inscriptions préliminaires
|
||||
Publish Publier
|
||||
Publish standings Publier le classement
|
||||
Rank Niveau
|
||||
Rating Classement
|
||||
Reg Inscr.
|
||||
Register Inscrire
|
||||
Registration Inscriptions
|
||||
Rengo with 2 players teams Rengo par équipes de 2
|
||||
|
@@ -269,14 +269,13 @@ onLoad(() => {
|
||||
store(id, value);
|
||||
initSearch();
|
||||
});
|
||||
$('#list-header .toggle').on('click', e => {
|
||||
let chk = e.target.closest('.toggle');
|
||||
let checkbox = chk.find('input')[0];
|
||||
checkbox.checked = !checkbox.checked;
|
||||
if (checkbox.checked) {
|
||||
$('#reglist-mode').on('change', e => {
|
||||
let mode = e.target.value;
|
||||
$('td.reg-status').forEach(node => node.parentNode.removeClass('filtered'));
|
||||
if (mode === 'prelim') {
|
||||
$('td.reg-status.final').forEach(node => node.parentNode.addClass('filtered'));
|
||||
} else if (mode === 'final') {
|
||||
$('td.reg-status:not(.final)').forEach(node => node.parentNode.addClass('filtered'));
|
||||
} else {
|
||||
$('td.reg-status:not(.final)').forEach(node => node.parentNode.removeClass('filtered'));
|
||||
}
|
||||
});
|
||||
document.on('click', e => {
|
||||
|
@@ -8,13 +8,11 @@
|
||||
<input type="text" id="filter" placeholder="Filter..."/>
|
||||
<i class="circular times link icon"></i>
|
||||
</div>
|
||||
<div class="toggle">
|
||||
<input id="filter-final" name="filter-final" type="checkbox"/>
|
||||
<div class="checkbox">
|
||||
<div class="circle"></div>
|
||||
</div>
|
||||
<label>Final</label>
|
||||
</div>
|
||||
<select id="reglist-mode" class="ui dropdown">
|
||||
<option value="all">Preliminary and final</option>
|
||||
<option value="prelim">Preliminary only</option>
|
||||
<option value="final">Final only</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
$parts.size() participants, $utils.countFinals($parts) confirmed.
|
||||
|
Reference in New Issue
Block a user