diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-09-28 04:01:28 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-09-28 04:01:28 -0400 |
| commit | 5cf139eac317f8934deff21aa3668bd3616962b9 (patch) | |
| tree | 74fb2125a5c710a9a0c7f5e182489b414d5216fe /templates | |
| parent | afe79e8430302808004ac2f5b5cc7d21d4d5d170 (diff) | |
Add basic styling to bingo pagebingo_client
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 1 | ||||
| -rw-r--r-- | templates/bingo.html | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index d263063..94878a2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,6 +4,7 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{ block "title" . }}Bingo Factory{{ end }}</title> + <link rel="stylesheet" href="/static/styles.css"> </head> <body> {{ template "content" . }} diff --git a/templates/bingo.html b/templates/bingo.html index e00543c..1305b9a 100644 --- a/templates/bingo.html +++ b/templates/bingo.html @@ -1,11 +1,12 @@ {{ define "title" }}Bingo{{ end }} {{ define "content" }} -<table> +<main> +<table class="bingoCard"> <tbody> {{ range .Rows }} <tr> {{ range . }} - <td class="{{ if .Checked }}checked{{ end }} {{ if not .Checkable }}locked{{ end }}">{{ .Text }}</td> + <td class="bingoTile {{ if .Checked }}checked{{ end }} {{ if not .Checkable }}locked{{ end }}">{{ .Text }}</td> {{ end }} </tr> {{ else }} @@ -13,4 +14,5 @@ {{ end }} </tbody> </table> +</main> {{ end }} |
