This commit is contained in:
Joris Bertomeu
2025-08-19 16:34:19 +02:00
commit 5c6da90f98
33 changed files with 8066 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<!-- Footer partial - inclus dans certaines vues -->
<footer class="mt-auto py-3 bg-light">
<div class="container-fluid text-center">
<span class="text-muted">Mail Notifier &copy; <%= new Date().getFullYear() %> | Serveur mail local avec notifications Pushover</span>
</div>
</footer>

21
views/partials/header.ejs Normal file
View File

@@ -0,0 +1,21 @@
<!-- Header partial - inclus dans certaines vues -->
<header class="bg-white shadow-sm mb-4">
<div class="d-flex justify-content-between align-items-center p-3">
<h1 class="h4 mb-0"><%= typeof pageTitle !== 'undefined' ? pageTitle : 'Mail Notifier' %></h1>
<% if (typeof showActions !== 'undefined' && showActions) { %>
<div class="btn-group">
<% if (typeof actionButtons !== 'undefined') { %>
<% actionButtons.forEach(function(button) { %>
<a href="<%= button.href %>" class="btn <%= button.class || 'btn-outline-primary' %>">
<% if (button.icon) { %>
<i class="fas fa-<%= button.icon %> me-1"></i>
<% } %>
<%= button.text %>
</a>
<% }); %>
<% } %>
</div>
<% } %>
</div>
</header>