diff --git a/.vscode/settings.json b/.vscode/settings.json index 11d6358..46c826d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,7 @@ "allauth", "appendonly", "asgiref", + "forloop", "logdir", "memlock", "networkidle", diff --git a/core/templates/games.html b/core/templates/games.html new file mode 100644 index 0000000..d01d075 --- /dev/null +++ b/core/templates/games.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% block content %} +
+
+ {% for game in games %} +
+
+ {{ game.display_name }} +
+
{{ game.display_name }}
+
+
+ + +
+
+ + +
+
+
+
+
+ {% endfor %} +
+
+{% endblock content %} diff --git a/core/templates/index.html b/core/templates/index.html index 0cd2198..6405562 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -18,7 +18,6 @@ -
{% for game in games %}
@@ -36,6 +35,18 @@

{{ game.display_name }}

+
+
+ + +
+
+ + +
+
{% for campaign in game.campaigns %} {% if not forloop.first %}
{% endif %}
diff --git a/core/templates/partials/header.html b/core/templates/partials/header.html index 9ac39bf..a88f857 100644 --- a/core/templates/partials/header.html +++ b/core/templates/partials/header.html @@ -5,6 +5,9 @@