Files
sae_r301_g12/codeigniter-develop/application/views/message_vue.php
T

37 lines
1.4 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title><?= html_escape($titre_message) ?></title>
<style>
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f7f6; color: #333; margin: 0; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.container { max-width: 500px; width: 100%; background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; }
h1 { color: #2c3e50; margin-top: 10px; margin-bottom: 15px; }
p { font-size: 16px; color: #555; line-height: 1.5; margin-bottom: 35px; }
.btn-retour { display: inline-block; background-color: #3498db; color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; transition: background 0.3s; }
.btn-retour:hover { background-color: #2980b9; }
.icon { font-size: 60px; margin-bottom: 10px; }
</style>
</head>
<body>
2026-06-10 16:27:25 +02:00
<div class="container">
<?php if (strpos(strtolower($titre_message), 'succès') !== false): ?>
<div class="icon">✅</div>
<?php else: ?>
<div class="icon">⚠️</div>
<?php endif; ?>
2026-06-10 16:27:25 +02:00
<h1><?= html_escape($titre_message) ?></h1>
<p><?= html_escape($contenu_message) ?></p>
<a href="<?= site_url($lien_retour) ?>" class="btn-retour">Continuer</a>
</div>
</body>
</html>