NDOJ/templates/status/versions.html

43 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
{% extends "base.html" %}
{% block title_ruler %}{% endblock %}
{% block title_row %}
2023-01-27 23:11:10 +00:00
{% set tab = 'matrix' %}
{% include "status/status-tabs.html" %}
2020-01-21 06:35:58 +00:00
{% endblock %}
{% block body %}
2023-01-27 23:11:10 +00:00
<table id="judge-versions" class="table">
<tr>
<th></th>
{% for judge in judges %}
<th>{{ judge }}</th>
{% endfor %}
</tr>
{% for language in languages %}
<tr>
<th>{{ language.name }}</th>
{% for judge in judges %}
{% set versions = matrix[judge][language.id] %}
<td class="version version-
{%- if not versions -%}
blank
{%- elif versions.is_latest -%}
latest
{%- else -%}
outdated
{%- endif %}">
{%- for version in versions -%}
{{ version.name }}{% if version.version %}&nbsp;{{ version.version }}{% endif %}
{% if not loop.last %}<br>{% endif %}
{%- else -%}
&mdash;
{%- endfor -%}
</td>
2020-01-21 06:35:58 +00:00
{% endfor %}
2023-01-27 23:11:10 +00:00
</tr>
{% endfor %}
</table>
2020-01-21 06:35:58 +00:00
{% endblock %}