You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

143 lines
4.0 KiB

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Planning Hebdomadaire</title>
<link rel="stylesheet" href="table.css">
</head>
<header>
<nav class="navbar">
<div class="pres">
<img src="photodemoi.jpg" alt="Photo de l'étudiant" class=" trombinoscope">
<h1>Veau Etienne</h1>
</div>
<div class="liens-nav">
<a href="mon-portfolio.html">Home</a>
<a href="Cursus_scolaire.html">Cursus scolaire</a>
<a href="table.html" class="active">Planning</a>
<div class="survol">
<div class="visible">
<p>Média</p>
</div>
<div class="hidden">
<a href="page_image.html">Photo</a>
<a href="page_vidéo.html">Vidéo</a>
</div>
</div>
<a href="index.php">Contact</a>
</div>
</nav>
</header>
<body>
<canvas id="matrix"></canvas>
<table>
<caption>Mes activités extra-scolaires</caption>
<tr>
<th>Jour</th>
<th>Créneaux</th>
<th>Activités</th>
<th>Images</th>
</tr>
<tr>
<td rowspan="2">Lundi</td>
<td>17:00 - 18:30</td>
<td>Révisions</td>
<td rowspan="2"><img src="IMGH.JPG" alt="Révisions"></td>
</tr>
<tr>
<td>21:00 - 22:30</td>
<td>Root Me</td>
</tr>
<tr>
<td>Mardi</td>
<td>18:00 - 19:30</td>
<td>Natation</td>
<td><img src="IMGN.JPG" alt="Natation"></td>
</tr>
<tr>
<td>Mercredi</td>
<td rowspan="3">21:00 - 22:30</td>
<td rowspan="3">Musculation</td>
<td rowspan="3"><img src="IMGM.JPG" alt="Musculation"></td>
</tr>
<tr>
</tr>
<tr>
<td>Vendredi</td>
</tr>
<tr>
<td rowspan="2">Samedi</td>
<td>10:00 - 11:30</td>
<td>Révisions</td>
<td rowspan="2"><img src="IMGF.JPG" alt="Football"></td>
</tr>
<tr>
<td>15:00 - 16:30</td>
<td>Football</td>
</tr>
<tr>
<td rowspan="2">Dimanche</td>
<td>10:00 - 11:30</td>
<td rowspan="2">Révisions</td>
<td rowspan="2"><img src="IMGH.JPG" alt="Révisions"></td>
</tr>
<tr>
<td>15:00 - 16:30</td>
</tr>
</table>
<script>
const canvas = document.getElementById('matrix');
const ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
const matrix = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789@#$%^&*()*&^%+-/~{[|`]}';
const fontSize = 16;
const columns = canvas.width / fontSize;
const drops = Array(Math.floor(columns)).fill(1);
function drawMatrix() {
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = '#00ff00';
ctx.font = `${fontSize}px monospace`;
drops.forEach((y, i) => {
const text = matrix[Math.floor(Math.random() * matrix.length)];
ctx.fillText(text, i * fontSize, y * fontSize);
if (y * fontSize > canvas.height && Math.random() > 0.975) {
drops[i] = 0;
}
drops[i]++;
});
}
setInterval(drawMatrix, 50);
window.onresize = function () {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
drops.length = Math.floor(canvas.width / fontSize);
drops.fill(1);
};
</script>
</html>
<a href="mon-portfolio.html">retour a l'accueil</a>
</body>
<footer>
<p>&copy; 2024 Mon portfolio. IUT Informatique 1 A. Groupe 4.</p>
</footer>