Apply header component to all pages

This commit is contained in:
2025-05-25 20:22:11 +02:00
parent d4e5dea1fc
commit f89c8f4b1a
9 changed files with 118 additions and 56 deletions

View File

@@ -1,8 +1,15 @@
{% extends "common/base.html" %}
{% from "components/header.html" import header %}
{% block title %}Contacts - DocuPulse{% endblock %}
{% block content %}
<h2>Contacts</h2>
{{ header(
title="Contacts",
description="Manage your contacts and their information",
button_text="Add Contact",
button_url="/contacts/new",
icon="fa-address-book"
) }}
<p class="text-muted">Your contacts will appear here.</p>
{% endblock %}