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=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;
|
||||||
}
|
}
|
||||||
|
|
16
login.php
16
login.php
|
@ -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' ?>
|
||||||
|
|
Loading…
Reference in New Issue