UX +1
This commit is contained in:
parent
cce1584f1b
commit
70a2b8577f
@ -48,7 +48,12 @@
|
|||||||
|
|
||||||
<form action="./?page=verify" method="POST">
|
<form action="./?page=verify" method="POST">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="email" class="form-control" name="email" placeholder="family@example.com" />
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text">
|
||||||
|
<i class="fas fa-at fa-fw"></i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<input type="email" class="form-control" name="email" placeholder="family@example.com" autofocus />
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button type="submit" class="btn btn-primary">Continue <i class="fas fa-chevron-right"></i></button>
|
<button type="submit" class="btn btn-primary">Continue <i class="fas fa-chevron-right"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,7 +22,6 @@ if (!empty($_POST['email'])) {
|
|||||||
|
|
||||||
// TODO: send email
|
// TODO: send email
|
||||||
echo $code;
|
echo $code;
|
||||||
|
|
||||||
} else if (!empty($_POST['code'])) {
|
} else if (!empty($_POST['code'])) {
|
||||||
if (empty($_SESSION['code'])) {
|
if (empty($_SESSION['code'])) {
|
||||||
header("Location: ./?page=renew&msg=sessionexpired");
|
header("Location: ./?page=renew&msg=sessionexpired");
|
||||||
@ -67,7 +66,14 @@ if (!empty($_POST['email'])) {
|
|||||||
|
|
||||||
<form action="./?page=verify" method="POST">
|
<form action="./?page=verify" method="POST">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" name="code" placeholder="123abc" />
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text">
|
||||||
|
<span class="fa-layers fa-fw mr-2">
|
||||||
|
<i class="fas fa-2x fa-hashtag"></i>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="form-control" style="font-size: 40px; letter-spacing: 10px;" name="code" placeholder="000000" maxLength="6" autofocus />
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button type="submit" class="btn btn-primary">Verify <i class="fas fa-chevron-right"></i></button>
|
<button type="submit" class="btn btn-primary">Verify <i class="fas fa-chevron-right"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user