summaryrefslogtreecommitdiff
path: root/views/staff/_users.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/_users.ejs')
-rw-r--r--views/staff/_users.ejs13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/staff/_users.ejs b/views/staff/_users.ejs
index 46811b6..1af47aa 100644
--- a/views/staff/_users.ejs
+++ b/views/staff/_users.ejs
@@ -1,3 +1,12 @@
+<nav class="subnav">
+ sort by <a href="?sort=date">date</a> ... <a href="?sort=last_seen">recent</a> ... <a href="?sort=name">name</a> ... jump to a letter:
+ <span class="alphabet">
+ [[ "abcdefghijklmnopqrstuvwxyz".split("").forEach(function(letter){ ]]
+ <a href="?sort=name&letter=[[- letter ]]">[[- letter.toUpperCase() ]]</a>
+ [[ }) ]]
+ </span>
+</nav>
+
<table id="users">
[[ users.forEach(function(user){ ]]
<tr>
@@ -5,6 +14,10 @@
<a href="/staff/users/[[- user.username ]]"><div style="background-image:url([[- user.photo ]])" class="avatar"></div></a>
</td>
<td>
+ [[- user.plan_type ]]
+ [[- user.last_charged ]]
+ </td>
+ <td>
<a href="/staff/users/[[- user.username ]]">[[- user.username ]]</a>
</td>
<td>