Further work on auto-generation of components
This commit is contained in:
parent
706e42f483
commit
bfb5a67266
43 changed files with 2254 additions and 911 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File application-index.html generated 2018-06-11T18:42:42.835Z by adl.to-selmer-templates.
|
||||
<!-- File application-index.html generated 2018-06-14T19:58:20.328Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -123,16 +123,6 @@ Requests for a followup with an issue expert
|
|||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href=''>
|
||||
Rolemembership
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Link table
|
||||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href='list-roles-Roles'>
|
||||
Role
|
||||
</a>
|
||||
|
|
@ -156,17 +146,7 @@ District
|
|||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Electoral districts
|
||||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href=''>
|
||||
Teamorganisership
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Link table
|
||||
Electoral districts: TODO: Shape (polygon) information will need to be added, for use in maps.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
|
|
@ -180,16 +160,6 @@ Actions taken on followup requests.
|
|||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href=''>
|
||||
Issueexpertise
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Link table
|
||||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href='list-options-Options'>
|
||||
Option
|
||||
</a>
|
||||
|
|
@ -200,16 +170,6 @@ Options in the election or referendum being canvassed on
|
|||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href=''>
|
||||
Teammembership
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Link table
|
||||
</p>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href='list-followupmethods-Followupmethods'>
|
||||
Followupmethod
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-addresses-Address.html generated 2018-06-11T18:42:42.819Z by adl.to-selmer-templates.
|
||||
<!-- File form-addresses-Address.html generated 2018-06-14T19:58:20.317Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
131
resources/templates/auto/form-authorities-Authority.html
Normal file
131
resources/templates/auto/form-authorities-Authority.html
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-authorities-Authority.html generated 2018-06-14T19:58:20.335Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id='content' class='edit'>
|
||||
<form action='{{servlet-context}}/form-authorities-Authority' method='POST'>
|
||||
{% csrf-field %}
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable authorities id %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable authorities id%}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable authorities %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable authorities %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable authorities %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable authorities %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget action-safe'>
|
||||
<label for='save-button' class='action-safe'>
|
||||
To save this authorities record
|
||||
</label>
|
||||
<input id='save-button' name='save-button' class='action-safe' type=':submit' value='Save!'/>
|
||||
</p>
|
||||
<p class='widget action-dangerous'>
|
||||
<label for='delete-button' class='action-dangerous'>
|
||||
To delete this authorities record
|
||||
</label>
|
||||
<input id='delete-button' name='delete-button' class='action-dangerous' type=':submit' value='Delete!'/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block foot %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-canvassers-Canvasser.html generated 2018-06-11T18:42:42.844Z by adl.to-selmer-templates.
|
||||
<!-- File form-canvassers-Canvasser.html generated 2018-06-14T19:58:20.337Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -75,7 +75,7 @@ elector_id
|
|||
<div class='select-box' farside='electors' found='true'>
|
||||
<input name='elector_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='elector_id' name='elector_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}}</option>{% endfor %}
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}} {{record.gender}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
@ -216,7 +216,7 @@ elector_id
|
|||
<div class='select-box' farside='electors' found='true'>
|
||||
<input name='elector_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='elector_id' name='elector_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}}</option>{% endfor %}
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}} {{record.gender}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
@ -312,10 +312,9 @@ authorised
|
|||
roles
|
||||
</label>
|
||||
{% ifwritable canvassers roles %}
|
||||
<div class='select-box' farside='role' found='false'>
|
||||
<input name='roles-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='roles' name='roles' multiple='multiple' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in role %}<option value='{{record.role_id}}'></option>{% endfor %}
|
||||
<div class='select-box' farside='roles' found='true'>
|
||||
<select id='roles' name='roles' multiple='multiple'>
|
||||
{% for record in roles %}<option value='{{record.role_id}}'>{{record.name}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-districts-District.html generated 2018-06-11T18:42:42.814Z by adl.to-selmer-templates.
|
||||
<!-- File form-districts-District.html generated 2018-06-14T19:58:20.306Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-dwellings-Dwelling.html generated 2018-06-11T18:42:42.852Z by adl.to-selmer-templates.
|
||||
<!-- File form-dwellings-Dwelling.html generated 2018-06-14T19:58:20.346Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -44,10 +44,10 @@ id
|
|||
address_id
|
||||
</label>
|
||||
{% ifwritable dwellings address_id %}
|
||||
<div class='select-box' farside='address' found='false'>
|
||||
<div class='select-box' farside='addresses' found='true'>
|
||||
<input name='address_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='address_id' name='address_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in address %}<option value='{{record.id}}'></option>{% endfor %}
|
||||
{% for record in addresses %}<option value='{{record.id}}'>{{record.address}} {{record.postcode}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
@ -91,10 +91,10 @@ id
|
|||
address_id
|
||||
</label>
|
||||
{% ifwritable dwellings address_id %}
|
||||
<div class='select-box' farside='address' found='false'>
|
||||
<div class='select-box' farside='addresses' found='true'>
|
||||
<input name='address_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='address_id' name='address_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in address %}<option value='{{record.id}}'></option>{% endfor %}
|
||||
{% for record in addresses %}<option value='{{record.id}}'>{{record.address}} {{record.postcode}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-electors-Elector.html generated 2018-06-11T18:42:42.839Z by adl.to-selmer-templates.
|
||||
<!-- File form-electors-Elector.html generated 2018-06-14T19:58:20.332Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -61,7 +61,7 @@ dwelling_id
|
|||
<div class='select-box' farside='dwellings' found='true'>
|
||||
<input name='dwelling_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='dwelling_id' name='dwelling_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in dwellings %}<option value='{{record.id}}'></option>{% endfor %}
|
||||
{% for record in dwellings %}<option value='{{record.id}}'>{{record.address_id}} {{record.sub-address}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
@ -154,7 +154,7 @@ dwelling_id
|
|||
<div class='select-box' farside='dwellings' found='true'>
|
||||
<input name='dwelling_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='dwelling_id' name='dwelling_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in dwellings %}<option value='{{record.id}}'></option>{% endfor %}
|
||||
{% for record in dwellings %}<option value='{{record.id}}'>{{record.address_id}} {{record.sub-address}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-followupactions-Followupaction.html generated 2018-06-11T18:42:42.854Z by adl.to-selmer-templates.
|
||||
<!-- File form-followupactions-Followupaction.html generated 2018-06-14T19:58:20.348Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -47,7 +47,7 @@ request_id
|
|||
<div class='select-box' farside='followuprequests' found='true'>
|
||||
<input name='request_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='request_id' name='request_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in followuprequests %}<option value='{{record.id}}'></option>{% endfor %}
|
||||
{% for record in followuprequests %}<option value='{{record.id}}'>{{record.elector_id}} {{record.visit_id}} {{record.issue_id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
@ -141,7 +141,7 @@ request_id
|
|||
<div class='select-box' farside='followuprequests' found='true'>
|
||||
<input name='request_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='request_id' name='request_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in followuprequests %}<option value='{{record.id}}'></option>{% endfor %}
|
||||
{% for record in followuprequests %}<option value='{{record.id}}'>{{record.elector_id}} {{record.visit_id}} {{record.issue_id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,131 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-followupmethods-Followupmethod.html generated 2018-06-14T19:58:20.351Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id='content' class='edit'>
|
||||
<form action='{{servlet-context}}/form-followupmethods-Followupmethod' method='POST'>
|
||||
{% csrf-field %}
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable followupmethods id %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable followupmethods id%}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable followupmethods %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable followupmethods %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable followupmethods %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable followupmethods %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget action-safe'>
|
||||
<label for='save-button' class='action-safe'>
|
||||
To save this followupmethods record
|
||||
</label>
|
||||
<input id='save-button' name='save-button' class='action-safe' type=':submit' value='Save!'/>
|
||||
</p>
|
||||
<p class='widget action-dangerous'>
|
||||
<label for='delete-button' class='action-dangerous'>
|
||||
To delete this followupmethods record
|
||||
</label>
|
||||
<input id='delete-button' name='delete-button' class='action-dangerous' type=':submit' value='Delete!'/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block foot %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,266 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-followuprequests-Followuprequest.html generated 2018-06-14T19:58:20.310Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id='content' class='edit'>
|
||||
<form action='{{servlet-context}}/form-followuprequests-Followuprequest' method='POST'>
|
||||
{% csrf-field %}
|
||||
<input id='id' name='id' type='hidden' value='{{record.id}}'/>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable followuprequests %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='elector_id'>
|
||||
elector_id
|
||||
</label>
|
||||
{% ifwritable followuprequests elector_id %}
|
||||
<div class='select-box' farside='electors' found='true'>
|
||||
<input name='elector_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='elector_id' name='elector_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}} {{record.gender}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests elector_id%}
|
||||
<span id='elector_id' name='elector_id' class='pseudo-widget disabled'>
|
||||
{{record.elector_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='visit_id'>
|
||||
visit_id
|
||||
</label>
|
||||
{% ifwritable followuprequests visit_id %}
|
||||
<div class='select-box' farside='visits' found='true'>
|
||||
<input name='visit_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='visit_id' name='visit_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in visits %}<option value='{{record.id}}'>{{record.address_id}} {{record.date}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests visit_id%}
|
||||
<span id='visit_id' name='visit_id' class='pseudo-widget disabled'>
|
||||
{{record.visit_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='issue_id'>
|
||||
issue_id
|
||||
</label>
|
||||
{% ifwritable followuprequests issue_id %}
|
||||
<div class='select-box' farside='issues' found='true'>
|
||||
<select id='issue_id' name='issue_id'>
|
||||
{% for record in issues %}<option value='{{record.id}}'>{{record.id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests issue_id%}
|
||||
<span id='issue_id' name='issue_id' class='pseudo-widget disabled'>
|
||||
{{record.issue_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='method_id'>
|
||||
method_id
|
||||
</label>
|
||||
{% ifwritable followuprequests method_id %}
|
||||
<div class='select-box' farside='followupmethods' found='true'>
|
||||
<select id='method_id' name='method_id'>
|
||||
{% for record in followupmethods %}<option value='{{record.id}}'>{{record.id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests method_id%}
|
||||
<span id='method_id' name='method_id' class='pseudo-widget disabled'>
|
||||
{{record.method_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable followuprequests %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='elector_id'>
|
||||
elector_id
|
||||
</label>
|
||||
{% ifwritable followuprequests elector_id %}
|
||||
<div class='select-box' farside='electors' found='true'>
|
||||
<input name='elector_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='elector_id' name='elector_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}} {{record.gender}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests elector_id%}
|
||||
<span id='elector_id' name='elector_id' class='pseudo-widget disabled'>
|
||||
{{record.elector_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='visit_id'>
|
||||
visit_id
|
||||
</label>
|
||||
{% ifwritable followuprequests visit_id %}
|
||||
<div class='select-box' farside='visits' found='true'>
|
||||
<input name='visit_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='visit_id' name='visit_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in visits %}<option value='{{record.id}}'>{{record.address_id}} {{record.date}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests visit_id%}
|
||||
<span id='visit_id' name='visit_id' class='pseudo-widget disabled'>
|
||||
{{record.visit_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='issue_id'>
|
||||
issue_id
|
||||
</label>
|
||||
{% ifwritable followuprequests issue_id %}
|
||||
<div class='select-box' farside='issues' found='true'>
|
||||
<select id='issue_id' name='issue_id'>
|
||||
{% for record in issues %}<option value='{{record.id}}'>{{record.id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests issue_id%}
|
||||
<span id='issue_id' name='issue_id' class='pseudo-widget disabled'>
|
||||
{{record.issue_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='method_id'>
|
||||
method_id
|
||||
</label>
|
||||
{% ifwritable followuprequests method_id %}
|
||||
<div class='select-box' farside='followupmethods' found='true'>
|
||||
<select id='method_id' name='method_id'>
|
||||
{% for record in followupmethods %}<option value='{{record.id}}'>{{record.id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable followuprequests method_id%}
|
||||
<span id='method_id' name='method_id' class='pseudo-widget disabled'>
|
||||
{{record.method_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget action-safe'>
|
||||
<label for='save-button' class='action-safe'>
|
||||
To save this followuprequests record
|
||||
</label>
|
||||
<input id='save-button' name='save-button' class='action-safe' type=':submit' value='Save!'/>
|
||||
</p>
|
||||
<p class='widget action-dangerous'>
|
||||
<label for='delete-button' class='action-dangerous'>
|
||||
To delete this followuprequests record
|
||||
</label>
|
||||
<input id='delete-button' name='delete-button' class='action-dangerous' type=':submit' value='Delete!'/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block foot %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
131
resources/templates/auto/form-genders-Gender.html
Normal file
131
resources/templates/auto/form-genders-Gender.html
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-genders-Gender.html generated 2018-06-14T19:58:20.298Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id='content' class='edit'>
|
||||
<form action='{{servlet-context}}/form-genders-Gender' method='POST'>
|
||||
{% csrf-field %}
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable genders id %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable genders id%}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable genders %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable genders %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable genders %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable genders %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget action-safe'>
|
||||
<label for='save-button' class='action-safe'>
|
||||
To save this genders record
|
||||
</label>
|
||||
<input id='save-button' name='save-button' class='action-safe' type=':submit' value='Save!'/>
|
||||
</p>
|
||||
<p class='widget action-dangerous'>
|
||||
<label for='delete-button' class='action-dangerous'>
|
||||
To delete this genders record
|
||||
</label>
|
||||
<input id='delete-button' name='delete-button' class='action-dangerous' type=':submit' value='Delete!'/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block foot %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
202
resources/templates/auto/form-intentions-Intention.html
Normal file
202
resources/templates/auto/form-intentions-Intention.html
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-intentions-Intention.html generated 2018-06-14T19:58:20.343Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id='content' class='edit'>
|
||||
<form action='{{servlet-context}}/form-intentions-Intention' method='POST'>
|
||||
{% csrf-field %}
|
||||
<input id='Id' name='Id' type='hidden' value='{{record.Id}}'/>
|
||||
<p class='widget'>
|
||||
<label for='visit_id'>
|
||||
visit_id
|
||||
</label>
|
||||
{% ifwritable intentions visit_id %}
|
||||
<div class='select-box' farside='visits' found='true'>
|
||||
<input name='visit_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='visit_id' name='visit_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in visits %}<option value='{{record.id}}'>{{record.address_id}} {{record.date}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable intentions visit_id%}
|
||||
<span id='visit_id' name='visit_id' class='pseudo-widget disabled'>
|
||||
{{record.visit_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='elector_id'>
|
||||
elector_id
|
||||
</label>
|
||||
{% ifwritable intentions elector_id %}
|
||||
<div class='select-box' farside='electors' found='true'>
|
||||
<input name='elector_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='elector_id' name='elector_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}} {{record.gender}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable intentions elector_id%}
|
||||
<span id='elector_id' name='elector_id' class='pseudo-widget disabled'>
|
||||
{{record.elector_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='option_id'>
|
||||
option_id
|
||||
</label>
|
||||
{% ifwritable intentions option_id %}
|
||||
<div class='select-box' farside='options' found='true'>
|
||||
<select id='option_id' name='option_id'>
|
||||
{% for record in options %}<option value='{{record.id}}'>{{record.id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable intentions option_id%}
|
||||
<span id='option_id' name='option_id' class='pseudo-widget disabled'>
|
||||
{{record.option_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='visit_id'>
|
||||
visit_id
|
||||
</label>
|
||||
{% ifwritable intentions visit_id %}
|
||||
<div class='select-box' farside='visits' found='true'>
|
||||
<input name='visit_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='visit_id' name='visit_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in visits %}<option value='{{record.id}}'>{{record.address_id}} {{record.date}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable intentions visit_id%}
|
||||
<span id='visit_id' name='visit_id' class='pseudo-widget disabled'>
|
||||
{{record.visit_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='elector_id'>
|
||||
elector_id
|
||||
</label>
|
||||
{% ifwritable intentions elector_id %}
|
||||
<div class='select-box' farside='electors' found='true'>
|
||||
<input name='elector_id-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='elector_id' name='elector_id' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in electors %}<option value='{{record.id}}'>{{record.name}} {{record.phone}} {{record.email}} {{record.gender}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable intentions elector_id%}
|
||||
<span id='elector_id' name='elector_id' class='pseudo-widget disabled'>
|
||||
{{record.elector_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='option_id'>
|
||||
option_id
|
||||
</label>
|
||||
{% ifwritable intentions option_id %}
|
||||
<div class='select-box' farside='options' found='true'>
|
||||
<select id='option_id' name='option_id'>
|
||||
{% for record in options %}<option value='{{record.id}}'>{{record.id}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable intentions option_id%}
|
||||
<span id='option_id' name='option_id' class='pseudo-widget disabled'>
|
||||
{{record.option_id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget action-safe'>
|
||||
<label for='save-button' class='action-safe'>
|
||||
To save this intentions record
|
||||
</label>
|
||||
<input id='save-button' name='save-button' class='action-safe' type=':submit' value='Save!'/>
|
||||
</p>
|
||||
<p class='widget action-dangerous'>
|
||||
<label for='delete-button' class='action-dangerous'>
|
||||
To delete this intentions record
|
||||
</label>
|
||||
<input id='delete-button' name='delete-button' class='action-dangerous' type=':submit' value='Delete!'/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block foot %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-issues-Issue.html generated 2018-06-11T18:42:42.827Z by adl.to-selmer-templates.
|
||||
<!-- File form-issues-Issue.html generated 2018-06-14T19:58:20.321Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
131
resources/templates/auto/form-options-Option.html
Normal file
131
resources/templates/auto/form-options-Option.html
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-options-Option.html generated 2018-06-14T19:58:20.342Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id='content' class='edit'>
|
||||
<form action='{{servlet-context}}/form-options-Option' method='POST'>
|
||||
{% csrf-field %}
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable options id %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable options id%}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable options %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable options %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='id'>
|
||||
id
|
||||
</label>
|
||||
{% ifwritable options %}
|
||||
<input id='id' name='id' type='text' value='{{record.id}}'/>
|
||||
{% else %}
|
||||
{% ifreadable options %}
|
||||
<span id='id' name='id' class='pseudo-widget disabled'>
|
||||
{{record.id}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget action-safe'>
|
||||
<label for='save-button' class='action-safe'>
|
||||
To save this options record
|
||||
</label>
|
||||
<input id='save-button' name='save-button' class='action-safe' type=':submit' value='Save!'/>
|
||||
</p>
|
||||
<p class='widget action-dangerous'>
|
||||
<label for='delete-button' class='action-dangerous'>
|
||||
To delete this options record
|
||||
</label>
|
||||
<input id='delete-button' name='delete-button' class='action-dangerous' type=':submit' value='Delete!'/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block foot %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-roles-Role.html generated 2018-06-11T18:42:42.829Z by adl.to-selmer-templates.
|
||||
<!-- File form-roles-Role.html generated 2018-06-14T19:58:20.323Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-teams-Team.html generated 2018-06-11T18:42:42.836Z by adl.to-selmer-templates.
|
||||
<!-- File form-teams-Team.html generated 2018-06-14T19:58:20.329Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
@ -181,6 +181,25 @@ members
|
|||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='organisers'>
|
||||
organisers
|
||||
</label>
|
||||
{% ifwritable teams organisers %}
|
||||
<div class='select-box' farside='canvassers' found='true'>
|
||||
<input name='organisers-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||
<select id='organisers' name='organisers' multiple='multiple' comment='JavaScript stuff to fix up aynchronous loading'>
|
||||
{% for record in canvassers %}<option value='{{record.id}}'>{{record.username}} {{record.fullname}} {{record.email}}</option>{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
{% ifreadable teams organisers%}
|
||||
<span id='organisers' name='organisers' class='pseudo-widget disabled'>
|
||||
{{record.organisers}}
|
||||
</span>
|
||||
{% endifreadable %}
|
||||
{% endifwritable %}
|
||||
</p>
|
||||
<p class='widget'>
|
||||
<label for='longitude'>
|
||||
longitude
|
||||
</label>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File form-visits-Visit.html generated 2018-06-11T18:42:42.832Z by adl.to-selmer-templates.
|
||||
<!-- File form-visits-Visit.html generated 2018-06-14T19:58:20.326Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-addresses-Addresses.html generated 2018-06-11T18:42:42.843Z by adl.to-selmer-templates.
|
||||
<!-- File list-addresses-Addresses.html generated 2018-06-14T19:58:20.336Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
118
resources/templates/auto/list-authorities-Authorities.html
Normal file
118
resources/templates/auto/list-authorities-Authorities.html
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-authorities-Authorities.html generated 2018-06-14T19:58:20.309Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id='content' class='list'>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-authorities-Authority'>
|
||||
Add a new Authority
|
||||
</a>
|
||||
</div>
|
||||
<table caption='authorities'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
id
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in %records% %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ record.id }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='{{servlet-context}}/form-authorities-Authority?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 %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-canvassers-Canvassers.html generated 2018-06-11T18:42:42.851Z by adl.to-selmer-templates.
|
||||
<!-- File list-canvassers-Canvassers.html generated 2018-06-14T19:58:20.345Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-districts-Districts.html generated 2018-06-11T18:42:42.848Z by adl.to-selmer-templates.
|
||||
<!-- File list-districts-Districts.html generated 2018-06-14T19:58:20.341Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-dwellings-Dwellings.html generated 2018-06-11T18:42:42.842Z by adl.to-selmer-templates.
|
||||
<!-- File list-dwellings-Dwellings.html generated 2018-06-14T19:58:20.334Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-electors-Electors.html generated 2018-06-11T18:42:42.825Z by adl.to-selmer-templates.
|
||||
<!-- File list-electors-Electors.html generated 2018-06-14T19:58:20.320Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-followupactions-Followupactions.html generated 2018-06-11T18:42:42.850Z by adl.to-selmer-templates.
|
||||
<!-- File list-followupactions-Followupactions.html generated 2018-06-14T19:58:20.345Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,118 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-followupmethods-Followupmethods.html generated 2018-06-14T19:58:20.325Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id='content' class='list'>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-followupmethods-Followupmethod'>
|
||||
Add a new Followupmethod
|
||||
</a>
|
||||
</div>
|
||||
<table caption='followupmethods'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
id
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in %records% %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ record.id }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='{{servlet-context}}/form-followupmethods-Followupmethod?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 %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-followuprequests-Followuprequests.html generated 2018-06-14T19:58:20.303Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id='content' class='list'>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-followuprequests-Followuprequest'>
|
||||
Add a new Followuprequest
|
||||
</a>
|
||||
</div>
|
||||
<table caption='followuprequests'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
id
|
||||
</th>
|
||||
<th>
|
||||
elector_id
|
||||
</th>
|
||||
<th>
|
||||
visit_id
|
||||
</th>
|
||||
<th>
|
||||
issue_id
|
||||
</th>
|
||||
<th>
|
||||
method_id
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='elector_id' type='text' name='elector_id' value='{{ params.elector_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='visit_id' type='text' name='visit_id' value='{{ params.visit_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='issue_id' type='text' name='issue_id' value='{{ params.issue_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='method_id' type='text' name='method_id' value='{{ params.method_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in %records% %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ record.id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ record.elector_id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ record.visit_id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ record.issue_id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ record.method_id }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='{{servlet-context}}/form-followuprequests-Followuprequest?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 %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
118
resources/templates/auto/list-genders-Genders.html
Normal file
118
resources/templates/auto/list-genders-Genders.html
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-genders-Genders.html generated 2018-06-14T19:58:20.293Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id='content' class='list'>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-genders-Gender'>
|
||||
Add a new Gender
|
||||
</a>
|
||||
</div>
|
||||
<table caption='genders'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
id
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in %records% %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ record.id }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='{{servlet-context}}/form-genders-Gender?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 %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
136
resources/templates/auto/list-intentions-Intentions.html
Normal file
136
resources/templates/auto/list-intentions-Intentions.html
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-intentions-Intentions.html generated 2018-06-14T19:58:20.348Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id='content' class='list'>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-intentions-Intention'>
|
||||
Add a new Intention
|
||||
</a>
|
||||
</div>
|
||||
<table caption='intentions'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
visit_id
|
||||
</th>
|
||||
<th>
|
||||
elector_id
|
||||
</th>
|
||||
<th>
|
||||
option_id
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='visit_id' type='text' name='visit_id' value='{{ params.visit_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='elector_id' type='text' name='elector_id' value='{{ params.elector_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input id='option_id' type='text' name='option_id' value='{{ params.option_id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in %records% %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ record.visit_id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ record.elector_id }}
|
||||
</td>
|
||||
<td>
|
||||
{{ record.option_id }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='{{servlet-context}}/form-intentions-Intention?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 %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-issues-Issues.html generated 2018-06-11T18:42:42.849Z by adl.to-selmer-templates.
|
||||
<!-- File list-issues-Issues.html generated 2018-06-14T19:58:20.342Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
118
resources/templates/auto/list-options-Options.html
Normal file
118
resources/templates/auto/list-options-Options.html
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-options-Options.html generated 2018-06-14T19:58:20.305Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'/>
|
||||
|
||||
<link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link href='css/spinner.css' type='text/css' rel='stylesheet'/>
|
||||
|
||||
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
|
||||
|
||||
<title>
|
||||
{{site-title}}: {{title}}
|
||||
</title>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form id='content' class='list'>
|
||||
<div class='big-link-container'>
|
||||
<a href='form-options-Option'>
|
||||
Add a new Option
|
||||
</a>
|
||||
</div>
|
||||
<table caption='options'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
id
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||
</th>
|
||||
<th>
|
||||
<input type='submit' id='search' value='Search'/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in %records% %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ record.id }}
|
||||
</td>
|
||||
<td>
|
||||
<a href='{{servlet-context}}/form-options-Option?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 %}
|
||||
<footer>
|
||||
<div id='credits'>
|
||||
<div>
|
||||
<img height='24' width='24' src='img/credits/ric-logo.png'/>
|
||||
|
||||
A project of the
|
||||
|
||||
<a href='https://radical.scot/'>
|
||||
Radical Independence Campaign
|
||||
</a>
|
||||
||
|
||||
Version {{version}}
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<img src='img/credits/luminus-logo.png' alt='Clojure' width='16' height='16'/>
|
||||
Built with
|
||||
<a href='http://www.luminusweb.net/'>
|
||||
LuminusWeb
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/clojure-icon.gif' alt='Clojure' width='16' height='16'/>
|
||||
Powered by
|
||||
<a href='http://clojure.org'>
|
||||
Clojure
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/github-logo-transparent.png' alt='GitHub' width='16' height='16'/>
|
||||
Find me/fork me on
|
||||
<a href='https://github.com/simon-brooke/smeagol'>
|
||||
Github
|
||||
</a>
|
||||
||
|
||||
|
||||
<img src='img/credits/gnu.small.png' alt='Free Software Foundation' width='16' height='16'/>
|
||||
Licensed under the
|
||||
<a href='http://www.gnu.org/licenses/gpl-2.0.html'>
|
||||
GNU General Public License version 2.0
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-roles-Roles.html generated 2018-06-11T18:42:42.831Z by adl.to-selmer-templates.
|
||||
<!-- File list-roles-Roles.html generated 2018-06-14T19:58:20.325Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-teams-Teams.html generated 2018-06-11T18:42:42.812Z by adl.to-selmer-templates.
|
||||
<!-- File list-teams-Teams.html generated 2018-06-14T19:58:20.297Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
<!-- File list-visits-Visits.html generated 2018-06-11T18:42:42.810Z by adl.to-selmer-templates.
|
||||
<!-- File list-visits-Visits.html generated 2018-06-14T19:58:20.295Z by adl.to-selmer-templates.
|
||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
||||
{% block head %}
|
||||
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue