+
- MAP ZONE
- WAYPOINTS
- SETTINGS
- GENERATE
-
- ROUTE AREA
-Click to choose the area where your route will generate.
-
-
- NEXT →
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
+ ROUTE AREA
+Click to choose the area where your route will generate.
+
+
+ NEXT →
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- MAP ZONE -
- WAYPOINTS -
- SETTINGS -
- GENERATE -
-
@@ -90,6 +109,8 @@
var activeSquare = -1;
var currentStep = 1;
+ var waypointNumber = 150;
+
document.getElementById("menua1").style.opacity = 1;
document.getElementById("menua1").style.display = "block";
@@ -102,13 +123,18 @@
}
async function updateMenu(step) {
document.getElementById("menua" + (step - 1)).style.opacity = 0;
+ document.getElementsByClassName("progressitem")[step - 2].setAttribute("data-active", "false");
+ document.getElementsByClassName("dot")[step - 2].setAttribute("data-active", "false");
await new Promise(r => setTimeout(r, 500));
document.getElementById("menua" + (step - 1)).style.display = "none";
document.getElementById("menua" + (step)).style.display = "block";
document.getElementById("menua" + (step)).style.opacity = 1;
+ document.getElementsByClassName("progressitem")[step - 1].setAttribute("data-active", "true");
+ document.getElementsByClassName("dot")[step - 1].setAttribute("data-active", "true");
}
function moveStep() {
if (currentStep == 1 && activeSquare == -1) return;
+ if (currentStep == 2) waypointNumber = document.getElementById("wpform").value;
currentStep++;
updateMenu(currentStep);
}
diff --git a/web-app/seafoam/src/styles.css b/web-app/seafoam/src/styles.css
index 693066e..146d946 100644
--- a/web-app/seafoam/src/styles.css
+++ b/web-app/seafoam/src/styles.css
@@ -71,6 +71,7 @@ body {
font-weight: 500;
color: #404040;
display: inline-block;
+ transition: color 0.25s;
}
.progressitem[data-active="true"] {
@@ -175,4 +176,48 @@ body {
.mapsquare:hover {
opacity: 0.7;
+}
+
+.waypointentry {
+ position: relative;
+ left: 20rem;
+ margin-top: 2rem;
+ width: 40rem;
+}
+
+.waypointform {
+ background-color: #131b23;
+ height: 2rem;
+ width: 7rem;
+ color: #ffffff;
+ font-size: 1.2rem;
+ font-weight: 300;
+ font-family: "Poppins";
+}
+
+.waypointform::-webkit-outer-spin-button,
+.waypointform::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+
+.prioritychoice {
+ position: relative;
+ left: 20rem;
+ width: 40rem;
+}
+
+.priorityform {
+ color: #ffffff;
+ font-size: 1.2rem;
+ font-weight: 300;
+ margin-right: 1rem;
+}
+
+.settingdesc {
+ margin-top: 1rem;
+ width: 20rem;
+ font-size: 1rem;
+ font-weight: 300;
+ color: #ffffff;
}
\ No newline at end of file
ROUTE AREA
-Click to choose the area where your route will generate.
+
+
-
+
+ WAYPOINTS
+Enter desired waypoints- route may be +-10% of the value.
+
+
+
+
+
NEXT →
+
-
NEXT →
+
+
+
+ SETTINGS
+
+
+ Choose priority for teleport distance or density for route output.
+ +
+