49 lines
1.6 KiB
HTML
49 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Comprar Boletos</title>
|
|
<link rel="stylesheet" href="css/comprar-boletos.css">
|
|
<style>
|
|
/* Estilo para alinear los botones */
|
|
.botones-container {
|
|
display: flex;
|
|
gap: 10px; /* Espacio entre los botones */
|
|
margin-top: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1 id="titulo">Comprar Boletos</h1>
|
|
<div id="eventoInfo">
|
|
<p id="fecha"></p>
|
|
<p id="lugar"></p>
|
|
<p><strong>Precio por boleto:</strong> <span id="precioBoleto">Cargando...</span></p>
|
|
</div>
|
|
|
|
<h2>Selecciona tus boletos</h2>
|
|
<form id="formCompra" action="controladores/procesar-compra.php" method="POST">
|
|
<input type="hidden" id="evento_id" name="evento_id">
|
|
|
|
<h3>Cantidad de boletos:</h3>
|
|
<label for="cantidad">Selecciona la cantidad:</label>
|
|
<input type="number" id="cantidad" name="cantidad" min="1" required>
|
|
|
|
<h2>Selecciona tus asientos</h2>
|
|
<div id="mapa-asientos"></div>
|
|
|
|
<div class="botones-container">
|
|
<!-- Botón para confirmar compra -->
|
|
<button type="button" id="comprarBoletos">Confirmar Compra</button>
|
|
<!-- Botón para regresar -->
|
|
<a href="inicio.html">
|
|
<button type="button" class="regresar-btn">Regresar</button>
|
|
</a>
|
|
</div>
|
|
</form>
|
|
|
|
<script src="js/comprar-boleto.js"></script>
|
|
</body>
|
|
</html>
|