Skip to content

Commit

Permalink
Revert "Revert "Manual online mode switch (doesn't do anything yet)""
Browse files Browse the repository at this point in the history
This reverts commit 7e52089.
  • Loading branch information
Heath123 committed Oct 22, 2021
1 parent e7b66d4 commit aceea30
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions html/startPage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,19 @@ <h1 class='title'>pakkit</h1>
</select>
</p>
<br><br>
<p>
<label for="manualOnline">Manual online mode:</label>
<span style="display: table-cell; width: 1px;">Asks for login credentials in a dialog box on join instead of automatically detecting them</span>
</p>
<br>
<p>
<div style="display: table-cell;"></div>
<label class="switch" style="padding: 0;">
<input id="manualOnline" type="checkbox" value="manualOnline">
<span class="slider round"></span>
</label>
</p>
<br><br>
<p>
<label for="connect-address">Connect address:</label>
<input type="text" name="connect-address" id="connect-address" value="127.0.0.1" placeholder="127.0.0.1">
Expand All @@ -89,11 +102,10 @@ <h1 class='title'>pakkit</h1>
<input type="text" name="listen-port" id="listen-port" value="25566" placeholder="25566">
</p>
<div id="consent-box" style="display: none;">
<br>
<br>
<br><br>
<p>
<label for="consent">Consent:</label>
<span style="display: table-cell;">Allow pakkit to use my auth token from launcher_profiles.json for logging in to online mode servers</span>
<span style="display: table-cell; width: 1px;">Allow pakkit to use my auth token from launcher_profiles.json for logging in to online mode servers</span>
</p>
<br>
<p>
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function createWindow() {

// Create the browser window.
const win = new BrowserWindow({
height: store.get('authConsentGiven') ? 550 : 700,
height: store.get('authConsentGiven') ? 700 : 870,
width: 500,
resizable: false,
// frame: false,
Expand Down

0 comments on commit aceea30

Please sign in to comment.