From fd66853a394585f2edaf98f4705b6cf9d48a2e69 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Thu, 8 Sep 2016 15:07:43 -0500 Subject: [PATCH] Add search UI for users. --- templates/users/list.html | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/templates/users/list.html b/templates/users/list.html index 11cfe83..f53722c 100644 --- a/templates/users/list.html +++ b/templates/users/list.html @@ -5,22 +5,39 @@ {% endblock %} {% block content %} - {% for user in users %} -
- {{ user.id }} - {{ user.username }} - {% if enabled_actions %} -
- {% endif %} -
+
+
+ + + +
- {% endfor %} +
-

+

+ + + + + + + + + {% for user in users %} + + + + + {% endfor %} + +
#Username
{{ user.id }}{{ user.username }}
+
+ +
{% if page_number == 1 %}Prev{% else %} Prev{% endif %} / Page {{ page_number }} / {% if last_page %}Next{% else %} Next{% endif %} -

+
{% endblock %}