GrassClipper/resources/index.html

81 lines
3.0 KiB
HTML
Raw Normal View History

2022-04-19 23:54:36 +00:00
<!DOCTYPE html>
2022-04-19 23:33:59 +00:00
<html>
2022-04-19 23:54:36 +00:00
<head>
<link rel="stylesheet" type="text/css" href="style/index.css" />
2022-04-20 01:12:56 +00:00
<script src="js/neutralino.js"></script>
2022-04-21 01:16:36 +00:00
<script src="js/windowDrag.js"></script>
<script src="js/hoverEvt.js"></script>
2022-04-20 01:12:56 +00:00
<script src="js/index.js"></script>
2022-04-19 23:54:36 +00:00
</head>
<body>
2022-04-22 00:05:00 +00:00
<div id="firstTimeNotice">
<span>
<span class="boldTitle">Looks like this is your first time opening GrassClipper!<br/></span>
First of all, welcome, happy to see you here! :)<br/><br/>
Would you like to run the proxy installer?<br/>
(required to connect to private servers)
</span>
<div id="firstTimeBtns">
<button class="playBtn" id="firstTimeBtn" onclick="runInstallScript()">Install</button>
<button class="altBtn" id="firstTimeBtn">No thanks</button>
</div>
</div>
2022-04-21 22:33:14 +00:00
<div id="settingsPanel" style="display: none;">
2022-04-21 21:53:53 +00:00
<span id="fullSettingsTitle">Settings</span>
2022-04-21 22:33:14 +00:00
<div id="settingsClose">
<img src="icons/close.svg" onclick="closeSettings()" />
</div>
2022-04-21 21:53:53 +00:00
<div id="settingsPanelInner">
<div class="settingTitle">
<span>Scripts</span>
</div>
<div class="settingsRow">
<span class="settingLabel">Kill Switch</span>
2022-04-21 22:15:52 +00:00
<input type="checkbox" id="killswitchOption" onchange="toggleKillSwitch()" />
2022-04-21 21:57:03 +00:00
<span class="settingSubtitle">
2022-04-21 22:15:52 +00:00
Only for those very paranoid about bans. Kills the game process *and your internet* if something happens to the proxy.
2022-04-21 21:57:03 +00:00
</span>
2022-04-21 21:53:53 +00:00
</div>
</div>
</div>
2022-04-21 00:41:49 +00:00
<div id="controlBar">
2022-04-21 01:16:36 +00:00
<span id="titleSection">
GrassClipper
2022-04-21 21:57:35 +00:00
<span id="version">0.4.0</span>
2022-04-21 01:16:36 +00:00
</span>
2022-04-21 10:51:58 +00:00
<div id="settingsBtn" onclick="openSettings()">
<img src="icons/cog.svg" />
</div>
2022-04-21 00:44:17 +00:00
<div id="minBtn" onclick="minimizeWin()">
2022-04-21 00:41:49 +00:00
<img src="icons/min.svg" alt="Minimize" />
</div>
2022-04-21 00:44:17 +00:00
<div id="closeBtn" onclick="closeWin()">
2022-04-21 00:41:49 +00:00
<img src="icons/close.svg" />
</div>
</div>
2022-04-19 23:54:36 +00:00
<div id="halvesContainer">
<div id="firstHalf">
<button class="playBtn" id="playOfficial" onclick="launchOfficial()">Play Official</button>
2022-04-19 23:54:36 +00:00
</div>
<div id="secondHalf">
2022-04-21 06:04:20 +00:00
<div id="ipList" style="display: none;"></div>
2022-04-21 00:06:35 +00:00
<div id="secondControlContainer">
2022-04-21 05:26:25 +00:00
<div id="serverInput">
2022-04-21 05:43:32 +00:00
<input type="text" id="ip" placeholder="IP Address" oninput="handleFavoriteInput()"/>
<img src="icons/star_empty.svg" id="star" onclick="setFavorite()" />
2022-04-21 06:04:20 +00:00
<img src="icons/list.svg" id="star" onclick="handleFavoriteList()" />
2022-04-21 05:26:25 +00:00
</div>
<button class="playBtn" id="playPrivate" onclick="launchPrivate()">Play Private</button>
2022-04-21 00:06:35 +00:00
</div>
2022-04-20 00:07:56 +00:00
</div>
</div>
<div id="bottomBar">
<div class="bottomSection">
2022-04-21 05:06:56 +00:00
<button class="smolBtn" onclick="setGenshinImpactFolder()">Set "Genshin Impact Game" folder</button>
2022-04-20 01:12:56 +00:00
<span id="genshinPath" style="margin-top: 4px;"></span>
2022-04-19 23:54:36 +00:00
</div>
</div>
</body>
2022-04-19 23:33:59 +00:00
</html>