Skip to content

Commit 5b63276

Browse files
committed
Visual changes to the start screen
1 parent 41c6a76 commit 5b63276

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

html/startPage/index.html

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ <h1 class='title'>pakkit</h1>
1515
node-minecraft-protocol and ProxyPass.</p>
1616
<form onsubmit="startProxy(event)">
1717
<ul class="form-wrapper">
18-
1918
<li class="form-row">
2019
<label for="platform">Platform:</label>
2120
<select id="platform" onchange="platformChange()">
@@ -77,7 +76,7 @@ <h1 class='title'>pakkit</h1>
7776
<option value="1.7.10">1.7.10</option>
7877
</select>
7978
<select disabled id="version-bedrock" style="display: none;">
80-
<option value="1.15.2">1.16.221 (latest)</option>
79+
<option value="1.15.2">1.16.221</option>
8180
</select>
8281
</li>
8382
<li class="form-row">
@@ -88,16 +87,21 @@ <h1 class='title'>pakkit</h1>
8887
<label for="connect-port">Connect port:</label>
8988
<input id="connect-port" name="connect-port" placeholder="25565" type="text" value="25565"/>
9089
</li>
91-
<li class="form-row" id="auth-row">
92-
<label for="connect-port">Auth method:</label>
93-
<span>
94-
<label class="switch" style="padding: 0;">
95-
<input id="auth-online" type="checkbox" value="auth-online"/>
96-
<span class="slider round"></span>
97-
</label>
98-
Online mode
99-
</span>
100-
</li>
90+
<div id="auth-row">
91+
<li class="form-row">
92+
<label for="auth-online">Auth method:</label>
93+
<span>Enable online mode?</span>
94+
</span>
95+
<li class="form-row">
96+
<label></label>
97+
<span>
98+
<label class="switch" style="padding: 0;">
99+
<input id="auth-online" type="checkbox" value="auth-online"/>
100+
<span class="slider round"></span>
101+
</label>
102+
</span>
103+
</li>
104+
</div>
101105
<li class="form-row topspacer">
102106
<label for="listen-port">Listen port:</label>
103107
<input id="listen-port" name="listen-port" placeholder="25566" type="text" value="25566"/>

html/startPage/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function platformChange()
8383
} else {
8484
document.getElementById('version').style.display = 'block'
8585
document.getElementById('version-bedrock').style.display = 'none'
86-
document.getElementById('auth-row').style.display = 'flex'
86+
document.getElementById('auth-row').style.display = 'block'
8787
}
8888
loadSettings(platform)
8989
lastPlatform = platform

0 commit comments

Comments
 (0)