aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html1
-rw-r--r--templates/bingo.html6
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 }}