fix: Button not clickable on step 2.5 of installation.

This commit is contained in:
Vikas Dongre 2023-04-05 18:45:00 +05:30
parent 1bb34caaa7
commit 59cb5eab67

View file

@ -178,24 +178,20 @@ function cardStart($title, $subtitle = null)
} }
// DB Migration & APP_KEY Generation // DB Migration & APP_KEY Generation
if (isset($_GET['step']) && $_GET['step'] == 2.5) { if (isset($_GET['step']) && $_GET['step'] == 2.5) { ?>
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"> <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'])) { <?php if (isset($_GET['message'])) {
echo "<p class='not-ok check'>" . $_GET['message'] . '</p>'; echo "<p class='not-ok check'>" . $_GET['message'] . '</p>';
} ?> } ?>
</form>
</div> </div>
<div class="w-full flex justify-center "> <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> <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> </div>
</form>
<?php <?php
} }