mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Add letter-jobs page, update admin menu
This commit is contained in:
43
app/templates/views/letter-jobs.html
Normal file
43
app/templates/views/letter-jobs.html
Normal file
@@ -0,0 +1,43 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Show letter jobs
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-large">Letter jobs</h1>
|
||||
|
||||
<form autocomplete="off" method="post">
|
||||
<p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Service name</th>
|
||||
<th>Job ID</th>
|
||||
<th>Status</th>
|
||||
<th colspan="2">Created at</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for job in letter_jobs_list %}
|
||||
<tr>
|
||||
<td>{{ job.service_name }}</td>
|
||||
<td>{{ job.job_id }}</td>
|
||||
<td>{{ job.status }}</td>
|
||||
<td>{{ job.created_at }}</td>
|
||||
<td><input name="send_letter" value='{{ job.job_id }}' type="checkbox"{% if job.send %} checked{% endif %}></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</p>
|
||||
{{ page_footer('Send') }}
|
||||
|
||||
{% if message %}
|
||||
<p>
|
||||
{{ message }}
|
||||
</p>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user