feat:avant apres+media queries+modale de suppression
This commit is contained in:
@@ -8,46 +8,39 @@
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: #f4f6f9;
|
||||
padding: 30px;
|
||||
}
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
.img-preview {
|
||||
max-width: 250px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<body class="bg-light py-4 py-md-5">
|
||||
|
||||
<div class="container">
|
||||
<div class="container" style="max-width: 800px;">
|
||||
|
||||
<h2 class="mb-5 text-center">Détails de la paire avant/après</h2>
|
||||
<h1 class="mb-4 mb-md-5 text-center">Détails de la paire avant/après</h1>
|
||||
|
||||
<!-- Message erreur -->
|
||||
<div id="errorMsg" class="alert alert-danger d-none">
|
||||
Impossible d'afficher cette paire.
|
||||
</div>
|
||||
|
||||
<div id="detailsSection">
|
||||
<div id="detailsSection" class="mt-3">
|
||||
|
||||
<!-- Titre -->
|
||||
<h4 id="pairTitle" class="text-center mb-4"></h4>
|
||||
<h2 id="pairTitle" class="text-center mb-4" aria-live="polite">Chargement...</h2>
|
||||
|
||||
<div class="d-flex justify-content-around align-items-center mb-4">
|
||||
|
||||
<div class="text-center">
|
||||
<!-- AVANT / APRÈS : empilés en mobile, côte à côte en md+ -->
|
||||
<div class="row justify-content-center align-items-start mb-4 g-4">
|
||||
|
||||
<div class="col-12 col-md-6 text-center">
|
||||
<p class="fw-bold">AVANT</p>
|
||||
<img id="beforePreview" class="img-preview border" src="">
|
||||
<img id="beforePreview" class="img-preview border img-fluid" src="#" alt="Photo avant">
|
||||
</div>
|
||||
|
||||
<div class="text-center">
|
||||
<div class="col-12 col-md-6 text-center">
|
||||
<p class="fw-bold">APRÈS</p>
|
||||
<img id="afterPreview" class="img-preview border" src="">
|
||||
<img id="afterPreview" class="img-preview border img-fluid" src="#" alt="Photo après" >
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -68,3 +61,4 @@
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user