English
Spanish
French
0
Notifications
0 Non lues
Aucune notification
Voir toutes
Aucune nouvelle notification
Raccourcis
Tableau de bord
Profil
Paramètres
Voir toutes les apps
Utilisateur
Utilisateur
Profil
Messages
25
Paramètres
Solde
$47.12
Support
Se déconnecter
Dashboard
Dashboard
Éditer layouts/main.php
Page non trouvée
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?= $this->renderSection('title', true) ?: 'BCS ITCD' ?></title> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Font Awesome --> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet"> <!-- Custom CSS --> <?= $this->renderSection('styles') ?> <style> body { background-color: #f8f9fa; } .main-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 1rem 0; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .sidebar { min-height: calc(100vh - 100px); background-color: #ffffff; border-right: 1px solid #dee2e6; box-shadow: 2px 0 4px rgba(0,0,0,0.1); } .content-wrapper { background-color: #ffffff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); padding: 2rem; min-height: calc(100vh - 200px); } </style> </head> <body> <!-- Header --> <header class="main-header"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col-md-6"> <h1 class="h3 mb-0"> <i class="fas fa-building me-2"></i> BCS ITCD - Système de gestion </h1> </div> <div class="col-md-6 text-end"> <span class="me-3"> <i class="fas fa-user me-1"></i> Utilisateur connecté </span> <span class="badge bg-light text-dark"> <i class="fas fa-clock me-1"></i> <?= date('d/m/Y H:i') ?> </span> </div> </div> </div> </header> <!-- Main Content --> <main class="main-content"> <?= $this->renderSection('content') ?> </main> <!-- Footer --> <footer class="bg-light py-3 mt-5"> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> <p class="mb-0 text-muted"> © <?= date('Y') ?> BCS ITCD. Tous droits réservés. </p> </div> <div class="col-md-6 text-end"> <p class="mb-0 text-muted"> <i class="fas fa-code me-1"></i> Développé avec CodeIgniter 4 </p> </div> </div> </div> </footer> <!-- Bootstrap JS --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> <!-- Custom JavaScript --> <?= $this->renderSection('scripts') ?> <script> // Notifications toast function showToast(message, type = 'success') { const toastHTML = ` <div class="toast align-items-center text-white bg-${type} border-0" role="alert" aria-live="assertive" aria-atomic="true"> <div class="d-flex"> <div class="toast-body"> ${message} </div> <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button> </div> </div> `; let toastContainer = document.getElementById('toast-container'); if (!toastContainer) { toastContainer = document.createElement('div'); toastContainer.id = 'toast-container'; toastContainer.className = 'toast-container position-fixed top-0 end-0 p-3'; document.body.appendChild(toastContainer); } toastContainer.innerHTML = toastHTML; const toast = new bootstrap.Toast(toastContainer.querySelector('.toast')); toast.show(); } </script> </body> </html>
Annuler
Enregistrer
Switcher
Theme Styles
Theme Colors
Theme Color Mode:
Light
Dark
Menu Colors: