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

View File

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