diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-06 15:20:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 15:20:53 +0200 |
commit | a026b88a94f4dec5f0568b8371a93fbb7714c3c2 (patch) | |
tree | a8e2d9e284787401bc6ee7d07bf4786e50ed87b1 /dist | |
parent | 6e68cc6678664cec7c090c0587c1e55b24df4fed (diff) | |
parent | 7a8e716fe0047227c1ea255112ec5210f7bedc1e (diff) | |
download | FlightCore-a026b88a94f4dec5f0568b8371a93fbb7714c3c2.tar.gz FlightCore-a026b88a94f4dec5f0568b8371a93fbb7714c3c2.zip |
Merge pull request #5 from GeckoEidechse/chore/remove-unused-code
chore: Remove unused code and dependencies
Diffstat (limited to 'dist')
-rw-r--r-- | dist/css/main.css | 109 | ||||
-rw-r--r-- | dist/index.html | 40 |
2 files changed, 0 insertions, 149 deletions
diff --git a/dist/css/main.css b/dist/css/main.css deleted file mode 100644 index 97ac9a43..00000000 --- a/dist/css/main.css +++ /dev/null @@ -1,109 +0,0 @@ -/* #region --- Base */ - -* { - /* best practice for application */ - box-sizing: border-box; - /* To allow flex/grid box to shrink smaller than content. - see: https://stackoverflow.com/a/36247448/686724 */ - min-width: 0; - min-height: 0; - /* layout normalization */ - margin: 0; - padding: 0; -} - -html, -body { - height: 100%; - font-size: 16px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - gap: 1rem; - /* make sure the canvas is the browser window */ -} - -html { - overflow: hidden; - /* prevent the browser 'bounce' (but will prevent screen scroll as well)*/ -} - -/* #endregion --- Base */ - -div.hello { - cursor: pointer; - user-select: none; - -webkit-user-select: none; - padding: .5rem .5rem; - border: solid 1px #dedede; - color: #888; - font-size: 1.rem; -} - -counter-button { - cursor: pointer; - user-select: none; - -webkit-user-select: none; - border: solid 1px hsl(210, 78%, 37%); - border-radius: 5px; - background: hsl(210, 90%, 76%); - padding: .875rem 3rem; - font-size: 1.5rem; -} - -counter-button:active { - background: hsl(210, 90%, 84%); -} - -counter-result { - border: solid 1px #dedede; - font-size: 1.5rem; - padding: 1.5rem 1rem; -} - -panic-button { - cursor: pointer; - user-select: none; - -webkit-user-select: none; - border: solid 1px; - border-radius: 5px; - padding: .875rem 3rem; -} - -backend-ping { - position: absolute; - top: 1rem; - right: 1rem; - border-radius: 3rem; - width: 1rem; - height: 1rem; - background-color: hsl(217, 100%, 50%); - transition: scale .125s; -} - -backend-ping.on { - scale: 1.25; - background-color: hsl(120, 100%, 32%); -} - -button { - cursor: pointer; - border: solid 1px hsl(210, 78%, 37%); - border-radius: 5px; - padding: .875rem 3rem; - font-size: 1.5rem; -} - -/* Assigned mainly to buttons that contain unimplemented functionality */ -.locked { - cursor: not-allowed; -} - -/** - * Stupid way to make text input field containing game_path big enough to show whole path. - * Optimally, this should be done dynamically - */ -input { - width: 400px; -} diff --git a/dist/index.html b/dist/index.html deleted file mode 100644 index ae87ebe7..00000000 --- a/dist/index.html +++ /dev/null @@ -1,40 +0,0 @@ -<!DOCTYPE html> -<html> - <link rel="stylesheet" href="css/main.css"> - <script src="js/app-bundle.js"></script> - <body> - <h1>FlightCore</h1> - <version-number-holder>Unknown version</version-number-holder> - <u>A Northstar installer, updater, and mod-manager</u> - <!-- - This button serves multiple purposes - - Locate install - - Install Northstar - - Update Northstar - - Run Northstar - The functionality it serves and what it displays is based on the current state of the application - --> - <button id="omni-button">Loading...</button> - <northstar-version-holder>Unknown Northstar version</northstar-version-holder> - <input value="Couldn't find Titanfall2 install" id="install-location-holder" disabled></input> - <install-type-holder>UNKOWN</install-type-holder> - <origin-running-holder>ORIGIN STATUS UNKOWN</origin-running-holder> - <!-- <div class="hello">Click for Hello</div> --> - <!-- <counter-button>ADD</counter-button> --> - <!-- <counter-result>.</counter-result> --> - - <!-- This button is solely for testing purposes. It force crashes the application to check crash logging --> - <panic-button>Panic Button</panic-button> - - <!-- Button to allow switching to installing release candidate --> - <!-- Should be switched to dropdown menu later --> - Use release candidate? <input type="checkbox" id="use-release-candidate-checkbox" /> - - <!-- Stuff directly below would go to a repair/verify Titanfall2/Northstar page in the app --> - <button id="force-reinstall-northstar-button">Force reinstall Northstar</button> - <button id="verify-game-files-button">Verify Titanfall2 game files</button> - - <!-- This showcases ping activity between frontend and backend. Should be hidden in non-dev/debug mode --> - <backend-ping class="server"></backend-ping> - </body> -</html> |