aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-06 00:44:11 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-06 00:44:11 +0200
commit2b23e7e963383d4b543b5c8a60d45d9e711100db (patch)
tree0e5cbe650da4b8c786990a4275b66600438723e3
parent6e68cc6678664cec7c090c0587c1e55b24df4fed (diff)
downloadFlightCore-2b23e7e963383d4b543b5c8a60d45d9e711100db.tar.gz
FlightCore-2b23e7e963383d4b543b5c8a60d45d9e711100db.zip
chore: Remove unused frontend page and styling
-rw-r--r--dist/css/main.css109
-rw-r--r--dist/index.html40
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>