Clarification des coefficients des options
This commit is contained in:
parent
77aba02569
commit
783b204c3d
@ -129,8 +129,8 @@ function update() {
|
||||
total_options += points_lca_1re;
|
||||
document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-lca-1re").innerHTML = "0";
|
||||
document.getElementById("points-lca-1re").innerHTML = "0";
|
||||
document.getElementById("coef-lca-1re").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-lca-1re").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-lca-tle").checked) {
|
||||
@ -140,8 +140,8 @@ function update() {
|
||||
total_options += points_lca_tle;
|
||||
document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-lca-tle").innerHTML = "0";
|
||||
document.getElementById("points-lca-tle").innerHTML = "0";
|
||||
document.getElementById("coef-lca-tle").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-lca-tle").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-opt1-1re").checked) {
|
||||
@ -151,8 +151,8 @@ function update() {
|
||||
total_options += points_opt1_1re;
|
||||
document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-opt1-1re").innerHTML = "0";
|
||||
document.getElementById("points-opt1-1re").innerHTML = "0";
|
||||
document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-opt1-1re").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-opt1-tle").checked) {
|
||||
@ -162,8 +162,8 @@ function update() {
|
||||
total_options += points_opt1_tle;
|
||||
document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-opt1-tle").innerHTML = "0";
|
||||
document.getElementById("points-opt1-tle").innerHTML = "0";
|
||||
document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-opt1-tle").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-opt2").checked) {
|
||||
@ -173,8 +173,8 @@ function update() {
|
||||
total_options += points_opt2;
|
||||
document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-opt2").innerHTML = "0";
|
||||
document.getElementById("points-opt2").innerHTML = "0";
|
||||
document.getElementById("coef-opt2").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-opt2").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");
|
||||
|
@ -145,8 +145,8 @@ function update() {
|
||||
total_options += points_lca_1re;
|
||||
document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-lca-1re").innerHTML = "0";
|
||||
document.getElementById("points-lca-1re").innerHTML = "0";
|
||||
document.getElementById("coef-lca-1re").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-lca-1re").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-lca-tle").checked) {
|
||||
@ -156,8 +156,8 @@ function update() {
|
||||
total_options += points_lca_tle;
|
||||
document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-lca-tle").innerHTML = "0";
|
||||
document.getElementById("points-lca-tle").innerHTML = "0";
|
||||
document.getElementById("coef-lca-tle").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-lca-tle").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-opt1-1re").checked) {
|
||||
@ -167,8 +167,8 @@ function update() {
|
||||
total_options += points_opt1_1re;
|
||||
document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-opt1-1re").innerHTML = "0";
|
||||
document.getElementById("points-opt1-1re").innerHTML = "0";
|
||||
document.getElementById("coef-opt1-1re").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-opt1-1re").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-opt1-tle").checked) {
|
||||
@ -178,8 +178,8 @@ function update() {
|
||||
total_options += points_opt1_tle;
|
||||
document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-opt1-tle").innerHTML = "0";
|
||||
document.getElementById("points-opt1-tle").innerHTML = "0";
|
||||
document.getElementById("coef-opt1-tle").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-opt1-tle").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
if (document.getElementById("check-opt2").checked) {
|
||||
@ -189,8 +189,8 @@ function update() {
|
||||
total_options += points_opt2;
|
||||
document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr");
|
||||
} else {
|
||||
document.getElementById("coef-opt2").innerHTML = "0";
|
||||
document.getElementById("points-opt2").innerHTML = "0";
|
||||
document.getElementById("coef-opt2").innerHTML = "<del>2</del> 0";
|
||||
document.getElementById("points-opt2").innerHTML = "<del>2</del> 0";
|
||||
}
|
||||
|
||||
document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");
|
||||
|
@ -176,4 +176,8 @@ footer {
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
del {
|
||||
color: #666;
|
||||
}
|
Loading…
Reference in New Issue
Block a user