Skip to content

Commit 0de1ea9

Browse files
committed
modify edt l3 info
1 parent 40e1d4f commit 0de1ea9

File tree

5 files changed

+10
-37
lines changed

5 files changed

+10
-37
lines changed

.DS_Store

-2 KB
Binary file not shown.

PPPE-RD/.DS_Store

-6 KB
Binary file not shown.

edt/index.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,13 @@
2424
</header>
2525
<div id="body">
2626
<div class="select-edt">
27-
<a href="#" class="lien-edt" id="l2-info-button" onclick="l2_info()">L2 Info</a>
2827
<a href="#" class="lien-edt" id="l3-info-button" onclick="l3_info()">L3 Info</a>
29-
<a href="#" class="lien-edt" id="l3-maths-button" onclick="l3_maths()">L3 Maths</a>
30-
</div>
31-
<div id="l2_info" class="edt" style="display: none">
32-
<iframe src="https://calendar.google.com/calendar/embed?height=600&wkst=2&bgcolor=%23ffffff&ctz=Europe%2FParis&showTitle=1&showNav=1&mode=WEEK&title=S4&src=MjI0dTJnYmQ3NmN2ajdxb2F0MDUxajIxdWxwYmczdjdAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23795548" style="border:solid 1px #777" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
28+
<a href="#" class="lien-edt" id="m1-info-button" onclick="m1_info()">M1 Info</a>
3329
</div>
3430
<div id="l3_info" class="edt" style="display: none">
35-
<iframe src="https://calendar.google.com/calendar/embed?height=600&wkst=2&bgcolor=%23ffffff&ctz=Europe%2FParis&mode=WEEK&title=L3%20Info&src=aXVqcGpudHQ0YzNua3IxanJvMnJmbXRzODh1M3AxaGFAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&src=NzUxazU0bTc3djlibjZwcXVjNmowb3BhdTF0NWsyYzVAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&src=ZHZoazV2MXA1Y25tY3Jsa25oN3JmZjc1bDlrZHEza2hAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23E67C73&color=%23E67C73&color=%23E67C73" style="border:solid 1px #777" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
31+
<iframe src="https://calendar.google.com/calendar/embed?height=600&wkst=2&ctz=Europe%2FParis&bgcolor=%23ffffff&showTitle=0&showPrint=0&mode=WEEK&src=N291cjY2a2I5Z3BsZ3Jkb2l0anFiOHEyN3NxdmwwcTFAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23E67C73" style="border:solid 1px #777" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
3632
</div>
37-
<div id="l3_maths" class="edt" style="display: none">
33+
<div id="m1_info" class="edt" style="display: none">
3834
<iframe src="https://calendar.google.com/calendar/embed?height=600&wkst=2&bgcolor=%23ffffff&ctz=Europe%2FParis&mode=WEEK&title=L3%20Maths&src=aHN2NGVrMXRnZDJzbTIxazNwc2gxcWZmMXRpY2tsc2JAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&src=ZTJmYm4yMG03OWhsZWlua2lmZjV2MHRocG8ya29rM2lAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23AD1457&color=%23616161" style="border:solid 1px #777" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
3935
</div>
4036
</div>

edt/script.js

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,23 @@
1-
function l2_info() {
2-
document.getElementById("l2_info").style.display = "flex";
3-
document.getElementById("l2-info-button").classList.add("active");
4-
document.getElementById("l3_info").style.display = "none";
5-
if (document.getElementById("l3-info-button").classList.contains("active")){
6-
document.getElementById("l3-info-button").classList.remove("active");
7-
}
8-
document.getElementById("l3_maths").style.display = "none";
9-
if (document.getElementById("l3-maths-button").classList.contains("active")){
10-
document.getElementById("l3-maths-button").classList.remove("active");
11-
}
12-
}
13-
141
function l3_info() {
15-
document.getElementById("l2_info").style.display = "none";
16-
if (document.getElementById("l2-info-button").classList.contains("active")){
17-
document.getElementById("l2-info-button").classList.remove("active");
2+
document.getElementById("m1_info").style.display = "none";
3+
if (document.getElementById("m1-info-button").classList.contains("active")){
4+
document.getElementById("m1-info-button").classList.remove("active");
185
}
196
document.getElementById("l3_info").style.display = "flex";
207
document.getElementById("l3-info-button").classList.add("active");
21-
document.getElementById("l3_maths").style.display = "none";
22-
if (document.getElementById("l3-maths-button").classList.contains("active")){
23-
document.getElementById("l3-maths-button").classList.remove("active");
24-
}
258
}
269

27-
function l3_maths() {
28-
document.getElementById("l2_info").style.display = "none";
29-
if (document.getElementById("l2-info-button").classList.contains("active")){
30-
document.getElementById("l2-info-button").classList.remove("active");
31-
}
10+
function m1_info() {
3211
document.getElementById("l3_info").style.display = "none";
3312
if (document.getElementById("l3-info-button").classList.contains("active")){
3413
document.getElementById("l3-info-button").classList.remove("active");
3514
}
36-
document.getElementById("l3_maths").style.display = "flex";
37-
document.getElementById("l3-maths-button").classList.add("active");
15+
document.getElementById("m1_info").style.display = "flex";
16+
document.getElementById("m1-info-button").classList.add("active");
3817
}
3918

4019
function load() {
41-
l2_info();
20+
l3_info();
4221
}
4322

4423
if (screen.height > screen.width){

points/script.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ function getLocalStorage() {
6767

6868
player_selected = parseInt(player_selected);
6969

70-
console.log(player_selected);
71-
7270
while (i < player_selected) {
7371

7472
let j = i+1;

0 commit comments

Comments
 (0)