#47, #48, #49, #50: MY MONSTER IT LIVES

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:
Simon Brooke 2018-06-11 19:07:38 +01:00
parent 98695e41dc
commit bbf6daf6ca
31 changed files with 3430 additions and 1375 deletions

View file

@ -1,7 +1,24 @@
{% extends "templates/base.html" %}
<!-- File form-roles-Role.html generated 2018-06-10T21:17:47.125Z by adl.to-selmer-templates.
{% extends "base.html" %}
<!-- File form-roles-Role.html generated 2018-06-11T17:32:20.351Z by adl.to-selmer-templates.
See [Application Description Language](https://github.com/simon-brooke/adl).-->
{% block head %}
<html:meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
<html:meta content='width=device-width, initial-scale=1' name='viewport'/>
<html:link href='css/yyy-common.css' type='text/css' rel='stylesheet'/>
<html:link href='css/yyy-site.css' type='text/css' rel='stylesheet'/>
<html:link href='css/spinner.css' type='text/css' rel='stylesheet'/>
<html:link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Archivo+Black|Archivo+Narrow'/>
<html:title>
{{site-title}}: {{title}}
</html:title>
{% endblock %}
{% block content %}
<div id='content' class='edit'>
@ -64,6 +81,25 @@ name
{% endifreadable %}
{% endifwritable %}
</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'>
<label for='save-button' class='action-safe'>
To save this roles record
@ -80,3 +116,50 @@ To delete this roles record
</div>
{% 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 %}