summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-05-11 13:43:54 +0200
committerLeif Johansson <leifj@sunet.se>2012-05-11 13:43:54 +0200
commitfc0d16f8819a1107e81f977504a1fbd48d746a4f (patch)
tree0938e8a0c2b25d04382fc1d6c5aad60333ef78b8 /templates
parent04a6491e5d83b8cb33223122b9868c14ebbb7ce4 (diff)
consumer code
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