Files
website/templates/layout.html
2025-03-24 19:17:39 +00:00

27 lines
686 B
HTML

{{ define "layout" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Lotto Tracker</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; }
table { border-collapse: collapse; width: 100%; margin-top: 20px; }
th, td { padding: 8px 12px; border: 1px solid #ddd; text-align: center; }
th { background-color: #f5f5f5; }
.form-section { margin-bottom: 20px; }
</style>
</head>
<body>
<h1>Lotto Tracker</h1>
{{ if eq .Page "index" }}
{{ template "index" .Data }}
{{ else if eq .Page "new_draw" }}
{{ template "new_draw" .Data }}
{{ end }}
</body>
</html>
{{ end }}