Most of the forms of the admin user interface render and sort-of work. It needs polish - but it's a huge leap forward!
190 lines
3.9 KiB
HTML
190 lines
3.9 KiB
HTML
{% extends "base.html" %}
|
|
<!-- File list-canvassers-Canvassers.html generated 2018-06-11T17:32:20.379Z by adl.to-selmer-templates.
|
|
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
|
{% block head %}
|
|
<html:meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
|
|
|
<html:meta content='width=device-width, initial-scale=1' name='viewport'/>
|
|
|
|
<html:link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
|
|
|
<html:link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
|
|
|
<html:link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
|
|
|
<html:link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
|
|
|
<html:title>
|
|
{{site-title}}: {{title}}
|
|
</html:title>
|
|
|
|
{% endblock %}
|
|
|
|
{% 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' type='text' name='id' value='{{ params.id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='username' type='text' name='username' value='{{ params.username }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='fullname' type='text' name='fullname' value='{{ params.fullname }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='elector_id' type='text' name='elector_id' value='{{ params.elector_id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='address_id' type='text' name='address_id' value='{{ params.address_id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='phone' type='text' name='phone' value='{{ params.phone }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='email' type='text' name='email' value='{{ params.email }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='authority_id' type='text' name='authority_id' value='{{ params.authority_id }}'/>
|
|
</th>
|
|
<th>
|
|
<input id='authorised' type='text' name='authorised' value='{{ params.authorised }}'/>
|
|
</th>
|
|
<th>
|
|
<input type='submit' id='search' value='Search'/>
|
|
</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='{{servlet-context}}/form-canvassers-Canvasser?id={{ record.id}}'>
|
|
View
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<div class='back-link-container'>
|
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
|
</div>
|
|
<div class='big-link-container'>
|
|
<input id='page' name='page' disabled='false' value='Next'/>
|
|
</div>
|
|
</tfoot>
|
|
</table>
|
|
</form>
|
|
|
|
{% endblock %}
|
|
{% block foot %}
|
|
<html:footer>
|
|
<html:div id='credits'>
|
|
<html:div>
|
|
<html:img height='24' width='24' src='img/credits/ric-logo.png'/>
|
|
|
|
A project of the
|
|
|
|
<html:a href='https://radical.scot/'>
|
|
Radical Independence Campaign
|
|
</html:a>
|
|
||
|
|
Version {{version}}
|
|
|
|
</html:div>
|
|
<html:div>
|
|
<html:img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
|
Built with
|
|
<html:a href='http://www.luminusweb.net/'>
|
|
LuminusWeb
|
|
</html:a>
|
|
||
|
|
|
|
<html:img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
|
Powered by
|
|
<html:a href='http://clojure.org'>
|
|
Clojure
|
|
</html:a>
|
|
||
|
|
|
|
<html:img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
|
Find me/fork me on
|
|
<html:a href='https://github.com/simon-brooke/smeagol'>
|
|
Github
|
|
</html:a>
|
|
||
|
|
|
|
<html:img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
|
Licensed under the
|
|
<html:a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
|
GNU General Public License version 2.0
|
|
</html:a>
|
|
</html:div>
|
|
</html:div>
|
|
</html:footer>
|
|
|
|
{% endblock %} |