(refactor) Refactor index.php

This commit is contained in:
AGuyNamedJens 2023-03-30 01:10:55 +02:00 committed by IceToast
parent 4d97c1473b
commit 086f685780

View file

@ -182,7 +182,7 @@ if (isset($_GET['step']) && $_GET['step'] == 2) {
<button class="btn btn-primary" name="feedDB">Submit</button> <button class="btn btn-primary" name="feedDB">Submit</button>
</div> </form>
</div> </div>
@ -218,7 +218,7 @@ if (isset($_GET['step']) && $_GET['step'] == 2) {
<label for="name">Your Host-Name</label> <label for="name">Your Host-Name</label>
<input id="name" name="name" type="text" <input id="name" name="name" type="text"
required required
value="Controlpanel.gg" class="form-control"> value="" class="form-control">
</div> </div>
</div> </div>
@ -312,7 +312,9 @@ if (isset($_GET['step']) && $_GET['step'] == 2) {
</div> </div>
<a href="?step=5"><button class="btn btn-warning">Skip this step for now</button></a> <a href="?step=5">
<button class="btn btn-warning">Skip this step for now</button>
</a>
</div> </div>
</div> </div>
@ -357,7 +359,8 @@ if (isset($_GET['step']) && $_GET['step'] == 2) {
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="custom-control mb-3"> <div class="custom-control mb-3">
<label for="clientkey">Pterodactyl Admin-User API-Key (https://your.ptero.com/account/api)</label> <label for="clientkey">Pterodactyl Admin-User API-Key
(https://your.ptero.com/account/api)</label>
<input id="clientkey" name="clientkey" type="text" <input id="clientkey" name="clientkey" type="text"
required required
value="" class="form-control" value="" class="form-control"
@ -392,7 +395,8 @@ if (isset($_GET['step']) && $_GET['step'] == 2) {
<div class="form-group"> <div class="form-group">
<div class="custom-control mb-3"> <div class="custom-control mb-3">
<label for="pteroID">Your Pterodactyl User-ID (found in the users-list on your pterodactyl dashboard)</label> <label for="pteroID">Your Pterodactyl User-ID (found in the users-list on your pterodactyl
dashboard)</label>
<input id="pteroID" name="pteroID" type="text" <input id="pteroID" name="pteroID" type="text"
required required
value="1" class="form-control"> value="1" class="form-control">