Most of the forms of the admin user interface render and sort-of work. It needs polish - but it's a huge leap forward!
This commit is contained in:
parent
98695e41dc
commit
bbf6daf6ca
31 changed files with 3430 additions and 1375 deletions
|
|
@ -1,7 +1,24 @@
|
|||
{% extends "templates/base.html" %}
|
||||
|
||||
<!-- File list-electors-Electors.html generated 2018-06-10T21:17:47.123Z by adl.to-selmer-templates.
|
||||
{% extends "base.html" %}
|
||||
<!-- File list-electors-Electors.html generated 2018-06-11T17:32:20.346Z 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'>
|
||||
|
|
@ -34,22 +51,25 @@ gender
|
|||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='id' name='id' value='{{ params.id }}'/>
|
||||
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='name' name='name' value='{{ params.name }}'/>
|
||||
<input id='name' type='text' name='name' value='{{ params.name }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='dwelling_id' name='dwelling_id' value='{{ params.dwelling_id }}'/>
|
||||
<input id='dwelling_id' type='text' name='dwelling_id' value='{{ params.dwelling_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='phone' name='phone' value='{{ params.phone }}'/>
|
||||
<input id='phone' type='text' name='phone' value='{{ params.phone }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='email' name='email' value='{{ params.email }}'/>
|
||||
<input id='email' type='text' name='email' value='{{ params.email }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='gender' name='gender' value='{{ params.gender }}'/>
|
||||
<input id='gender' type='text' name='gender' value='{{ params.gender }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -75,32 +95,69 @@ gender
|
|||
{{ record.gender }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='form-electors-Elector?id={{ record.id}}'>
|
||||
<a href='{{servlet-context}}/form-electors-Elector?id={{ record.id}}'>
|
||||
View
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<tfoot/>
|
||||
</table>
|
||||
{% if offset > 0 %}
|
||||
<tfoot>
|
||||
<div class='back-link-container'>
|
||||
<a href='FIXME'>
|
||||
Previous
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class='big-link-container'>
|
||||
<a href='FIXME'>
|
||||
Next
|
||||
</a>
|
||||
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||
</div>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-electors-Elector'>
|
||||
Add a new Elector
|
||||
</a>
|
||||
<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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue