Skip to content

Commit

Permalink
discontinue some settings + host changes
Browse files Browse the repository at this point in the history
Also revert other things
  • Loading branch information
Cattn committed Mar 27, 2023
1 parent b3bc4d2 commit eda3b2c
Show file tree
Hide file tree
Showing 29 changed files with 12 additions and 83 deletions.
1 change: 0 additions & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ <h3> You have reached this page because either something was mislinked, or you t

</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>
</html>

1 change: 0 additions & 1 deletion catch.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ <h1> catch error moment!! </h1>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/backup.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
14 changes: 4 additions & 10 deletions data/js/swap.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (isNet == 0) {
checkType = 2;
}
if (gameCoreType == "nds"){
checkType = 3;
checkType = 4;
}
}
if (isCheck == 2) {
Expand All @@ -60,19 +60,19 @@ if (isNet == 0) {

if (checkType == 1) {
gameName = gameText;
let gameLink = "https://endpoint.i10.repl.co/gba-alt/" + gameName + ".gba";
let gameLink = "../gba-host/" + gameName + ".gba";
gameName = gameLink;
console.log("gba-server");
}
if (checkType == 2) {
gameName = gameText;
let gameLink = "https://endpoint.i10.repl.co/nes-alt/" + gameName + ".nes.zip";
let gameLink = "../nes-alt/" + gameName + ".nes.zip";
gameName = gameLink;
console.log("nes-server");
}
if (checkType == 3) {
gameName = gameText;
let gameLink = "https://nds-host.nailington1.repl.co/?url=https://rawcdn.githack.com/mathadventure1/nds-host/0a9e47d73741eed5a1129535d1cb027ead56b027/nds-alt/" + gameName + ".zip";
let gameLink = "https://rawcdn.githack.com/mathadventure1/nds-host/0a9e47d73741eed5a1129535d1cb027ead56b027/nds-alt/" + gameName + ".zip";
gameName = gameLink;
console.log("nds-server");
isCheck = 0;
Expand Down Expand Up @@ -133,10 +133,4 @@ if (custType == 3) {
let gameLink = custHost + "n64-alt/" + gameName + ".7z";
gameName = gameLink;
console.log(gameLink);
}

let isDistrict = localStorage.getItem("district");
if (isDistrict == "1") {
gameName += "?palmbeach.k12.fl.us";
console.log(gameName);
}
1 change: 0 additions & 1 deletion dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/goofy.js"></script>

Expand Down
1 change: 0 additions & 1 deletion emulator.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ <h3>Featured Sites using this page!</h3>
<h3>Re-designed, Changed Emulator, and more by Cattn + Nailington#0747</h2>
</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
1 change: 0 additions & 1 deletion export.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ <h2>Import/Export your Data</h2>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/config/userconfig.js"></script>
<script src="data/js/config/loadconfig.js"></script>
<script src="user_scripts/dev.js"></script>
Expand Down
1 change: 0 additions & 1 deletion gb.html
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion gba-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion gba.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/goofy.js"></script>
<script src="user_scripts/dev.js"></script>
Expand Down
1 change: 0 additions & 1 deletion gbc.html
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion gbindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ <h1 class="tile-text"><a href="emulator.html" class="tile-text"> Legacy GBA (The

</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,5 @@ <h1 class="tile-text"><a href="romindex.html" class="tile-text"> Play/Patch Your
<script src="user_scripts/theme.js"></script>
<script src="config.js"></script>
<script src="user_scripts/dev.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
</html>
</html>

1 change: 0 additions & 1 deletion index_beta.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ <h2>Favorites!</h2>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion info.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ <h2>I have another question not here!</h2>
<h3>Contact us on discord with any other questions! <a href="https://discord.gg/math-study-934807331668099142">Join here!</a></h3>
</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
3 changes: 1 addition & 2 deletions launchpad.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,4 @@
</body>
<script src="user_scripts/player-theme.js"></script>
<script src="user_scripts/popup.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
</html>
</html>
1 change: 0 additions & 1 deletion n64.html
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion nds.html
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion nds2.html
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion nes.html
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion nesindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ <h1 class="tile-text"><a href="n64.html" class="tile-text"> N64 Emulator (NEW!)<

</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
1 change: 0 additions & 1 deletion offline.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ <h3> All joking aside, you are OFFLINE! Some pages may still load, but the one y

</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
1 change: 0 additions & 1 deletion recommendations.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ <h1>Staff Picks</h1>

</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/type.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion romindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ <h1 class="tile-text"><a href="testlaunch.html" class="tile-text"> Play Your ROM

</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
1 change: 0 additions & 1 deletion segaMD.html
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
21 changes: 2 additions & 19 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,11 @@ <h2>Welcome to the Settings Page!</h2>
<div class="swap-settings-container">
<h2>Netplay ON or OFF</h2>
<p> HUGE WARNING: PLEASE BACKUP YOUR SAVE STATES BEFORE DOING THIS THERE ARE RISKS INVOLVED, AS IT WILL USE THE OLD CORES FOR RETROARCH. </p>
<div class="toggle-button-cover">
<div class="button-cover">
<div class="button r" id="button-3">
<input id="swapNet" type="checkbox" class="checkbox" onclick="netPlay();" />
<div class="knobs"></div>
<div class="layer"></div>
</div>
</div>
</div>
<h1>THIS OPTION HAS BEEN DISCONTINUED!</h1>

<h2>Select Hosting Provider (REPLIT or GITHUB)</h2>
<p> Please note that not all games will work on both providers (most do, but some may not) </p>
<div class="toggle-button-cover">
<div class="button-cover">
<div class="button r" id="button-1">
<input id="swapSet" type="checkbox" class="checkbox" onclick="buttonProvid();" />
<div class="knobs"></div>
<div class="layer"></div>
</div>
</div>
</div>
<h1>THIS OPTION HAS BEEN DISCONTINUED!</h1>
<br>
<h2>Set Self Deployment (Include / at the end)</h2>
<div class="toggle-button-cover">
Expand Down Expand Up @@ -163,7 +147,6 @@ <h1> More Themes soon + More Settings </h1>
</main>
</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
1 change: 0 additions & 1 deletion snes.html
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,6 @@ <h3>Featured Sites using this page!</h3>
</body>
<script src="data/js/type.js"></script>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="data/js/favorite.js"></script>
<script src="user_scripts/dev.js"></script>

Expand Down
1 change: 0 additions & 1 deletion update.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ <h1> Have any other questions? </h1>
</main>
</body>
<script src="user_scripts/theme.js"></script>
<script src="user_scripts/palmbeach.k12.fl.us.js"></script>
<script src="user_scripts/dev.js"></script>

</html>
Expand Down
26 changes: 0 additions & 26 deletions user_scripts/palmbeach.k12.fl.us.js

This file was deleted.

5 changes: 4 additions & 1 deletion user_scripts/theme.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
const toggleState = 1;

localStorage.setItem("isNet", JSON.stringify(0));
localStorage.setItem("isCheck", JSON.stringify(1));
localStorage.setItem("is1Check", JSON.stringify(0));
console.log(localStorage.getItem("isNet"), localStorage.getItem("isCheck"), localStorage.getItem("is1Check"));
function themeValue(toggleState) {
if (toggleState == 1) {
document.documentElement.setAttribute('data-theme', 'light');
Expand Down

0 comments on commit eda3b2c

Please sign in to comment.