Initial commit (code), runtime ignoré, secrets exclus
This commit is contained in:
41
enseignant/statistiques/index.php
Normal file
41
enseignant/statistiques/index.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../../config/database.php';
|
||||
require_once __DIR__ . '/../../config/session.php';
|
||||
|
||||
if (!isset($_SESSION['user_id']) || $_SESSION['id_type'] != 1) {
|
||||
header('Location: ../../login.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
$user = SessionManager::getUser();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Statistiques détaillées</title>
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f7fa; padding: 20px; }
|
||||
.container { max-width: 1200px; margin: 0 auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
|
||||
h1 { color: #1976d2; margin-bottom: 30px; }
|
||||
.placeholder { text-align: center; padding: 60px 20px; color: #666; }
|
||||
.placeholder .icon { font-size: 80px; margin-bottom: 20px; opacity: 0.5; }
|
||||
.btn { display: inline-block; padding: 12px 24px; background: #1976d2; color: white; text-decoration: none; border-radius: 6px; margin-top: 20px; }
|
||||
.btn:hover { background: #1565c0; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>📊 Statistiques détaillées</h1>
|
||||
|
||||
<div class="placeholder">
|
||||
<div class="icon">📈</div>
|
||||
<h2>Fonctionnalité en développement</h2>
|
||||
<p>Cette page affichera prochainement les statistiques détaillées de vos évaluations.</p>
|
||||
<a href="../dashboard.php" class="btn">← Retour au tableau de bord</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user