root / templates / application_list.html @ bbb71107
History | View | Annotate | Download (1.2 kB)
1 | 064ecc91 | Leonidas Poulopoulos | {% extends "base.html" %} |
---|---|---|---|
2 | 064ecc91 | Leonidas Poulopoulos | {% load i18n %} |
3 | 064ecc91 | Leonidas Poulopoulos | {% block title %}{% trans "Application submitted" %}{% endblock %} |
4 | 064ecc91 | Leonidas Poulopoulos | {% block content %} |
5 | 064ecc91 | Leonidas Poulopoulos | <div align="center"> |
6 | 064ecc91 | Leonidas Poulopoulos | {% if pending %} |
7 | 064ecc91 | Leonidas Poulopoulos | <h2>{% trans "Pending applications" %}</h2> |
8 | 064ecc91 | Leonidas Poulopoulos | <table>
|
9 | 064ecc91 | Leonidas Poulopoulos | <tr><th>{% trans "Hostname" %}</th><th>{% trans "User" %}</th><th>{% trans "Memory" %}</th><th>{% trans "vCPUs" %}</th><th>{% trans "Network" %}</th><th>{% trans "Filed" %}</th></tr> |
10 | 064ecc91 | Leonidas Poulopoulos | {% for app in pending %} |
11 | 064ecc91 | Leonidas Poulopoulos | <tr><td><a href="{% url application-review app.pk %}">{{ app.hostname }}</a></td><td>{{ app.applicant }}</td><td>{{ app.memory }}</td><td>{{ app.vcpus }}</td><td>{{ app.network|default_if_none:"—" }}</td><td>{{ app.filed|date }}</td></tr> |
12 | 064ecc91 | Leonidas Poulopoulos | {% endfor %} |
13 | 064ecc91 | Leonidas Poulopoulos | </table>
|
14 | 064ecc91 | Leonidas Poulopoulos | {% endif %} |
15 | 064ecc91 | Leonidas Poulopoulos | |
16 | 064ecc91 | Leonidas Poulopoulos | <h2>{% trans "Completed applications" %}</h2> |
17 | 064ecc91 | Leonidas Poulopoulos | <table>
|
18 | 064ecc91 | Leonidas Poulopoulos | <tr><th>{% trans "Hostname" %}</th><th>{% trans "User" %}</th><th>{% trans "Memory" %}</th><th>{% trans "vCPUs" %}</th><th>{% trans "Network" %}</th><th>{% trans "Filed" %}</th></tr> |
19 | 064ecc91 | Leonidas Poulopoulos | {% for app in completed %} |
20 | 064ecc91 | Leonidas Poulopoulos | <tr><td><a href="{% url application-review app.pk %}">{{ app.hostname }}</a></td><td>{{ app.applicant }}</td><td>{{ app.memory }}</td><td>{{ app.vcpus }}</td><td>{{ app.network|default_if_none:"—" }}</td><td>{{ app.filed|date }}</td></tr> |
21 | 064ecc91 | Leonidas Poulopoulos | {% endfor %} |
22 | 064ecc91 | Leonidas Poulopoulos | </table>
|
23 | 064ecc91 | Leonidas Poulopoulos | </div>
|
24 | 064ecc91 | Leonidas Poulopoulos | {% endblock %} |