Compare commits
5 Commits
514733f871
...
master
Author | SHA1 | Date | |
---|---|---|---|
3dff39a46f | |||
730899c99e | |||
8aa5d7e86f | |||
e62387197d | |||
384fc89acc |
@ -28,9 +28,11 @@ function calcul_section(data) {
|
||||
epreuve.entries.forEach(entry => {
|
||||
let field = document.getElementById(entry + "-note");
|
||||
|
||||
if (field.value) caduque = false;
|
||||
if (field.value || field.required) {
|
||||
points_epreuve += epreuve.coef * arrondi_dixieme(parseFloat((field.value) ? field.value : 0));
|
||||
if (field.value && field.checkValidity()) {
|
||||
points_epreuve += epreuve.coef * arrondi_dixieme(parseFloat(field.value));
|
||||
coefficients += epreuve.coef;
|
||||
caduque = false;
|
||||
} else if (field.required) {
|
||||
coefficients += epreuve.coef;
|
||||
}
|
||||
});
|
||||
|
@ -225,19 +225,19 @@ div.ln div.null {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div.ln div {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
div.ln {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
div.ln div:nth-child(1) {
|
||||
width: calc(70vw + 10px);
|
||||
width: calc(70vw + 5px);
|
||||
}
|
||||
|
||||
div.ln div:nth-child(3), div.ln div:nth-child(4) {
|
||||
width: 35vw;
|
||||
}
|
||||
|
||||
div.ln div:nth-child(2), div.ln div:nth-child(5) {
|
||||
width: calc(30vw - 30px);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user