NDOJ/templates/status/language-list.html

58 lines
1.4 KiB
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
{% extends "base.html" %}
{% block media %}
2023-01-27 23:11:10 +00:00
<style>
.table td.language {
white-space: nowrap;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
.table td.info .content-description {
margin: -1em 1em -1em 1em;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
td.info {
width: 100%;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
.table td {
text-align: left;
}
</style>
2020-01-21 06:35:58 +00:00
{% endblock %}
{% block title_ruler %}{% endblock %}
{% block title_row %}
2023-01-27 23:11:10 +00:00
{% set tab = 'runtimes' %}
{% 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 class="table">
<thead>
<tr>
<th>{{ _('ID') }}</th>
<th>{{ _('Name') }}</th>
<th>{{ _('Runtime Info') }}</th>
</tr>
</thead>
<tbody>
{% for language in languages %}
{# All online languages have runtime_versions, even if we're not going to display them #}
{% if language.runtime_versions %}
<tr>
<td>{{ language.short_display_name }}</td>
<td class="language">{{ language.name }}</td>
<td class="info">
<code>{{ runtime_versions(language.runtime_versions()) }}</code>
{% if language.description %}
<div class="content-description">
{{ language.description|markdown|safe }}
</div>
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
2020-01-21 06:35:58 +00:00
{% endblock %}