Applicatie afmaken en GUI-flow herstellen
Voegt boodschappenlijsten, productbeheer, realtime synchronisatie en browsercache-updates toe. Herstelt login- en sessiegedrag en maakt database-seeding herhaalbaar.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<% if (success && success.length) { %>
|
||||
<div class="alert alert-success" role="alert"><%= success[0] %></div>
|
||||
<% } %>
|
||||
<% if (error && error.length) { %>
|
||||
<div class="alert alert-danger" role="alert"><%= error[0] %></div>
|
||||
<% } %>
|
||||
<% if (info && info.length) { %>
|
||||
<div class="alert alert-info" role="alert"><%= info[0] %></div>
|
||||
<% } %>
|
||||
<% if (warning && warning.length) { %>
|
||||
<div class="alert alert-warning" role="alert"><%= warning[0] %></div>
|
||||
<% } %>
|
||||
@@ -12,6 +12,12 @@
|
||||
href="https://cdn.jsdelivr.net/npm/@tabler/core@latest/dist/css/tabler.min.css"
|
||||
rel="stylesheet">
|
||||
|
||||
<script>
|
||||
if ("serviceWorker" in navigator) {
|
||||
navigator.serviceWorker.register("/service-worker.js", { updateViaCache: "none" });
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<link
|
||||
href="/css/style.css"
|
||||
|
||||
@@ -8,6 +8,16 @@
|
||||
|
||||
</a>
|
||||
|
||||
<% if (user) { %>
|
||||
<div class="navbar-nav flex-row ms-auto">
|
||||
<a class="nav-link" href="/">Dashboard</a>
|
||||
<a class="nav-link" href="/lists">Lijsten</a>
|
||||
<a class="nav-link" href="/products">Producten</a>
|
||||
<a class="nav-link" href="/household">Huishouden</a>
|
||||
<a class="nav-link text-danger" href="/logout">Uitloggen</a>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user