fix: Button not clickable on step 2.5 of installation. (#786)

This commit is contained in:
Dennis 2023-04-05 15:20:21 +02:00 committed by GitHub
commit 20bd030e78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,24 +175,20 @@ function cardStart($title, $subtitle = null)
}
// DB Migration & APP_KEY Generation
if (isset($_GET['step']) && $_GET['step'] == 2.5) {
if (isset($_GET['step']) && $_GET['step'] == 2.5) { ?>
<form method="POST" enctype="multipart/form-data" class="m-0" action="/install/forms.php" name="feedDB">
echo cardStart($title = "Database Migration and Encryption Key Generation", $subtitle = "Lets feed your Database and generate some security keys! <br> This process might take a while. Please do not refresh or close this page!"); ?> <form method="POST" enctype="multipart/form-data" class="m-0" action="/install/forms.php" name="feedDB">
<form method="POST" enctype="multipart/form-data" class="m-0" action="/install/forms.php" name="feedDB">
<?php echo cardStart($title = "Database Migration and Encryption Key Generation", $subtitle = "Lets feed your Database and generate some security keys! <br> This process might take a while. Please do not refresh or close this page!"); ?> <form method="POST" enctype="multipart/form-data" class="m-0" action="/install/forms.php" name="feedDB">
<?php if (isset($_GET['message'])) {
echo "<p class='not-ok check'>" . $_GET['message'] . '</p>';
} ?>
</div>
<div class="w-full flex justify-center ">
<button class="w-1/3 min-w-fit mt-2 px-4 py-2 font-bold rounded-md bg-sky-500 hover:bg-sky-600 shadow-sky-400 focus:outline-2 focus:outline focus:outline-offset-2 focus:outline-sky-500" name="feedDB">Submit</button>
</div>
</form>
</div>
<div class="w-full flex justify-center ">
<button class="w-1/3 min-w-fit mt-2 px-4 py-2 font-bold rounded-md bg-sky-500 hover:bg-sky-600 shadow-sky-400 focus:outline-2 focus:outline focus:outline-offset-2 focus:outline-sky-500" name="feedDB">Submit</button>
</div>
<?php
}