diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-09-28 03:31:28 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-09-28 03:31:28 -0400 |
| commit | afe79e8430302808004ac2f5b5cc7d21d4d5d170 (patch) | |
| tree | 21609b2e45317f40698c607f56078a4a9bae5196 /templates/bingo.html | |
| parent | 2df8b9bf6448d3a64aaeacf455d0820ce9c8c333 (diff) | |
Add simple http server
Diffstat (limited to 'templates/bingo.html')
| -rw-r--r-- | templates/bingo.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/bingo.html b/templates/bingo.html new file mode 100644 index 0000000..e00543c --- /dev/null +++ b/templates/bingo.html @@ -0,0 +1,16 @@ +{{ define "title" }}Bingo{{ end }} +{{ define "content" }} +<table> + <tbody> + {{ range .Rows }} + <tr> + {{ range . }} + <td class="{{ if .Checked }}checked{{ end }} {{ if not .Checkable }}locked{{ end }}">{{ .Text }}</td> + {{ end }} + </tr> + {{ else }} + <td>No Rows!</td> + {{ end }} + </tbody> +</table> +{{ end }} |
