Bootstrap 5 continued + bugfixes

This commit is contained in:
Joey Kimsey
2024-12-15 17:19:08 -05:00
parent de6d608857
commit 2220c6cda3
27 changed files with 198 additions and 148 deletions

View File

@ -9,7 +9,7 @@
aria-expanded="false">
<img src="{ROOT_URL}{AVATAR}" alt="" width="32" height="32" class="rounded-circle me-2"> <strong class="mr-3">{USERNAME}</strong>
</a>
<ul class="dropdown-menu dropdown-menu-dark text-small shadow" aria-labelledby="userDropdown">
<ul class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow" aria-labelledby="userDropdown">
<li><a href="{ROOT_URL}usercp" class="dropdown-item"><i class="fa fa-fw fa-user"></i> Profile</a></li>
{topNavRightDropdown}
<li><a href="{ROOT_URL}usercp/settings" class="dropdown-item"><i class="fa fa-fw fa-gear"></i> Settings</a></li>

View File

@ -9,29 +9,27 @@
aria-expanded="false">
<i class="fa fa-user"></i>
</a>
<div class="dropdown-menu dropdown-menu-dark text-small shadow" aria-labelledby="userDropdown">
<div class="dropdown-menu dropdown-menu-dark dropdown-menu-end 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"
class="form-control mb-2"
name="username"
placeholder="Username">
</div>
<!-- Password -->
<div class="form-group">
<label for="password">Password</label>
<input
id="password"
type="password"
class="form-control"
class="form-control mb-2"
name="password"
placeholder="Password">
</div>
@ -40,7 +38,7 @@
<div class="form-check">
<input
type="checkbox"
class="form-check-input"
class="form-check-input mb-2"
id="remember"
name="remember">
<label class="form-check-label" for="remember">Remember me</label>
@ -49,7 +47,7 @@
<!-- Submit Button -->
<button
type="submit"
class="btn btn-primary btn-block mt-3"
class="btn btn-primary btn-block"
name="submit"
value="submit">
Sign in