Format and color JSON in all views
This commit is contained in:
parent
9243a082b3
commit
bd16fefd08
4 changed files with 38 additions and 15 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
|
|
@ -35,5 +35,5 @@
|
|||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<pre><code id="org-data">{{ org_data }}</code></pre>
|
||||
{{ org_data|safe }}
|
||||
{% endblock content %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue