Make login.php a bit more user-friendly
This commit is contained in:
parent
603a69d5cd
commit
a335e64e8f
|
@ -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;
|
||||
}
|
||||
|
|
14
login.php
14
login.php
|
@ -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' ?>
|
||||
|
|
Loading…
Reference in New Issue