summaryrefslogtreecommitdiff
path: root/rannak/mangud
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud')
-rw-r--r--rannak/mangud/index.html1
-rw-r--r--rannak/mangud/partorg/kuulsused/script.js2
-rw-r--r--rannak/mangud/partorg/plakat/main.js2
-rw-r--r--rannak/mangud/partorg/sonaragastik/script.js3
-rw-r--r--rannak/mangud/uliopilane/ajatelg/script.js2
-rw-r--r--rannak/mangud/uliopilane/tSark/main.js2
-rw-r--r--rannak/mangud/uliopilane/utlused/css/utlused.css3
-rw-r--r--rannak/mangud/uliopilane/utlused/js/main.js3
8 files changed, 10 insertions, 8 deletions
diff --git a/rannak/mangud/index.html b/rannak/mangud/index.html
index d0394bd..624823e 100644
--- a/rannak/mangud/index.html
+++ b/rannak/mangud/index.html
@@ -46,7 +46,6 @@
<li><a href="partorg/kuulsused">Kuulsused</a></li>
<li><a href="partorg/sonaragastik">Sõnarägastik</a></li>
<li><a href="partorg/plakat">Plakat</a></li>
- <li></li>
</ol>
</div>
diff --git a/rannak/mangud/partorg/kuulsused/script.js b/rannak/mangud/partorg/kuulsused/script.js
index debb677..e1b994b 100644
--- a/rannak/mangud/partorg/kuulsused/script.js
+++ b/rannak/mangud/partorg/kuulsused/script.js
@@ -64,6 +64,6 @@ function checkIfAllGood(){
if (rightDone.length == 6) {
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ btn.onclick = () => location.href = "../plakat";
}
}
diff --git a/rannak/mangud/partorg/plakat/main.js b/rannak/mangud/partorg/plakat/main.js
index 6eb9281..925db66 100644
--- a/rannak/mangud/partorg/plakat/main.js
+++ b/rannak/mangud/partorg/plakat/main.js
@@ -132,7 +132,7 @@ canvas.addEventListener('mousemove', draw);
function moveOnEnable(){
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ btn.onclick = () => location.href = "../sonaragastik";
}
function moveOnDisable(){
diff --git a/rannak/mangud/partorg/sonaragastik/script.js b/rannak/mangud/partorg/sonaragastik/script.js
index af16488..6151b9e 100644
--- a/rannak/mangud/partorg/sonaragastik/script.js
+++ b/rannak/mangud/partorg/sonaragastik/script.js
@@ -94,7 +94,8 @@ function proovi(){
function moveOnEnable(){
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ localStorage.setItem('roll', "Partogi");
+ btn.onclick = () => location.href = "../../../endPage";
// submit btn
const subButton = document.querySelector(".subBtn");
diff --git a/rannak/mangud/uliopilane/ajatelg/script.js b/rannak/mangud/uliopilane/ajatelg/script.js
index 5c667a5..c636836 100644
--- a/rannak/mangud/uliopilane/ajatelg/script.js
+++ b/rannak/mangud/uliopilane/ajatelg/script.js
@@ -67,6 +67,6 @@ function checkIfAllGood(){
if (rightDone.length == 12) {
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ btn.onclick = () => location.href = "../tSark";
}
}
diff --git a/rannak/mangud/uliopilane/tSark/main.js b/rannak/mangud/uliopilane/tSark/main.js
index 98786f2..e21fb49 100644
--- a/rannak/mangud/uliopilane/tSark/main.js
+++ b/rannak/mangud/uliopilane/tSark/main.js
@@ -378,7 +378,7 @@ chkBtn.addEventListener("click", (e) => {
function moveOnEnable(){
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ btn.onclick = () => location.href = "../utlused";
}
// 6
diff --git a/rannak/mangud/uliopilane/utlused/css/utlused.css b/rannak/mangud/uliopilane/utlused/css/utlused.css
index 8a226b9..f4a3728 100644
--- a/rannak/mangud/uliopilane/utlused/css/utlused.css
+++ b/rannak/mangud/uliopilane/utlused/css/utlused.css
@@ -52,7 +52,8 @@ button:disabled{
cursor: pointer !important;
transition: all 0.3 ease 0 !important;
margin: 3% !important;
- font-size: 1.2rem !important;
+ font-size: 1.05rem !important;
+ max-width: 10% !important;
}
.modalButton:hover{
diff --git a/rannak/mangud/uliopilane/utlused/js/main.js b/rannak/mangud/uliopilane/utlused/js/main.js
index 1e19210..31b42da 100644
--- a/rannak/mangud/uliopilane/utlused/js/main.js
+++ b/rannak/mangud/uliopilane/utlused/js/main.js
@@ -78,7 +78,8 @@ if (`${isMobile() ? 'mobile' : 'not mobile'}` == 'not mobile') {
if (counter == 6){
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ localStorage.setItem("roll", "Üliõpilase");
+ btn.onclick = () => location.href = "../../../endPage";
}
} // If isCorrectMatchingEnd
} // Drop Func End