Make login.php a bit more user-friendly

This commit is contained in:
Bofh 2022-12-10 15:23:13 +01:00
parent 603a69d5cd
commit a335e64e8f
2 changed files with 13 additions and 10 deletions

View File

@ -140,6 +140,7 @@ a {
} }
main input[type=text], main input[type=text],
main input[type=password],
main textarea { main textarea {
padding: 1em; padding: 1em;
} }
@ -314,7 +315,7 @@ table.fields tr.verified td .fa.fa-check::before {
#window-instance_config form .item { #window-instance_config form .item {
margin-bottom: 1em; margin-bottom: 1em;
} }
#window-instance_config form .item input[type="text"] { #window-instance_config form .item input[type=text] {
padding: .5em; padding: .5em;
margin-top: .4em; margin-top: .4em;
} }

View File

@ -21,15 +21,17 @@ if (isset($_POST['username']) && isset($_POST['password'])) {
<?php require 'css/base.php' ?> <?php require 'css/base.php' ?>
<main style="display:flex"> <main class="flex">
<form style="margin:auto" action="login.php" method="POST"> <div class="center">
<h3>APub Control Panel</h3>
<form action="login.php" method="POST">
<input type="text" name="username" placeholder="Username"/> <input type="text" name="username" placeholder="Username"/>
<br> <br><div style="margin-bottom:.5em"></div>
<input type="password" name="password" placeholder="Password"/> <input type="password" name="password" placeholder="Password"/>
<br> <br><br>
<input type="submit" value="Log in"/> <input type="submit" class="btn w100" value="Log in"/>
</form> </form>
hola </div>
</main> </main>
<?php require 'js/base.php' ?> <?php require 'js/base.php' ?>