Dead simple user list.
[zzz-spline-users.git] / spline / plugins / users / templates / users / list.mako
diff --git a/spline/plugins/users/templates/users/list.mako b/spline/plugins/users/templates/users/list.mako
new file mode 100644 (file)
index 0000000..fc25241
--- /dev/null
@@ -0,0 +1,16 @@
+<%inherit file="/base.mako" />
+<%namespace name="userlib" file="/users/lib.mako" />
+
+<%def name="title()">Users</%def>
+
+<h1>Users</h1>
+
+<ul class="classic-list">
+    % for user in c.users:
+    <li>
+        <a href="${url(controller='users', action='profile', id=user.id, name=user.name)}">
+            ${userlib.color_bar(user)} ${user.name}
+        </a>
+    </li>
+    % endfor
+</ul>