summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/apps/consumer/edit.html3
-rw-r--r--templates/apps/consumer/list.html18
2 files changed, 21 insertions, 0 deletions
diff --git a/templates/apps/consumer/edit.html b/templates/apps/consumer/edit.html
new file mode 100644
index 0000000..a2e1b3a
--- /dev/null
+++ b/templates/apps/consumer/edit.html
@@ -0,0 +1,3 @@
+{% extends "edit.html" %}
+{% block widgets %}
+{% endblock %} \ No newline at end of file
diff --git a/templates/apps/consumer/list.html b/templates/apps/consumer/list.html
new file mode 100644
index 0000000..8efeb42
--- /dev/null
+++ b/templates/apps/consumer/list.html
@@ -0,0 +1,18 @@
+{% block content %}
+<div id="acl" style="margin-bottom: 20px;">
+ {% for c in consumers %}
+ <div id="{{c.id}}">
+ <h3 class="listheader">{{c}}</h3>
+ <div>
+ {{c.consumer_provider.description}}
+ </div>
+ </div>
+ {% endfor %}
+</div>
+<ul class="ilist">
+ <li class="button"><a href="/consumer/{{name.id}}/add">Add Consumer</a></li>
+ {% if name %}
+ <li class="button right"><input type="button" onClick="document.location='{{name.url}}'" value="Cancel"/></li>
+ {% endif %}
+</ul>
+{% endblock %} \ No newline at end of file