mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
29 lines
704 B
HTML
29 lines
704 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Applications{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h3>Search All Applications</h3>
|
|
<form method="GET" action="{% url hr.views.admin_applications %}">
|
|
<input type="text" name="q" />
|
|
<input type="submit" value="Search" />
|
|
</form>
|
|
|
|
{% if apps %}
|
|
<table>
|
|
<tr><th>Application ID</th><th>Character</th><th>Corporation</th><th>Application Status</th></tr>
|
|
{% for app in apps %}
|
|
<tr><td><a href="{% url hr.views.view_application app.id %}">{{ app.id }}</a></td>
|
|
<td>{{ app.character }}</td>
|
|
<td>{{ app.corporation }}</td>
|
|
<td>{{ app.get_status_display }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<p>No applications found.</p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|