This work is closely coupled with work on [ADL](https://github.com/simon-brooke/adl), q.v. At present ADL largely supports this project.
134 lines
2 KiB
HTML
134 lines
2 KiB
HTML
{% extends "templates/base.html" %}
|
|
|
|
<!-- File list-canvassers-Canvassers.html generated 2018-06-10T21:17:47.138Z by adl.to-selmer-templates.
|
|
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
|
|
|
{% block content %}
|
|
<form id='content' class='list'>
|
|
<div class='big-link-container'>
|
|
<a href='form-canvassers-Canvasser'>
|
|
Add a new Canvasser
|
|
</a>
|
|
</div>
|
|
<table caption='canvassers'>
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
id
|
|
</th>
|
|
<th>
|
|
username
|
|
</th>
|
|
<th>
|
|
fullname
|
|
</th>
|
|
<th>
|
|
elector_id
|
|
</th>
|
|
<th>
|
|
address_id
|
|
</th>
|
|
<th>
|
|
phone
|
|
</th>
|
|
<th>
|
|
email
|
|
</th>
|
|
<th>
|
|
authority_id
|
|
</th>
|
|
<th>
|
|
authorised
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
<input id='id' name='id' value='{{ params.id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='username' name='username' value='{{ params.username }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='fullname' name='fullname' value='{{ params.fullname }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='elector_id' name='elector_id' value='{{ params.elector_id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='address_id' name='address_id' value='{{ params.address_id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='phone' name='phone' value='{{ params.phone }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='email' name='email' value='{{ params.email }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='authority_id' name='authority_id' value='{{ params.authority_id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='authorised' name='authorised' value='{{ params.authorised }}'/>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for record in %records% %}
|
|
<tr>
|
|
<td>
|
|
{{ record.id }}
|
|
</td>
|
|
<td>
|
|
{{ record.username }}
|
|
</td>
|
|
<td>
|
|
{{ record.fullname }}
|
|
</td>
|
|
<td>
|
|
{{ record.elector_id }}
|
|
</td>
|
|
<td>
|
|
{{ record.address_id }}
|
|
</td>
|
|
<td>
|
|
{{ record.phone }}
|
|
</td>
|
|
<td>
|
|
{{ record.email }}
|
|
</td>
|
|
<td>
|
|
{{ record.authority_id }}
|
|
</td>
|
|
<td>
|
|
{{ record.authorised }}
|
|
</td>
|
|
<td>
|
|
<a href='form-canvassers-Canvasser?id={{ record.id}}'>
|
|
View
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot/>
|
|
</table>
|
|
{% if offset > 0 %}
|
|
<div class='back-link-container'>
|
|
<a href='FIXME'>
|
|
Previous
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
<div class='big-link-container'>
|
|
<a href='FIXME'>
|
|
Next
|
|
</a>
|
|
</div>
|
|
<div class='big-link-container'>
|
|
<a href='form-canvassers-Canvasser'>
|
|
Add a new Canvasser
|
|
</a>
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock %}
|