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
|
@ -1,6 +1,6 @@
|
||||||
-- File queries.sql
|
-- File queries.sql
|
||||||
-- autogenerated by adl.to-hugsql-queries at
|
-- autogenerated by adl.to-hugsql-queries at
|
||||||
-- 2018-06-11T00:58:48.917Z
|
-- 2018-06-11T15:50:04.238Z
|
||||||
-- See [Application Description Language](https://github.com/simon-brooke/adl).
|
-- See [Application Description Language](https://github.com/simon-brooke/adl).
|
||||||
|
|
||||||
|
|
||||||
|
@ -495,8 +495,8 @@ ORDER BY canvassers.username,
|
||||||
-- :doc links all existing canvasser records related to a given role
|
-- :doc links all existing canvasser records related to a given role
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM canvassers
|
FROM canvassers
|
||||||
WHERE canvassers.roles = link_canvassers_roles.canvasser_id
|
WHERE canvassers.roles = link_canvassers_.canvasser_id
|
||||||
AND link_canvassers_roles.role_id = :id
|
AND link_canvassers_.role_id = :id
|
||||||
ORDER BY canvassers.username,
|
ORDER BY canvassers.username,
|
||||||
canvassers.fullname,
|
canvassers.fullname,
|
||||||
canvassers.email,
|
canvassers.email,
|
||||||
|
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File application-index.html generated 2018-06-11T17:32:20.359Z by adl.to-selmer-templates.
|
||||||
<!-- File application-index.html generated 2018-06-10T21:17:47.127Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<dl class='index'>
|
<dl class='index'>
|
||||||
|
@ -202,3 +219,50 @@ Followupmethod
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-addresses-Address.html generated 2018-06-11T17:32:20.336Z by adl.to-selmer-templates.
|
||||||
<!-- File form-addresses-Address.html generated 2018-06-10T21:17:47.120Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -230,3 +247,50 @@ To delete this addresses record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-canvassers-Canvasser.html generated 2018-06-11T17:32:20.372Z by adl.to-selmer-templates.
|
||||||
<!-- File form-canvassers-Canvasser.html generated 2018-06-10T21:17:47.133Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -74,7 +91,12 @@ elector_id
|
||||||
address_id
|
address_id
|
||||||
</label>
|
</label>
|
||||||
{% ifwritable canvassers address_id %}
|
{% ifwritable canvassers address_id %}
|
||||||
<input id='address_id' name='address_id' type='number' value='{{record.address_id}}'/>
|
<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 addresses %}<option value='{{record.id}}'>{{record.address}} {{record.postcode}}</option>{% endfor %}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% ifreadable canvassers address_id%}
|
{% ifreadable canvassers address_id%}
|
||||||
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
||||||
|
@ -210,7 +232,12 @@ elector_id
|
||||||
address_id
|
address_id
|
||||||
</label>
|
</label>
|
||||||
{% ifwritable canvassers address_id %}
|
{% ifwritable canvassers address_id %}
|
||||||
<input id='address_id' name='address_id' type='number' value='{{record.address_id}}'/>
|
<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 addresses %}<option value='{{record.id}}'>{{record.address}} {{record.postcode}}</option>{% endfor %}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% ifreadable canvassers address_id%}
|
{% ifreadable canvassers address_id%}
|
||||||
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
||||||
|
@ -315,3 +342,50 @@ To delete this canvassers record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-districts-District.html generated 2018-06-11T17:32:20.331Z by adl.to-selmer-templates.
|
||||||
<!-- File form-districts-District.html generated 2018-06-10T21:17:47.119Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -80,3 +97,50 @@ To delete this districts record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-dwellings-Dwelling.html generated 2018-06-11T17:32:20.380Z by adl.to-selmer-templates.
|
||||||
<!-- File form-dwellings-Dwelling.html generated 2018-06-10T21:17:47.138Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -118,3 +135,50 @@ To delete this dwellings record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-electors-Elector.html generated 2018-06-11T17:32:20.365Z by adl.to-selmer-templates.
|
||||||
<!-- File form-electors-Elector.html generated 2018-06-10T21:17:47.130Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -210,3 +227,50 @@ To delete this electors record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-followupactions-Followupaction.html generated 2018-06-11T17:32:20.382Z by adl.to-selmer-templates.
|
||||||
<!-- File form-followupactions-Followupaction.html generated 2018-06-10T21:17:47.139Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -46,7 +63,12 @@ request_id
|
||||||
actor
|
actor
|
||||||
</label>
|
</label>
|
||||||
{% ifwritable followupactions actor %}
|
{% ifwritable followupactions actor %}
|
||||||
<input id='actor' name='actor' type='number' value='{{record.actor}}'/>
|
<div class='select-box' farside='canvassers' found='true'>
|
||||||
|
<input name='actor-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||||
|
<select id='actor' name='actor' 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 %}
|
{% else %}
|
||||||
{% ifreadable followupactions actor%}
|
{% ifreadable followupactions actor%}
|
||||||
<span id='actor' name='actor' class='pseudo-widget disabled'>
|
<span id='actor' name='actor' class='pseudo-widget disabled'>
|
||||||
|
@ -135,7 +157,12 @@ request_id
|
||||||
actor
|
actor
|
||||||
</label>
|
</label>
|
||||||
{% ifwritable followupactions actor %}
|
{% ifwritable followupactions actor %}
|
||||||
<input id='actor' name='actor' type='number' value='{{record.actor}}'/>
|
<div class='select-box' farside='canvassers' found='true'>
|
||||||
|
<input name='actor-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||||
|
<select id='actor' name='actor' 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 %}
|
{% else %}
|
||||||
{% ifreadable followupactions actor%}
|
{% ifreadable followupactions actor%}
|
||||||
<span id='actor' name='actor' class='pseudo-widget disabled'>
|
<span id='actor' name='actor' class='pseudo-widget disabled'>
|
||||||
|
@ -202,3 +229,50 @@ To delete this followupactions record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-issues-Issue.html generated 2018-06-11T17:32:20.348Z by adl.to-selmer-templates.
|
||||||
<!-- File form-issues-Issue.html generated 2018-06-10T21:17:47.123Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -121,3 +138,50 @@ To delete this issues record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-roles-Role.html generated 2018-06-11T17:32:20.351Z by adl.to-selmer-templates.
|
||||||
<!-- File form-roles-Role.html generated 2018-06-10T21:17:47.125Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -64,6 +81,25 @@ name
|
||||||
{% endifreadable %}
|
{% endifreadable %}
|
||||||
{% endifwritable %}
|
{% endifwritable %}
|
||||||
</p>
|
</p>
|
||||||
|
<p class='widget'>
|
||||||
|
<label for='members'>
|
||||||
|
members
|
||||||
|
</label>
|
||||||
|
{% ifwritable roles members %}
|
||||||
|
<div class='select-box' farside='canvassers' found='true'>
|
||||||
|
<input name='members-search-box' onchange='/* javascript to repopulate the select widget */'/>
|
||||||
|
<select id='members' name='members' 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 roles members%}
|
||||||
|
<span id='members' name='members' class='pseudo-widget disabled'>
|
||||||
|
{{record.members}}
|
||||||
|
</span>
|
||||||
|
{% endifreadable %}
|
||||||
|
{% endifwritable %}
|
||||||
|
</p>
|
||||||
<p class='widget action-safe'>
|
<p class='widget action-safe'>
|
||||||
<label for='save-button' class='action-safe'>
|
<label for='save-button' class='action-safe'>
|
||||||
To save this roles record
|
To save this roles record
|
||||||
|
@ -80,3 +116,50 @@ To delete this roles record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-teams-Team.html generated 2018-06-11T17:32:20.361Z by adl.to-selmer-templates.
|
||||||
<!-- File form-teams-Team.html generated 2018-06-10T21:17:47.128Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -193,3 +210,50 @@ To delete this teams record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File form-visits-Visit.html generated 2018-06-11T17:32:20.356Z by adl.to-selmer-templates.
|
||||||
<!-- File form-visits-Visit.html generated 2018-06-10T21:17:47.126Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<div id='content' class='edit'>
|
<div id='content' class='edit'>
|
||||||
|
@ -27,7 +44,12 @@ id
|
||||||
address_id
|
address_id
|
||||||
</label>
|
</label>
|
||||||
{% ifwritable visits address_id %}
|
{% ifwritable visits address_id %}
|
||||||
<input id='address_id' name='address_id' type='number' value='{{record.address_id}}'/>
|
<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 addresses %}<option value='{{record.id}}'>{{record.address}} {{record.postcode}}</option>{% endfor %}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% ifreadable visits address_id%}
|
{% ifreadable visits address_id%}
|
||||||
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
||||||
|
@ -88,7 +110,12 @@ id
|
||||||
address_id
|
address_id
|
||||||
</label>
|
</label>
|
||||||
{% ifwritable visits address_id %}
|
{% ifwritable visits address_id %}
|
||||||
<input id='address_id' name='address_id' type='number' value='{{record.address_id}}'/>
|
<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 addresses %}<option value='{{record.id}}'>{{record.address}} {{record.postcode}}</option>{% endfor %}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% ifreadable visits address_id%}
|
{% ifreadable visits address_id%}
|
||||||
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
<span id='address_id' name='address_id' class='pseudo-widget disabled'>
|
||||||
|
@ -146,3 +173,50 @@ To delete this visits record
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-addresses-Addresses.html generated 2018-06-11T17:32:20.370Z by adl.to-selmer-templates.
|
||||||
<!-- File list-addresses-Addresses.html generated 2018-06-10T21:17:47.133Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -37,25 +54,28 @@ longitude
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='address' name='address' value='{{ params.address }}'/>
|
<input id='address' type='text' name='address' value='{{ params.address }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='postcode' name='postcode' value='{{ params.postcode }}'/>
|
<input id='postcode' type='text' name='postcode' value='{{ params.postcode }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='phone' name='phone' value='{{ params.phone }}'/>
|
<input id='phone' type='text' name='phone' value='{{ params.phone }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='district_id' name='district_id' value='{{ params.district_id }}'/>
|
<input id='district_id' type='text' name='district_id' value='{{ params.district_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='latitude' name='latitude' value='{{ params.latitude }}'/>
|
<input id='latitude' type='number' name='latitude' value='{{ params.latitude }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='longitude' name='longitude' value='{{ params.longitude }}'/>
|
<input id='longitude' type='number' name='longitude' value='{{ params.longitude }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -84,32 +104,69 @@ longitude
|
||||||
{{ record.longitude }}
|
{{ record.longitude }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-addresses-Address?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-addresses-Address?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-addresses-Address'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Address
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-canvassers-Canvassers.html generated 2018-06-11T17:32:20.379Z by adl.to-selmer-templates.
|
||||||
<!-- 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).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -43,31 +60,34 @@ authorised
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='username' name='username' value='{{ params.username }}'/>
|
<input id='username' type='text' name='username' value='{{ params.username }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='fullname' name='fullname' value='{{ params.fullname }}'/>
|
<input id='fullname' type='text' name='fullname' value='{{ params.fullname }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='elector_id' name='elector_id' value='{{ params.elector_id }}'/>
|
<input id='elector_id' type='text' name='elector_id' value='{{ params.elector_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='address_id' name='address_id' value='{{ params.address_id }}'/>
|
<input id='address_id' type='text' name='address_id' value='{{ params.address_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='phone' name='phone' value='{{ params.phone }}'/>
|
<input id='phone' type='text' name='phone' value='{{ params.phone }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='email' name='email' value='{{ params.email }}'/>
|
<input id='email' type='text' name='email' value='{{ params.email }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='authority_id' name='authority_id' value='{{ params.authority_id }}'/>
|
<input id='authority_id' type='text' name='authority_id' value='{{ params.authority_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='authorised' name='authorised' value='{{ params.authorised }}'/>
|
<input id='authorised' type='text' name='authorised' value='{{ params.authorised }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -102,32 +122,69 @@ authorised
|
||||||
{{ record.authorised }}
|
{{ record.authorised }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-canvassers-Canvasser?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-canvassers-Canvasser?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-canvassers-Canvasser'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Canvasser
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-districts-Districts.html generated 2018-06-11T17:32:20.376Z by adl.to-selmer-templates.
|
||||||
<!-- File list-districts-Districts.html generated 2018-06-10T21:17:47.136Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -22,10 +39,13 @@ name
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='name' name='name' value='{{ params.name }}'/>
|
<input id='name' type='text' name='name' value='{{ params.name }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -39,32 +59,69 @@ name
|
||||||
{{ record.name }}
|
{{ record.name }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-districts-District?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-districts-District?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-districts-District'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new District
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-dwellings-Dwellings.html generated 2018-06-11T17:32:20.369Z by adl.to-selmer-templates.
|
||||||
<!-- File list-dwellings-Dwellings.html generated 2018-06-10T21:17:47.132Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -25,13 +42,16 @@ sub-address
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='address_id' name='address_id' value='{{ params.address_id }}'/>
|
<input id='address_id' type='text' name='address_id' value='{{ params.address_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='sub-address' name='sub-address' value='{{ params.sub-address }}'/>
|
<input id='sub-address' type='text' name='sub-address' value='{{ params.sub-address }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -48,32 +68,69 @@ sub-address
|
||||||
{{ record.sub-address }}
|
{{ record.sub-address }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-dwellings-Dwelling?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-dwellings-Dwelling?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-dwellings-Dwelling'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Dwelling
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-electors-Electors.html generated 2018-06-11T17:32:20.346Z by adl.to-selmer-templates.
|
||||||
<!-- File list-electors-Electors.html generated 2018-06-10T21:17:47.123Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -34,22 +51,25 @@ gender
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='name' name='name' value='{{ params.name }}'/>
|
<input id='name' type='text' name='name' value='{{ params.name }}'/>
|
||||||
</th>
|
</th>
|
||||||
<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>
|
||||||
<th>
|
<th>
|
||||||
<input id='phone' name='phone' value='{{ params.phone }}'/>
|
<input id='phone' type='text' name='phone' value='{{ params.phone }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='email' name='email' value='{{ params.email }}'/>
|
<input id='email' type='text' name='email' value='{{ params.email }}'/>
|
||||||
</th>
|
</th>
|
||||||
<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>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -75,32 +95,69 @@ gender
|
||||||
{{ record.gender }}
|
{{ record.gender }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-electors-Elector?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-electors-Elector?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-electors-Elector'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Elector
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-followupactions-Followupactions.html generated 2018-06-11T17:32:20.378Z by adl.to-selmer-templates.
|
||||||
<!-- File list-followupactions-Followupactions.html generated 2018-06-10T21:17:47.137Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -34,22 +51,25 @@ closed
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='request_id' name='request_id' value='{{ params.request_id }}'/>
|
<input id='request_id' type='text' name='request_id' value='{{ params.request_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='actor' name='actor' value='{{ params.actor }}'/>
|
<input id='actor' type='text' name='actor' value='{{ params.actor }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='date' name='date' value='{{ params.date }}'/>
|
<input id='date' type='date' name='date' value='{{ params.date }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='notes' name='notes' value='{{ params.notes }}'/>
|
<input id='notes' type='text' name='notes' value='{{ params.notes }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='closed' name='closed' value='{{ params.closed }}'/>
|
<input id='closed' type='text' name='closed' value='{{ params.closed }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -75,32 +95,69 @@ closed
|
||||||
{{ record.closed }}
|
{{ record.closed }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-followupactions-Followupaction?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-followupactions-Followupaction?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-followupactions-Followupaction'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Followupaction
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-issues-Issues.html generated 2018-06-11T17:32:20.377Z by adl.to-selmer-templates.
|
||||||
<!-- File list-issues-Issues.html generated 2018-06-10T21:17:47.137Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -25,13 +42,16 @@ current
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='url' name='url' value='{{ params.url }}'/>
|
<input id='url' type='text' name='url' value='{{ params.url }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='current' name='current' value='{{ params.current }}'/>
|
<input id='current' type='text' name='current' value='{{ params.current }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -48,32 +68,69 @@ current
|
||||||
{{ record.current }}
|
{{ record.current }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-issues-Issue?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-issues-Issue?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-issues-Issue'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Issue
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-roles-Roles.html generated 2018-06-11T17:32:20.354Z by adl.to-selmer-templates.
|
||||||
<!-- File list-roles-Roles.html generated 2018-06-10T21:17:47.125Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -22,10 +39,13 @@ name
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='name' name='name' value='{{ params.name }}'/>
|
<input id='name' type='text' name='name' value='{{ params.name }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -39,32 +59,69 @@ name
|
||||||
{{ record.name }}
|
{{ record.name }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-roles-Role?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-roles-Role?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-roles-Role'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Role
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-teams-Teams.html generated 2018-06-11T17:32:20.328Z by adl.to-selmer-templates.
|
||||||
<!-- File list-teams-Teams.html generated 2018-06-10T21:17:47.118Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -31,19 +48,22 @@ longitude
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='name' name='name' value='{{ params.name }}'/>
|
<input id='name' type='text' name='name' value='{{ params.name }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='district_id' name='district_id' value='{{ params.district_id }}'/>
|
<input id='district_id' type='text' name='district_id' value='{{ params.district_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='latitude' name='latitude' value='{{ params.latitude }}'/>
|
<input id='latitude' type='number' name='latitude' value='{{ params.latitude }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='longitude' name='longitude' value='{{ params.longitude }}'/>
|
<input id='longitude' type='number' name='longitude' value='{{ params.longitude }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -66,32 +86,69 @@ longitude
|
||||||
{{ record.longitude }}
|
{{ record.longitude }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-teams-Team?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-teams-Team?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-teams-Team'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Team
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
|
@ -1,7 +1,24 @@
|
||||||
{% extends "templates/base.html" %}
|
{% extends "base.html" %}
|
||||||
|
<!-- File list-visits-Visits.html generated 2018-06-11T17:32:20.324Z by adl.to-selmer-templates.
|
||||||
<!-- File list-visits-Visits.html generated 2018-06-10T21:17:47.117Z by adl.to-selmer-templates.
|
|
||||||
See [Application Description Language](https://github.com/simon-brooke/adl).-->
|
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 %}
|
{% block content %}
|
||||||
<form id='content' class='list'>
|
<form id='content' class='list'>
|
||||||
|
@ -28,16 +45,19 @@ date
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input id='id' name='id' value='{{ params.id }}'/>
|
<input id='id' type='text' name='id' value='{{ params.id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='address_id' name='address_id' value='{{ params.address_id }}'/>
|
<input id='address_id' type='text' name='address_id' value='{{ params.address_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='canvasser_id' name='canvasser_id' value='{{ params.canvasser_id }}'/>
|
<input id='canvasser_id' type='text' name='canvasser_id' value='{{ params.canvasser_id }}'/>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input id='date' name='date' value='{{ params.date }}'/>
|
<input id='date' type='date' name='date' value='{{ params.date }}'/>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<input type='submit' id='search' value='Search'/>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -57,32 +77,69 @@ date
|
||||||
{{ record.date }}
|
{{ record.date }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='form-visits-Visit?id={{ record.id}}'>
|
<a href='{{servlet-context}}/form-visits-Visit?id={{ record.id}}'>
|
||||||
View
|
View
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot/>
|
<tfoot>
|
||||||
</table>
|
|
||||||
{% if offset > 0 %}
|
|
||||||
<div class='back-link-container'>
|
<div class='back-link-container'>
|
||||||
<a href='FIXME'>
|
<input id='page' name='page' disabled='{% ifequal offset 0 %} false {% else %} true {% endifequal %}' value='Previous'/>
|
||||||
Previous
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div class='big-link-container'>
|
|
||||||
<a href='FIXME'>
|
|
||||||
Next
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class='big-link-container'>
|
<div class='big-link-container'>
|
||||||
<a href='form-visits-Visit'>
|
<input id='page' name='page' disabled='false' value='Next'/>
|
||||||
Add a new Visit
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% 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 %}
|
79
resources/templates/base-authenticated copy.html
Normal file
79
resources/templates/base-authenticated copy.html
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/yyy-common.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/yyy-site.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/spinner.css" />
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow" rel="stylesheet"/>
|
||||||
|
<title>{{title}}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% block whole-page %}
|
||||||
|
{% block top %}
|
||||||
|
<header>
|
||||||
|
<div id="nav">
|
||||||
|
<img id="nav-icon" src="img/threelines.png" alt="Menu"/>
|
||||||
|
<menu id="nav-menu" class="nav">
|
||||||
|
<li class=""><a href="index.html">Home</a></li>
|
||||||
|
<li class=""><a href="library.html">Library</a></li>
|
||||||
|
<li class=""><a href="register.html">Register</a></li>
|
||||||
|
<li class="">{% if user %}<a href="logout.html">Logout</a>
|
||||||
|
{% else %}<a href="login.html">Login</a>{% endif %}</li>
|
||||||
|
<li class=""><a href="about.html">About</a></li>
|
||||||
|
{% if user %}
|
||||||
|
<li id="user"><a href="profile">Logged in as {{user.username}}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
</menu>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1>
|
||||||
|
{{title}}
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
{% endblock %}
|
||||||
|
<div id="main-container" class="container">
|
||||||
|
<div id="big-links">
|
||||||
|
{% block big-links %}
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
<div if="#content">
|
||||||
|
{% block content %}
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
<div id="back-link-container">
|
||||||
|
<a href="javascript:history.back()" id="back-link">Back</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% block foot %}
|
||||||
|
<footer>
|
||||||
|
<div id="credits">
|
||||||
|
<div>
|
||||||
|
<img src="img/credits/ric-logo.png" width="24" height="24"/>
|
||||||
|
A project of the
|
||||||
|
<a href="https://radical.scot/">Radical Independence Campaign</a> ||
|
||||||
|
Version {{version}}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<img height="16" width="16" alt="Clojure" src="img/credits/luminus-logo.png"/>Built with <a href="http://www.luminusweb.net/">LuminusWeb</a> ||
|
||||||
|
<img height="16" width="16" alt="Clojure" src="img/credits/clojure-icon.gif"/> Powered by <a href="http://clojure.org">Clojure</a> ||
|
||||||
|
<img height="16" width="16" alt="GitHub" src="img/credits/github-logo-transparent.png"/>Find me/fork me on <a href="https://github.com/simon-brooke/smeagol">Github</a> ||
|
||||||
|
<img height="16" width="16" alt="Free Software Foundation" src="img/credits/gnu.small.png"/>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 %}
|
||||||
|
{% endblock %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
var context = "{{servlet-context}}";
|
||||||
|
var csrfToken = "{{csrf-token}}";
|
||||||
|
</script>
|
||||||
|
{% block extra-script %}
|
||||||
|
{% endblock %}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||||
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
@ -6,7 +6,8 @@
|
||||||
[youyesyet.routes.authenticated :refer [authenticated-routes]]
|
[youyesyet.routes.authenticated :refer [authenticated-routes]]
|
||||||
[youyesyet.routes.home :refer [home-routes]]
|
[youyesyet.routes.home :refer [home-routes]]
|
||||||
[youyesyet.routes.oauth :refer [oauth-routes]]
|
[youyesyet.routes.oauth :refer [oauth-routes]]
|
||||||
[youyesyet.routes.auto-json-routes :refer [auto-rest-routes]]
|
[youyesyet.routes.auto-json :refer [auto-rest-routes]]
|
||||||
|
[youyesyet.routes.auto :refer [auto-selmer-routes]]
|
||||||
[compojure.route :as route]
|
[compojure.route :as route]
|
||||||
[youyesyet.env :refer [defaults]]
|
[youyesyet.env :refer [defaults]]
|
||||||
[mount.core :as mount]
|
[mount.core :as mount]
|
||||||
|
@ -67,6 +68,9 @@
|
||||||
(-> #'auto-rest-routes
|
(-> #'auto-rest-routes
|
||||||
(wrap-routes middleware/wrap-csrf)
|
(wrap-routes middleware/wrap-csrf)
|
||||||
(wrap-routes middleware/wrap-formats))
|
(wrap-routes middleware/wrap-formats))
|
||||||
|
(-> #'auto-selmer-routes
|
||||||
|
(wrap-routes middleware/wrap-csrf)
|
||||||
|
(wrap-routes middleware/wrap-formats))
|
||||||
#'oauth-routes
|
#'oauth-routes
|
||||||
#'authenticated-routes
|
#'authenticated-routes
|
||||||
(route/not-found
|
(route/not-found
|
||||||
|
@ -75,5 +79,5 @@
|
||||||
:title "page not found"})))))
|
:title "page not found"})))))
|
||||||
|
|
||||||
|
|
||||||
(def app #'app-routes)
|
(def app ;; #'app-routes)
|
||||||
;;(middleware/wrap-base #'app-routes))
|
(middleware/wrap-base #'app-routes))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
(ns
|
(ns
|
||||||
youyesyet.routes.auto
|
youyesyet.routes.auto
|
||||||
"User interface routes for Youyesyet auto-generated by [Application Description Language framework](https://github.com/simon-brooke/adl) at 20180610T214425.631Z"
|
"User interface routes for Youyesyet auto-generated by [Application Description Language framework](https://github.com/simon-brooke/adl) at 20180611T180322.460Z"
|
||||||
(:require
|
(:require
|
||||||
[noir.response :as nresponse]
|
[noir.response :as nresponse]
|
||||||
[noir.util.route :as route]
|
[noir.util.route :as route]
|
||||||
|
@ -8,6 +8,7 @@
|
||||||
[ring.util.http-response :as response]
|
[ring.util.http-response :as response]
|
||||||
[clojure.java.io :as io]
|
[clojure.java.io :as io]
|
||||||
[hugsql.core :as hugsql]
|
[hugsql.core :as hugsql]
|
||||||
|
[youyesyet.layout :as l]
|
||||||
[youyesyet.db.core :as db]
|
[youyesyet.db.core :as db]
|
||||||
[youyesyet.routes.manual :as m]))
|
[youyesyet.routes.manual :as m]))
|
||||||
|
|
||||||
|
@ -19,13 +20,13 @@
|
||||||
n
|
n
|
||||||
(str "auto/" n)))
|
(str "auto/" n)))
|
||||||
|
|
||||||
(def resolve-template (memoise raw-resolve-template))
|
(def resolve-template (memoize raw-resolve-template))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
index
|
index
|
||||||
[r]
|
[r]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "application-index")
|
(resolve-template "application-index.html")
|
||||||
{:title "Administrative menu"}))
|
{:title "Administrative menu"}))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
|
@ -33,16 +34,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-electors-Electors.html")
|
(resolve-template "list-electors-Electors.html")
|
||||||
{:title "Electors", :params p, :records (db/search-elector p)})))
|
{:title "Electors",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-elector p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-electors-Elector
|
form-electors-Elector
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-electors-Elector.html")
|
(resolve-template "form-electors-Elector.html")
|
||||||
{:title "Elector", :params p, :record (db/get-elector p)})))
|
{:title "Elector", :params p, :record (db/get-elector p)})))
|
||||||
|
|
||||||
|
@ -51,16 +54,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-genders-Genders.html")
|
(resolve-template "list-genders-Genders.html")
|
||||||
{:title "Genders", :params p, :records (db/search-gender p)})))
|
{:title "Genders",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-gender p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-genders-Gender
|
form-genders-Gender
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-genders-Gender.html")
|
(resolve-template "form-genders-Gender.html")
|
||||||
{:title "Gender", :params p, :record (db/get-gender p)})))
|
{:title "Gender", :params p, :record (db/get-gender p)})))
|
||||||
|
|
||||||
|
@ -69,16 +74,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-dwellings-Dwellings.html")
|
(resolve-template "list-dwellings-Dwellings.html")
|
||||||
{:title "Dwellings", :params p, :records (db/search-dwelling p)})))
|
{:title "Dwellings",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-dwelling p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-dwellings-Dwelling
|
form-dwellings-Dwelling
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-dwellings-Dwelling.html")
|
(resolve-template "form-dwellings-Dwelling.html")
|
||||||
{:title "Dwelling", :params p, :record (db/get-dwelling p)})))
|
{:title "Dwelling", :params p, :record (db/get-dwelling p)})))
|
||||||
|
|
||||||
|
@ -87,16 +94,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-addresses-Addresses.html")
|
(resolve-template "list-addresses-Addresses.html")
|
||||||
{:title "Addresses", :params p, :records (db/search-address p)})))
|
{:title "Addresses",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-address p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-addresses-Address
|
form-addresses-Address
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-addresses-Address.html")
|
(resolve-template "form-addresses-Address.html")
|
||||||
{:title "Address", :params p, :record (db/get-address p)})))
|
{:title "Address", :params p, :record (db/get-address p)})))
|
||||||
|
|
||||||
|
@ -105,16 +114,16 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-visits-Visits.html")
|
(resolve-template "list-visits-Visits.html")
|
||||||
{:title "Visits", :params p, :records (db/search-visit p)})))
|
{:title "Visits", :params p, :records (db/search-strings-visit p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-visits-Visit
|
form-visits-Visit
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-visits-Visit.html")
|
(resolve-template "form-visits-Visit.html")
|
||||||
{:title "Visit", :params p, :record (db/get-visit p)})))
|
{:title "Visit", :params p, :record (db/get-visit p)})))
|
||||||
|
|
||||||
|
@ -123,18 +132,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-authorities-Authorities.html")
|
(resolve-template "list-authorities-Authorities.html")
|
||||||
{:title "Authorities",
|
{:title "Authorities",
|
||||||
:params p,
|
:params p,
|
||||||
:records (db/search-authority p)})))
|
:records (db/search-strings-authority p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-authorities-Authority
|
form-authorities-Authority
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-authorities-Authority.html")
|
(resolve-template "form-authorities-Authority.html")
|
||||||
{:title "Authority", :params p, :record (db/get-authority p)})))
|
{:title "Authority", :params p, :record (db/get-authority p)})))
|
||||||
|
|
||||||
|
@ -143,16 +152,16 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-issues-Issues.html")
|
(resolve-template "list-issues-Issues.html")
|
||||||
{:title "Issues", :params p, :records (db/search-issue p)})))
|
{:title "Issues", :params p, :records (db/search-strings-issue p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-issues-Issue
|
form-issues-Issue
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-issues-Issue.html")
|
(resolve-template "form-issues-Issue.html")
|
||||||
{:title "Issue", :params p, :record (db/get-issue p)})))
|
{:title "Issue", :params p, :record (db/get-issue p)})))
|
||||||
|
|
||||||
|
@ -161,16 +170,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-intentions-Intentions.html")
|
(resolve-template "list-intentions-Intentions.html")
|
||||||
{:title "Intentions", :params p, :records (db/search-intention p)})))
|
{:title "Intentions",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-intention p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-intentions-Intention
|
form-intentions-Intention
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-intentions-Intention.html")
|
(resolve-template "form-intentions-Intention.html")
|
||||||
{:title "Intention", :params p, :record (db/get-intention p)})))
|
{:title "Intention", :params p, :record (db/get-intention p)})))
|
||||||
|
|
||||||
|
@ -179,16 +190,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-canvassers-Canvassers.html")
|
(resolve-template "list-canvassers-Canvassers.html")
|
||||||
{:title "Canvassers", :params p, :records (db/search-canvasser p)})))
|
{:title "Canvassers",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-canvasser p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-canvassers-Canvasser
|
form-canvassers-Canvasser
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-canvassers-Canvasser.html")
|
(resolve-template "form-canvassers-Canvasser.html")
|
||||||
{:title "Canvasser", :params p, :record (db/get-canvasser p)})))
|
{:title "Canvasser", :params p, :record (db/get-canvasser p)})))
|
||||||
|
|
||||||
|
@ -197,18 +210,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-followuprequests-Followuprequests.html")
|
(resolve-template "list-followuprequests-Followuprequests.html")
|
||||||
{:title "Followuprequests",
|
{:title "Followuprequests",
|
||||||
:params p,
|
:params p,
|
||||||
:records (db/search-followuprequest p)})))
|
:records (db/search-strings-followuprequest p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-followuprequests-Followuprequest
|
form-followuprequests-Followuprequest
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-followuprequests-Followuprequest.html")
|
(resolve-template "form-followuprequests-Followuprequest.html")
|
||||||
{:title "Followuprequest",
|
{:title "Followuprequest",
|
||||||
:params p,
|
:params p,
|
||||||
|
@ -219,16 +232,16 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-roles-Roles.html")
|
(resolve-template "list-roles-Roles.html")
|
||||||
{:title "Roles", :params p, :records (db/search-role p)})))
|
{:title "Roles", :params p, :records (db/search-strings-role p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-roles-Role
|
form-roles-Role
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-roles-Role.html")
|
(resolve-template "form-roles-Role.html")
|
||||||
{:title "Role", :params p, :record (db/get-role p)})))
|
{:title "Role", :params p, :record (db/get-role p)})))
|
||||||
|
|
||||||
|
@ -237,16 +250,16 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-teams-Teams.html")
|
(resolve-template "list-teams-Teams.html")
|
||||||
{:title "Teams", :params p, :records (db/search-team p)})))
|
{:title "Teams", :params p, :records (db/search-strings-team p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-teams-Team
|
form-teams-Team
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-teams-Team.html")
|
(resolve-template "form-teams-Team.html")
|
||||||
{:title "Team", :params p, :record (db/get-team p)})))
|
{:title "Team", :params p, :record (db/get-team p)})))
|
||||||
|
|
||||||
|
@ -255,16 +268,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-districts-Districts.html")
|
(resolve-template "list-districts-Districts.html")
|
||||||
{:title "Districts", :params p, :records (db/search-district p)})))
|
{:title "Districts",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-district p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-districts-District
|
form-districts-District
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-districts-District.html")
|
(resolve-template "form-districts-District.html")
|
||||||
{:title "District", :params p, :record (db/get-district p)})))
|
{:title "District", :params p, :record (db/get-district p)})))
|
||||||
|
|
||||||
|
@ -273,18 +288,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-followupactions-Followupactions.html")
|
(resolve-template "list-followupactions-Followupactions.html")
|
||||||
{:title "Followupactions",
|
{:title "Followupactions",
|
||||||
:params p,
|
:params p,
|
||||||
:records (db/search-followupaction p)})))
|
:records (db/search-strings-followupaction p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-followupactions-Followupaction
|
form-followupactions-Followupaction
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-followupactions-Followupaction.html")
|
(resolve-template "form-followupactions-Followupaction.html")
|
||||||
{:title "Followupaction",
|
{:title "Followupaction",
|
||||||
:params p,
|
:params p,
|
||||||
|
@ -295,16 +310,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-options-Options.html")
|
(resolve-template "list-options-Options.html")
|
||||||
{:title "Options", :params p, :records (db/search-option p)})))
|
{:title "Options",
|
||||||
|
:params p,
|
||||||
|
:records (db/search-strings-option p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-options-Option
|
form-options-Option
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-options-Option.html")
|
(resolve-template "form-options-Option.html")
|
||||||
{:title "Option", :params p, :record (db/get-option p)})))
|
{:title "Option", :params p, :record (db/get-option p)})))
|
||||||
|
|
||||||
|
@ -313,18 +330,18 @@
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "list-followupmethods-Followupmethods.html")
|
(resolve-template "list-followupmethods-Followupmethods.html")
|
||||||
{:title "Followupmethods",
|
{:title "Followupmethods",
|
||||||
:params p,
|
:params p,
|
||||||
:records (db/search-followupmethod p)})))
|
:records (db/search-strings-followupmethod p)})))
|
||||||
|
|
||||||
(defn
|
(defn
|
||||||
form-followupmethods-Followupmethod
|
form-followupmethods-Followupmethod
|
||||||
[r]
|
[r]
|
||||||
(let
|
(let
|
||||||
[p (:form-params r)]
|
[p (:form-params r)]
|
||||||
(layout/render
|
(l/render
|
||||||
(resolve-template "form-followupmethods-Followupmethod.html")
|
(resolve-template "form-followupmethods-Followupmethod.html")
|
||||||
{:title "Followupmethod",
|
{:title "Followupmethod",
|
||||||
:params p,
|
:params p,
|
||||||
|
@ -334,14 +351,21 @@
|
||||||
raw-resolve-handler
|
raw-resolve-handler
|
||||||
"Prefer the manually-written version of the handler with name `n`, if it exists, to the automatically generated one"
|
"Prefer the manually-written version of the handler with name `n`, if it exists, to the automatically generated one"
|
||||||
[n]
|
[n]
|
||||||
(let
|
(try
|
||||||
[s (symbol (str "m." n))]
|
(eval (symbol (str "youyesyet" ".routes.manual/" n)))
|
||||||
(if (bound? s) (eval s) (eval (symbol n)))))
|
(catch
|
||||||
|
Exception
|
||||||
|
_
|
||||||
|
(eval (symbol (str "youyesyet" ".routes.auto/" n))))))
|
||||||
|
|
||||||
(def resolve-handler (memoize raw-resolve-handler))
|
(def resolve-handler (memoize raw-resolve-handler))
|
||||||
|
|
||||||
(defroutes
|
(defroutes
|
||||||
auto-selmer-routes
|
auto-selmer-routes
|
||||||
|
(GET
|
||||||
|
"/index"
|
||||||
|
request
|
||||||
|
(route/restricted (apply (resolve-handler "index") (list request))))
|
||||||
(GET
|
(GET
|
||||||
"/form-addresses-Address"
|
"/form-addresses-Address"
|
||||||
request
|
request
|
||||||
|
|
1653
src/clj/youyesyet/routes/auto_json.clj
Normal file
1653
src/clj/youyesyet/routes/auto_json.clj
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
(ns
|
(ns
|
||||||
youyesyet.routes.auto
|
youyesyet.routes.manual
|
||||||
"Manual overrides for auto-generated routes"
|
"Manual overrides for auto-generated routes"
|
||||||
(:require
|
(:require
|
||||||
[noir.response :as nresponse]
|
[noir.response :as nresponse]
|
||||||
|
|
|
@ -323,6 +323,9 @@
|
||||||
<property required="true" type="string" name="name" column="name" size="64" distinct="user" immutable="true">
|
<property required="true" type="string" name="name" column="name" size="64" distinct="user" immutable="true">
|
||||||
<prompt prompt="name" locale="en-GB"/>
|
<prompt prompt="name" locale="en-GB"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property type="link" entity="canvassers" name="members">
|
||||||
|
<prompt prompt="Members" locale="en-GB"/>
|
||||||
|
</property>
|
||||||
<list name="Roles" properties="all"/>
|
<list name="Roles" properties="all"/>
|
||||||
<form name="Role" properties="all"/>
|
<form name="Role" properties="all"/>
|
||||||
</entity>
|
</entity>
|
||||||
|
|
|
@ -414,8 +414,11 @@
|
||||||
<property required="true" type="string" name="name" column="name" size="64" distinct="user" immutable="true">
|
<property required="true" type="string" name="name" column="name" size="64" distinct="user" immutable="true">
|
||||||
<prompt prompt="name" locale="en-GB"/>
|
<prompt prompt="name" locale="en-GB"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property type="link" entity="canvassers" name="members">
|
||||||
|
<prompt prompt="Members" locale="en-GB"/>
|
||||||
|
</property>
|
||||||
<list properties="listed" name="Roles"><field property="id"><prompt prompt="id" locale="en-GB"/></field><field property="name"><prompt prompt="name" locale="en-GB"/></field></list>
|
<list properties="listed" name="Roles"><field property="id"><prompt prompt="id" locale="en-GB"/></field><field property="name"><prompt prompt="name" locale="en-GB"/></field></list>
|
||||||
<form properties="listed" name="Role"><field property="id"><prompt prompt="id" locale="en-GB"/></field><field property="name"><prompt prompt="name" locale="en-GB"/></field></form>
|
<form properties="listed" name="Role"><field property="id"><prompt prompt="id" locale="en-GB"/></field><field property="name"><prompt prompt="name" locale="en-GB"/></field><field property="members"><prompt prompt="Members" locale="en-GB"/></field></form>
|
||||||
</entity>
|
</entity>
|
||||||
<!--
|
<!--
|
||||||
entity teams already has a key - not generating one
|
entity teams already has a key - not generating one
|
||||||
|
|
Loading…
Reference in a new issue