Files
btpxpress-frontend/target/classes/META-INF/resources/WEB-INF/footer.xhtml
dahoud 0fad42ccaf refactor: Suppression de 13 écrans redondants
Nettoyage des doublons pour éviter la redondance :

Suppressions (liste.xhtml redondants avec écrans racine):
- devis/liste.xhtml
- employes/liste.xhtml
- equipes/liste.xhtml
- factures/liste.xhtml
- maintenance/liste.xhtml
- materiels/liste.xhtml
- messages/liste.xhtml
- notifications/liste.xhtml
- planning/liste.xhtml
- rapports/liste.xhtml
- stock/liste.xhtml

Suppressions (inconsistance nouveau/nouvelle):
- equipes/nouvelle.xhtml
- factures/nouvelle.xhtml

Stratégie:
- Un seul écran liste par module (racine)
- Standardisation sur nouveau.xhtml

Résultat: 163 écrans restants (vs 176 avant)
2025-11-07 22:36:04 +00:00

149 lines
10 KiB
HTML

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<div class="layout-footer">
<div class="grid">
<!-- Section 1: À propos -->
<div class="col-12 lg:col-3">
<span class="footer-menutitle">À PROPOS</span>
<p class="footer-description" style="margin-top: 1rem; line-height: 1.8; color: var(--text-color-secondary);">
BTP Xpress est la plateforme de gestion complète pour les professionnels du BTP.
Optimisez vos chantiers, gérez vos équipes et suivez votre activité en temps réel.
</p>
<div style="margin-top: 1.5rem;">
<a href="https://facebook.com/btpxpress" style="margin-right: 1rem; color: var(--text-color-secondary); font-size: 1.5rem;">
<i class="pi pi-facebook"></i>
</a>
<a href="https://twitter.com/btpxpress" style="margin-right: 1rem; color: var(--text-color-secondary); font-size: 1.5rem;">
<i class="pi pi-twitter"></i>
</a>
<a href="https://linkedin.com/company/btpxpress" style="margin-right: 1rem; color: var(--text-color-secondary); font-size: 1.5rem;">
<i class="pi pi-linkedin"></i>
</a>
<a href="https://youtube.com/btpxpress" style="color: var(--text-color-secondary); font-size: 1.5rem;">
<i class="pi pi-youtube"></i>
</a>
</div>
</div>
<!-- Section 2: Navigation rapide -->
<div class="col-12 md:col-6 lg:col-3">
<div class="grid">
<div class="col-6">
<span class="footer-menutitle">MODULES</span>
<ul style="list-style: none; padding: 0; margin-top: 1rem;">
<li style="margin-bottom: 0.75rem;"><a href="dashboard.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-home" style="margin-right: 0.5rem;"></i>Tableau de bord</a></li>
<li style="margin-bottom: 0.75rem;"><a href="chantiers.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-building" style="margin-right: 0.5rem;"></i>Chantiers</a></li>
<li style="margin-bottom: 0.75rem;"><a href="clients.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-users" style="margin-right: 0.5rem;"></i>Clients</a></li>
<li style="margin-bottom: 0.75rem;"><a href="devis.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-file-edit" style="margin-right: 0.5rem;"></i>Devis</a></li>
<li style="margin-bottom: 0.75rem;"><a href="factures.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-dollar" style="margin-right: 0.5rem;"></i>Factures</a></li>
</ul>
</div>
<div class="col-6">
<span class="footer-menutitle">RESSOURCES</span>
<ul style="list-style: none; padding: 0; margin-top: 1rem;">
<li style="margin-bottom: 0.75rem;"><a href="employes.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-id-card" style="margin-right: 0.5rem;"></i>Employés</a></li>
<li style="margin-bottom: 0.75rem;"><a href="materiels.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-wrench" style="margin-right: 0.5rem;"></i>Matériels</a></li>
<li style="margin-bottom: 0.75rem;"><a href="stock.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-box" style="margin-right: 0.5rem;"></i>Stock</a></li>
<li style="margin-bottom: 0.75rem;"><a href="planning.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-calendar" style="margin-right: 0.5rem;"></i>Planning</a></li>
<li style="margin-bottom: 0.75rem;"><a href="rapports.xhtml" style="color: var(--text-color-secondary);"><i class="pi pi-chart-bar" style="margin-right: 0.5rem;"></i>Rapports</a></li>
</ul>
</div>
</div>
</div>
<!-- Section 3: Support et contact -->
<div class="col-12 md:col-6 lg:col-3">
<span class="footer-menutitle">SUPPORT</span>
<ul style="list-style: none; padding: 0; margin-top: 1rem;">
<li style="margin-bottom: 1rem; display: flex; align-items: start;">
<i class="pi pi-envelope" style="margin-right: 0.75rem; margin-top: 0.25rem; color: var(--primary-color);"></i>
<div>
<strong style="display: block; margin-bottom: 0.25rem;">Email</strong>
<a href="mailto:contact@btpxpress.com" style="color: var(--text-color-secondary);">contact@btpxpress.com</a>
</div>
</li>
<li style="margin-bottom: 1rem; display: flex; align-items: start;">
<i class="pi pi-phone" style="margin-right: 0.75rem; margin-top: 0.25rem; color: var(--primary-color);"></i>
<div>
<strong style="display: block; margin-bottom: 0.25rem;">Téléphone</strong>
<a href="tel:+33123456789" style="color: var(--text-color-secondary);">+33 (0)1 23 45 67 89</a>
</div>
</li>
<li style="margin-bottom: 1rem; display: flex; align-items: start;">
<i class="pi pi-question-circle" style="margin-right: 0.75rem; margin-top: 0.25rem; color: var(--primary-color);"></i>
<div>
<strong style="display: block; margin-bottom: 0.25rem;">Centre d'aide</strong>
<a href="aide.xhtml" style="color: var(--text-color-secondary);">Documentation et FAQ</a>
</div>
</li>
<li style="margin-bottom: 1rem; display: flex; align-items: start;">
<i class="pi pi-book" style="margin-right: 0.75rem; margin-top: 0.25rem; color: var(--primary-color);"></i>
<div>
<strong style="display: block; margin-bottom: 0.25rem;">Documentation</strong>
<a href="documentation.xhtml" style="color: var(--text-color-secondary);">Guide utilisateur</a>
</div>
</li>
</ul>
</div>
<!-- Section 4: Newsletter et informations légales -->
<div class="col-12 lg:col-3">
<span class="footer-menutitle">RESTEZ INFORMÉ</span>
<p class="footer-subtitle" style="margin-top: 1rem; line-height: 1.8; color: var(--text-color-secondary);">
Recevez nos actualités, conseils et nouveautés directement dans votre boîte mail.
</p>
<h:form style="margin-top: 1.5rem;">
<div class="newsletter-input" style="display: flex; gap: 0.5rem;">
<p:inputText placeholder="Votre email" style="flex: 1;" />
<p:commandButton value="S'inscrire" icon="pi pi-send" styleClass="ui-button-secondary"/>
</div>
</h:form>
<div style="margin-top: 2rem;">
<span class="footer-menutitle">LÉGAL</span>
<ul style="list-style: none; padding: 0; margin-top: 1rem;">
<li style="margin-bottom: 0.5rem;"><a href="mentions-legales.xhtml" style="color: var(--text-color-secondary); font-size: 0.9rem;">Mentions légales</a></li>
<li style="margin-bottom: 0.5rem;"><a href="cgv.xhtml" style="color: var(--text-color-secondary); font-size: 0.9rem;">Conditions générales de vente</a></li>
<li style="margin-bottom: 0.5rem;"><a href="politique-confidentialite.xhtml" style="color: var(--text-color-secondary); font-size: 0.9rem;">Politique de confidentialité</a></li>
<li style="margin-bottom: 0.5rem;"><a href="cookies.xhtml" style="color: var(--text-color-secondary); font-size: 0.9rem;">Gestion des cookies</a></li>
</ul>
</div>
</div>
<!-- Barre de copyright -->
<div class="col-12">
<hr style="border-color: var(--surface-border); margin: 2rem 0;"/>
<div class="footer-bottom" style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;">
<div>
<h4 style="margin: 0; font-size: 1.25rem; color: var(--primary-color);">
<i class="pi pi-building" style="margin-right: 0.5rem;"></i>
BTP Xpress
</h4>
<h6 style="margin: 0.5rem 0 0 0; color: var(--text-color-secondary); font-weight: normal;">
Copyright © 2025 BTP Xpress - Tous droits réservés
</h6>
</div>
<div style="display: flex; gap: 1.5rem; align-items: center;">
<span style="color: var(--text-color-secondary); font-size: 0.9rem;">
<i class="pi pi-shield" style="margin-right: 0.5rem; color: var(--primary-color);"></i>
Paiement sécurisé
</span>
<span style="color: var(--text-color-secondary); font-size: 0.9rem;">
<i class="pi pi-lock" style="margin-right: 0.5rem; color: var(--primary-color);"></i>
Données protégées
</span>
<span style="color: var(--text-color-secondary); font-size: 0.9rem;">
Made with <i class="pi pi-heart-fill" style="color: var(--red-500); margin: 0 0.25rem;"></i> in France
</span>
</div>
</div>
</div>
</div>
</div>
</ui:composition>