ajustes de visualizacion
Browse files- app/pages/compras.php +7 -5
app/pages/compras.php
CHANGED
|
@@ -9,25 +9,27 @@ $imagenes = [
|
|
| 9 |
];
|
| 10 |
?>
|
| 11 |
|
| 12 |
-
<article class="container d-flex flex-column justify-content-center">
|
| 13 |
<header class="text-center">
|
| 14 |
<h2 class="text-uppercase"><?php echo $_GET["articulo"] ?></h2>
|
| 15 |
</header>
|
| 16 |
<div class="text-center">
|
| 17 |
-
<img class="img-thumbnail rounded" src="<?php echo $imagenes[$_GET["articulo"]]; ?>"
|
| 18 |
alt="<?php echo $_GET["articulo"]; ?>">
|
| 19 |
</div>
|
| 20 |
<div class="text-center">
|
| 21 |
<h4 class="mb-0">Cantidad</h4>
|
| 22 |
-
<p class="mt-0"><?php echo $_GET["cantidad"]; ?></p>
|
| 23 |
</div>
|
| 24 |
<div class="text-center">
|
| 25 |
<h4 class="mb-0">Precio</h4>
|
| 26 |
-
<p class="mt-0">$<?php echo $_GET["precio"]; ?>.00</p>
|
| 27 |
</div>
|
| 28 |
<div class="text-center">
|
| 29 |
<h4 class="mb-0">Color</h4>
|
| 30 |
-
<div
|
|
|
|
|
|
|
| 31 |
</div>
|
| 32 |
</article>
|
| 33 |
|
|
|
|
| 9 |
];
|
| 10 |
?>
|
| 11 |
|
| 12 |
+
<article class="container d-flex flex-column justify-content-center mb-5">
|
| 13 |
<header class="text-center">
|
| 14 |
<h2 class="text-uppercase"><?php echo $_GET["articulo"] ?></h2>
|
| 15 |
</header>
|
| 16 |
<div class="text-center">
|
| 17 |
+
<img class="img-thumbnail rounded" width="300" height="300" src="<?php echo $imagenes[$_GET["articulo"]]; ?>"
|
| 18 |
alt="<?php echo $_GET["articulo"]; ?>">
|
| 19 |
</div>
|
| 20 |
<div class="text-center">
|
| 21 |
<h4 class="mb-0">Cantidad</h4>
|
| 22 |
+
<p class="mt-0 fs-3"><?php echo $_GET["cantidad"]; ?></p>
|
| 23 |
</div>
|
| 24 |
<div class="text-center">
|
| 25 |
<h4 class="mb-0">Precio</h4>
|
| 26 |
+
<p class="mt-0 fs-3">$<?php echo $_GET["precio"]; ?>.00</p>
|
| 27 |
</div>
|
| 28 |
<div class="text-center">
|
| 29 |
<h4 class="mb-0">Color</h4>
|
| 30 |
+
<div class="container-fluid d-flex flex-column justify-content-center">
|
| 31 |
+
<div style="width: 300px; height: 100px; background-color: <?php echo $_GET["color"] ?>;"></div>
|
| 32 |
+
</div>
|
| 33 |
</div>
|
| 34 |
</article>
|
| 35 |
|