diff --git a/FCLauncher/src/index.html b/FCLauncher/src/index.html index c4abdab..448fed8 100644 --- a/FCLauncher/src/index.html +++ b/FCLauncher/src/index.html @@ -17,6 +17,8 @@ + +
@@ -26,8 +28,8 @@ - -

+ +
diff --git a/FCLauncher/src/main.js b/FCLauncher/src/main.js index 8aaa995..14c15e6 100644 --- a/FCLauncher/src/main.js +++ b/FCLauncher/src/main.js @@ -11,8 +11,8 @@ async function greet() { window.addEventListener("DOMContentLoaded", () => { - document.getElementById("idsButton").addEventListener("click", viewIds); - console.log("testing"); + document.getElementById("launchGame").addEventListener("click", gameLaunch); + }); function packSelect() { document.getElementById("myDropdown").classList.toggle("show"); @@ -45,11 +45,11 @@ function addModpacks(modpacks) { dropdown.options.add(opt); } } -function viewIds() { +function gameLaunch() { var packId = document.getElementById("Modpacks"); var selectedId = packId.value; - document.getElementById("showTheId").textContent = selectedId; - console.log(selectedId); + //TODO Launch Game + } diff --git a/FCLauncher/src/styles.css b/FCLauncher/src/styles.css index ca37325..b4c6e36 100644 --- a/FCLauncher/src/styles.css +++ b/FCLauncher/src/styles.css @@ -19,7 +19,7 @@ .container { margin: 0; - padding-top: 0vh; + padding-top: 30px; display: flex; flex-direction: column; justify-content: center; @@ -173,6 +173,6 @@ button { background-repeat: no-repeat; flex-direction: column; } -#Title { - +#launchGame { + margin-top: 20px; }