33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Nuevo Proyecto</title>
|
|
<style>
|
|
body { font-family: Arial, sans-serif; max-width: 600px; margin: 40px auto; padding: 20px; background: #f9f9f9; }
|
|
.card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
|
|
label { display: block; margin-bottom: 8px; font-weight: bold; }
|
|
input { width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; }
|
|
.actions { display: flex; justify-content: space-between; align-items: center; }
|
|
button { background: #2e7d32; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
|
|
a { color: #666; text-decoration: none; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="card">
|
|
<h1>Añadir Proyecto</h1>
|
|
<form action="/proyectos" method="POST">
|
|
<label>Nombre</label>
|
|
<input type="text" name="nombre" required placeholder="Nombre del servicio">
|
|
|
|
<label>URL de Health Check</label>
|
|
<input type="url" name="url_health" required placeholder="https://mi-api.com/health">
|
|
|
|
<div class="actions">
|
|
<a href="/">Volver</a>
|
|
<button type="submit">Guardar</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |