Various cosmetic tweaks
This commit is contained in:
@@ -189,3 +189,5 @@ Log in using Se connecter avec
|
||||
(reserved to FFG actors) (réservé aux acteurs FFG)
|
||||
Log in using an email Se connecter avec un email
|
||||
password mot de passe
|
||||
Warning: publishing partial results at round Attention: publication partielle des résultats à la ronde
|
||||
out of sur
|
@@ -198,8 +198,17 @@ onLoad(() => {
|
||||
// $('#player-form')[0].requestSubmit() not working?!
|
||||
$('#player-form')[0].dispatchEvent(new CustomEvent('submit', {cancelable: true}));
|
||||
});
|
||||
$('#search-form').on('submit', e => {
|
||||
// this form is never meant to be submitted
|
||||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
$('#player-form').on('submit', e => {
|
||||
e.preventDefault();
|
||||
if ($('#register').hasClass('disabled')) {
|
||||
// user pressed enter
|
||||
return false;
|
||||
}
|
||||
let form = $('#player-form')[0];
|
||||
let player = {
|
||||
name: form.val('name'),
|
||||
|
@@ -221,7 +221,7 @@
|
||||
<div class="popup-footer">
|
||||
<button id="cancel-register" type="button" class="ui gray right labeled icon floating button">
|
||||
<i class="times icon"></i>
|
||||
<span class="edition">Close</span>
|
||||
<span class="edition">Cancel</span>
|
||||
<span class="creation">Close</span>
|
||||
</button>
|
||||
<button id="unregister" type="button" class="ui red right labeled icon floating button">
|
||||
|
@@ -100,6 +100,9 @@
|
||||
Publish standings
|
||||
</div>
|
||||
<div class="popup-content">
|
||||
#if($round < $tour.rounds)
|
||||
<div class="warning">Warning: publishing partial results at round <span>$round</span> out of <span>$tour.rounds</span>!</div>
|
||||
#end
|
||||
<form class="ui edit form">
|
||||
<div class="field">
|
||||
<label>Encoding</label>
|
||||
|
Reference in New Issue
Block a user