diff --git a/core/templates/base.html b/core/templates/base.html index 21afa7a..5613f38 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -13,7 +13,10 @@ - + {% include "partials/alerts.html" %}
{% include "partials/header.html" %} diff --git a/core/templates/index.html b/core/templates/index.html index ee30bcc..a24b5f6 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -1,22 +1,16 @@ {% extends "base.html" %} {% load static %} {% block content %} - -
-
-
{% include "partials/toc.html" %}
-
- {% include "partials/info_box.html" %} - {% include "partials/news.html" %} - {% for game in games %} - {% include "partials/game_card.html" %} - {% endfor %} -
+
+
+
{% include "partials/toc.html" %}
+
+ {% include "partials/info_box.html" %} + {% include "partials/news.html" %} + {% for game in games %} + {% include "partials/game_card.html" %} + {% endfor %}
- - +
{% endblock content %} diff --git a/core/templates/partials/news.html b/core/templates/partials/news.html index e56f35f..ef290f4 100644 --- a/core/templates/partials/news.html +++ b/core/templates/partials/news.html @@ -1,44 +1,48 @@ -
-
-
-
-

Site news

-
- {% for webhook in webhooks %} -
- {{ webhook.name }} - {{ webhook.name }} -
- - +{% if webhooks %} +
+
+
+
+

Site news

+
+ {% for webhook in webhooks %} +
+ {{ webhook.name }} + {{ webhook.name }} +
+ + +
+
+ + +
+
+
+ + +
+
+ + +
-
- - -
-
-
- - -
-
- - -
-
- {% endfor %} + {% endfor %} +
-
+{% else %} +

No webhooks added yet.

+{% endif %}