modification index.html et ajoute liste.html

This commit is contained in:
gaad pasou
2024-10-22 13:20:19 +04:00
parent bb0f57019b
commit fae9e8b204
3 changed files with 297 additions and 16 deletions
+145 -16
View File
@@ -1,17 +1,146 @@
<html> <!-- index.html -->
<head> <!DOCTYPE html>
<title>Coucou </title> <html lang="fr">
<!-- bootstrap css cdn--> <head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> <meta charset="UTF-8">
</head> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<body> <title>Connexion - Expernet</title>
<h1>Message pour le monde!</h1> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<p>Hello!</p> <style>
:root {
--primary-color: #00A0E3; /* Bleu Expernet */
--secondary-color: #FFB800; /* Jaune Expernet */
}
body {
background-color: #ffffff;
font-family: 'Roboto', Arial, sans-serif;
}
.navbar {
background-color: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 0;
}
<!-- jquery cdn--> .navbar-brand img {
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> height: 40px;
<!-- bootstrap js cdn--> }
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script> .top-bar {
</body> background-color: var(--primary-color);
</html> color: white;
padding: 0.5rem 0;
font-size: 0.9rem;
}
.top-bar a {
color: white;
text-decoration: none;
}
.btn-primary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
color: #000;
font-weight: 500;
padding: 0.5rem 1.5rem;
border-radius: 5px;
}
.btn-primary:hover {
background-color: #e6a600;
border-color: #e6a600;
color: #000;
}
.login-container {
max-width: 450px;
margin: 80px auto;
padding: 30px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.form-control {
border-radius: 5px;
padding: 0.75rem;
border: 1px solid #ddd;
}
h2 {
color: var(--primary-color);
font-weight: 600;
}
.social-links {
position: absolute;
top: 10px;
right: 20px;
}
.social-links a {
color: var(--primary-color);
margin-left: 10px;
font-size: 1.2rem;
}
</style>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
</head>
<body>
<div class="top-bar">
<div class="container">
<div class="row">
<div class="col-md-6">
<i class="fas fa-phone-alt"></i> 02 62 21 90 45
</div>
<div class="col-md-6 text-end">
<a href="mailto:formation@expernet.re">
<i class="fas fa-envelope"></i> formation@expernet.re
</a>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-light">
<div class="container">
<a class="navbar-brand" href="#">
<img src="logo.png" alt="Expernet">
</a>
<div class="social-links">
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-facebook"></i></a>
</div>
</div>
</nav>
<div class="container">
<div class="login-container">
<h2 class="text-center mb-4">Espace de connexion</h2>
<form id="loginForm">
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Mot de passe</label>
<input type="password" class="form-control" id="password" required>
</div>
<button type="submit" class="btn btn-primary w-100">Se connecter</button>
</form>
<div class="text-center mt-3">
<a href="liste.html" class="text-primary">Accéder à la liste des étudiants CDA8</a>
</div>
</div>
</div>
<script>
document.getElementById('loginForm').addEventListener('submit', function(e) {
e.preventDefault();
window.location.href = 'liste.html';
});
</script>
</body>
</html>
+152
View File
@@ -0,0 +1,152 @@
<!-- liste.html -->
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Liste des étudiants CDA8 - Expernet</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
:root {
--primary-color: #00A0E3;
--secondary-color: #FFB800;
}
body {
background-color: #ffffff;
font-family: 'Roboto', Arial, sans-serif;
}
.top-bar {
background-color: var(--primary-color);
color: white;
padding: 0.5rem 0;
font-size: 0.9rem;
}
.top-bar a {
color: white;
text-decoration: none;
}
.navbar {
background-color: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 0;
}
.content-container {
margin: 50px auto;
padding: 30px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.table thead {
background-color: var(--primary-color);
color: white;
}
.btn-yellow {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
color: #000;
font-weight: 500;
}
.btn-yellow:hover {
background-color: #e6a600;
border-color: #e6a600;
color: #000;
}
h2 {
color: var(--primary-color);
font-weight: 600;
}
.social-links {
position: absolute;
top: 10px;
right: 20px;
}
.social-links a {
color: var(--primary-color);
margin-left: 10px;
font-size: 1.2rem;
}
</style>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
</head>
<body>
<div class="top-bar">
<div class="container">
<div class="row">
<div class="col-md-6">
<i class="fas fa-phone-alt"></i> 02 62 21 90 45
</div>
<div class="col-md-6 text-end">
<a href="mailto:formation@expernet.re">
<i class="fas fa-envelope"></i> formation@expernet.re
</a>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-light">
<div class="container">
<a class="navbar-brand" href="#">
<img src="logo.png" alt="Expernet">
</a>
<div>
<a href="index.html" class="btn btn-yellow">Déconnexion</a>
</div>
<div class="social-links">
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-facebook"></i></a>
</div>
</div>
</nav>
<div class="container">
<div class="content-container">
<h2 class="mb-4">Liste des étudiants CDA8</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Nom</th>
<th>Prénom</th>
<th>Email</th>
<th>Statut</th>
</tr>
</thead>
<tbody>
<tr>
<td>Dupont</td>
<td>Jean</td>
<td>jean.dupont@email.com</td>
<td><span class="badge bg-success">Actif</span></td>
</tr>
<tr>
<td>Martin</td>
<td>Marie</td>
<td>marie.martin@email.com</td>
<td><span class="badge bg-success">Actif</span></td>
</tr>
<tr>
<td>Bernard</td>
<td>Pierre</td>
<td>pierre.bernard@email.com</td>
<td><span class="badge bg-warning">En pause</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB