Files
jeopardy/templates/main_board.html
2025-12-03 10:15:45 +01:00

32 lines
780 B
HTML

<html>
<head>
<title>Geopardy</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
{% if empty < 36 %}
<table>
<tr>
{% for cat in categories: %}
<th>{{ cat }}</th>
{% endfor %}
</tr>
{% for i in range(1,7) %}
<tr>
{% for j in range(0,6): %}
<td>
{% if draw_cells[(i-1)*6+j] %}
<a href="/question?question={{ (i-1) * 6 + j }}&game_state={{ game_state }}">${{i*((1+empty)*7-2)}}</a>
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</table>
{% else %}
<a class="title" href="/final">
Final Geopardy
</a>
{% endif %}
</body>
</html>