59 lines
1.9 KiB
HTML
59 lines
1.9 KiB
HTML
|
|
<div class="dropdown nav-item mx-2">
|
|
<a
|
|
href="#"
|
|
class="d-flex align-items-center text-white text-decoration-none dropdown-toggle"
|
|
id="userDropdown"
|
|
data-bs-toggle="dropdown"
|
|
aria-haspopup="true"
|
|
aria-expanded="false">
|
|
<i class="fa fa-user"></i>
|
|
</a>
|
|
<div class="dropdown-menu dropdown-menu-dark text-small shadow" aria-labelledby="userDropdown">
|
|
<form method="post" action="{ROOT_URL}home/login" id="signin" class="px-4 py-3">
|
|
<input type="hidden" name="rurl" id="rurl" value="{CURRENT_URL}">
|
|
<input type="hidden" name="token" value="{TOKEN}">
|
|
|
|
<!-- Username -->
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input
|
|
id="username"
|
|
type="text"
|
|
class="form-control"
|
|
name="username"
|
|
placeholder="Username">
|
|
</div>
|
|
|
|
<!-- Password -->
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input
|
|
id="password"
|
|
type="password"
|
|
class="form-control"
|
|
name="password"
|
|
placeholder="Password">
|
|
</div>
|
|
|
|
<!-- Remember Me -->
|
|
<div class="form-check">
|
|
<input
|
|
type="checkbox"
|
|
class="form-check-input"
|
|
id="remember"
|
|
name="remember">
|
|
<label class="form-check-label" for="remember">Remember me</label>
|
|
</div>
|
|
|
|
<!-- Submit Button -->
|
|
<button
|
|
type="submit"
|
|
class="btn btn-primary btn-block mt-3"
|
|
name="submit"
|
|
value="submit">
|
|
Sign in
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</li> |