feat:liste_avant_apres prête
This commit is contained in:
10
css/avant_apres.css
Normal file
10
css/avant_apres.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Image Preview Styles
|
||||||
|
=============================================================================*/
|
||||||
|
|
||||||
|
.img-preview {
|
||||||
|
max-width: 150px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: none;
|
||||||
|
/* cachée tant qu'il n'y a pas d'image */
|
||||||
|
}
|
||||||
@@ -38,13 +38,4 @@ Header Navbar Styles
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*=============================================================================
|
|
||||||
Image Preview Styles
|
|
||||||
=============================================================================*/
|
|
||||||
|
|
||||||
.img-preview {
|
|
||||||
max-width: 150px;
|
|
||||||
border-radius: 8px;
|
|
||||||
display: none;
|
|
||||||
/* cachée tant qu'il n'y a pas d'image */
|
|
||||||
}
|
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="../../node_modules/bs-icon/icons.css">
|
<link rel="stylesheet" href="../../node_modules/bs-icon/icons.css">
|
||||||
<link rel="stylesheet" href="../../css/style.css">
|
<link rel="stylesheet" href="../../css/style.css">
|
||||||
|
<link rel="stylesheet" href="../../css/avant_apres.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="../../node_modules/bs-icon/icons.css">
|
<link rel="stylesheet" href="../../node_modules/bs-icon/icons.css">
|
||||||
<link rel="stylesheet" href="../../css/style.css">
|
<link rel="stylesheet" href="../../css/style.css">
|
||||||
|
<link rel="stylesheet" href="../../css/avant_apres.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -19,8 +18,6 @@
|
|||||||
<div class="container-fluid align-items-center">
|
<div class="container-fluid align-items-center">
|
||||||
<a class="navbar-brand" href="#">L'Il'eau chiens - Admin</a>
|
<a class="navbar-brand" href="#">L'Il'eau chiens - Admin</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
|
||||||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
@@ -47,7 +44,6 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#"><i class="bi bi-megaphone me-1"></i> Message d'actu</a>
|
<a class="nav-link" href="#"><i class="bi bi-megaphone me-1"></i> Message d'actu</a>
|
||||||
@@ -79,68 +75,74 @@
|
|||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<main class="my-5 fs-6">
|
||||||
<div class="container mt-5">
|
<div class="container">
|
||||||
<h1 class="mb-4 text-center">Liste des résultats avant/après</h1>
|
<header>
|
||||||
|
<h1 class="title fs-2 my-4">Liste des résultats avant/après</h1>
|
||||||
<!-- Message succès -->
|
<!-- Message succès -->
|
||||||
<div id="succesDeleteMsg" class="alert alert-success d-none">
|
<div id="succesDeleteMsg" class="alert alert-success d-none">
|
||||||
Paire supprimée avec succès !
|
Paire supprimée avec succès !
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="d-flex justify-content-end mb-4">
|
|
||||||
<a href="../html/ajouter_avant_apres.html" class="btn btn-primary">
|
|
||||||
Ajouter une paire
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Table responsive -->
|
|
||||||
<div class="table-responsive">
|
|
||||||
<table class="table table-striped table-hover align-middle mb-0">
|
|
||||||
<thead class="table-dark">
|
|
||||||
<tr>
|
|
||||||
<th>Titre paire</th>
|
|
||||||
<th>Type</th>
|
|
||||||
<th>Avant</th>
|
|
||||||
<th>Après</th>
|
|
||||||
<th class="text-center">Actions</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody id="prestationTableBody">
|
|
||||||
<!-- JS -->
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal fade" id="deleteModal" tabindex="-1" role="dialog" aria-hidden="true">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content">
|
|
||||||
|
|
||||||
<div class="modal-header">
|
|
||||||
<h2 class="modal-title" id="deleteModalLabel">Confirmer la suppression</h2>
|
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Fermer"></button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-body">
|
</header>
|
||||||
Voulez-vous vraiment supprimer cette paire avant/après ?
|
<main>
|
||||||
|
|
||||||
|
<div class="d-flex justify-content-start mb-4">
|
||||||
|
<a href="../html/ajouter_avant_apres.html" class="btn btn-primary">
|
||||||
|
Ajouter une paire
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-footer">
|
<!-- Table responsive -->
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Annuler</button>
|
<div class="table-responsive">
|
||||||
<button type="button" class="btn btn-danger" id="confirmDeleteBtn">Supprimer</button>
|
<table class="table table-striped table-hover align-middle mb-0">
|
||||||
|
<thead class="table-dark">
|
||||||
|
<tr>
|
||||||
|
<th>Titre paire</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Avant</th>
|
||||||
|
<th>Après</th>
|
||||||
|
<th class="text-center">Actions</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody id="prestationTableBody">
|
||||||
|
<!-- JS -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal fade" id="deleteModal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
|
||||||
|
<div class="modal-header">
|
||||||
|
<h2 class="modal-title" id="deleteModalLabel">Confirmer la suppression</h2>
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Fermer"></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-body">
|
||||||
|
Voulez-vous vraiment supprimer cette paire avant/après ?
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Annuler</button>
|
||||||
|
<button type="button" class="btn btn-danger" id="confirmDeleteBtn">Supprimer</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
<script src="../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
<script src="../js/liste_avant_apres.js"></script>
|
<script src="../js/liste_avant_apres.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="node_modules/bs-icon/icons.css">
|
<link rel="stylesheet" href="node_modules/bs-icon/icons.css">
|
||||||
<link rel="stylesheet" href="../../css/style.css">
|
<link rel="stylesheet" href="../../css/style.css">
|
||||||
|
<link rel="stylesheet" href="../../css/avant_apres.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link href="../../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="../../node_modules/bs-icon/icons.css">
|
<link rel="stylesheet" href="../../node_modules/bs-icon/icons.css">
|
||||||
<link rel="stylesheet" href="../../css/style.css">
|
<link rel="stylesheet" href="../../css/style.css">
|
||||||
|
<link rel="stylesheet" href="../../css/avant_apres.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user