diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-02-02 17:53:16 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-02-02 17:53:16 -0500 |
| commit | ca838d172cbd7fca1f2cba3bb1f095821710920a (patch) | |
| tree | 7b1f288281f265ef88bebdabed3e5747ccae61dc /views/staff/_users.ejs | |
| parent | 6a4e4d30d5428fd0e629081d6a214e9a618ab52f (diff) | |
userlist sort
Diffstat (limited to 'views/staff/_users.ejs')
| -rw-r--r-- | views/staff/_users.ejs | 13 |
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> |
