addressex/go/templates/index.html
2024-01-29 12:31:04 +00:00

28 lines
667 B
HTML

<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Parser de Endere&ccedil;o</title>
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
<link rel="stylesheet" href="/static/index.css"/>
</head>
<body>
<main>
<section>
<div>
<input
type="search"
name="address"
placeholder="Endereço: Rua, Número, Complement. Bairro - Cidade/Estado. CEP"
hx-get="/parse"
hx-trigger="keyup changed delay:500ms"
hx-target="#address" />
</div>
<div id="address"></div>
</section>
</main>
</body>
</html>