Various changes
mobile-friendly ui updates admin user-edit bugfix file cleanup added searchFields add blog search remove unused code add maintenance mode config
This commit is contained in:
13
app/views/nav/adminTop.html
Normal file
13
app/views/nav/adminTop.html
Normal file
@ -0,0 +1,13 @@
|
||||
<nav class="navbar navbar-expand col-12 col-lg-auto justify-content-center mx-auto">
|
||||
<div class="container-fluid">
|
||||
<ul class="navbar-nav">
|
||||
{LOOP}
|
||||
<li class="nav-item">
|
||||
<a href="{url}" class="nav-link px-2 text-white">
|
||||
{text}
|
||||
</a>
|
||||
</li>
|
||||
{/LOOP}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
@ -1,9 +1,9 @@
|
||||
<nav class="navbar navbar-expand col-12 col-lg-auto mb-2 justify-content-center mb-md-0 mx-auto">
|
||||
<nav class="navbar navbar-md-expand justify-content-center">
|
||||
<div class="container-fluid">
|
||||
<ul class="navbar-nav">
|
||||
<ul class="navbar-nav mx-auto">
|
||||
{LOOP}
|
||||
<li class="nav-item">
|
||||
<a href="{url}" class="nav-link px-2 text-white">
|
||||
<a href="{url}" class="nav-link text-white">
|
||||
{text}
|
||||
</a>
|
||||
</li>
|
||||
|
@ -1,15 +1,10 @@
|
||||
<!-- User Dropdown -->
|
||||
<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">
|
||||
<img src="{ROOT_URL}{AVATAR}" alt="" width="32" height="32" class="rounded-circle me-2"> <strong class="ms-2">{USERNAME}</strong>
|
||||
<div class="dropdown nav-item mx-2 my-2 my-lg-0">
|
||||
<a href="#" class="d-flex align-items-center text-white text-decoration-none dropdown-toggle" id="userDropdown" data-bs-toggle="dropdown">
|
||||
<img src="{ROOT_URL}{AVATAR}" alt="User profile image" width="32" height="32" class="rounded-circle me-2">
|
||||
<strong>{USERNAME}</strong>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow" aria-labelledby="userDropdown">
|
||||
<ul class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow">
|
||||
<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>
|
||||
|
@ -3,12 +3,10 @@
|
||||
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">
|
||||
data-bs-toggle="dropdown">
|
||||
<i class="fa fa-user"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow" aria-labelledby="userDropdown" style="min-width: 300px;">
|
||||
<div class="dropdown-menu dropdown-menu-dark dropdown-menu-end text-small shadow" style="min-width: 300px;">
|
||||
<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}">
|
||||
@ -48,4 +46,4 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,5 +1,5 @@
|
||||
<ul class="nav nav-tabs justify-content-center my-3" role="tablist">
|
||||
<ul class="nav nav-tabs justify-content-center mt-4" role="tablist">
|
||||
{LOOP}
|
||||
<li class="nav-item context-main-bg mx-1"><a href="{url}" class="nav-link context-main">{name}</a></li>
|
||||
<li class="nav-item context-main-bg mx-md-1"><a href="{url}" class="nav-link context-main">{name}</a></li>
|
||||
{/LOOP}
|
||||
</ul>
|
Reference in New Issue
Block a user