Renamed "All items" to "Items".

This commit is contained in:
Leon Meier 2023-05-14 13:11:01 +02:00
parent 55ae8d4c8f
commit 75a5580366
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<%~ E.includeFile("partials/head.eta.html", {"title": "Dashboard"}) %> <%~ E.includeFile("partials/controls.eta.html", {"active": "AllItems"}) %>
<%~ E.includeFile("partials/head.eta.html", {"title": "Items"}) %> <%~ E.includeFile("partials/controls.eta.html", {"active": "Items"}) %>
<!-- TODO: Center table content -->
<h1>All items</h1>
<h1>Items</h1>
<div class="container">
<table class="table">
<thead>

View File

@ -61,7 +61,7 @@
<a class="nav-link <%= it.active == 'Dashboard' ? 'active' : ''%>" aria-current="page" href="/"> <i class="bi bi-house"></i> Dashboard </a>
</li>
<li class="nav-item">
<a class="nav-link <%= it.active == 'AllItems' ? 'active' : ''%>" href="/items"> <i class="bi bi-list-ul"></i> Items </a>
<a class="nav-link <%= it.active == 'Items' ? 'active' : ''%>" href="/items"> <i class="bi bi-list-ul"></i> Items </a>
</li>
<!-- <li class="nav-item">
<a class="nav-link <%= it.active == 'placeholder' ? 'active' : ''%>" href="#"> Products </a>