Format and color JSON in all views

This commit is contained in:
Joakim Hellsén 2026-01-07 21:06:50 +01:00
commit bd16fefd08
No known key found for this signature in database
4 changed files with 38 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block title %}
Games
Organizations
{% endblock title %}
{% block content %}
<h1 id="page-title">Organizations</h1>
@ -13,6 +13,7 @@
{% endfor %}
</ul>
{% else %}
<p>No games found.</p>
<p>No organizations found.</p>
{% endif %}
{{ orgs_data|safe }}
{% endblock content %}

View file

@ -35,5 +35,5 @@
</li>
{% endfor %}
</ul>
<pre><code id="org-data">{{ org_data }}</code></pre>
{{ org_data|safe }}
{% endblock content %}