blob: ee988abc7fdd856c33ee9117643adf2b975948e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<nav class="subnav">
sort by <a href="?sort=date">join 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&initial=[[- letter ]]">[[- letter.toUpperCase() ]]</a>
[[ }) ]]
</span>
</nav>
[[ if (! users.length || opt.error) { ]]
<div class="error">
[[- opt.error ]]
</div>
[[ } ]]
<table id="users">
[[ users.forEach(function(user){ ]]
<tr>
<td>
<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>
[[- user.displayName ]]
</td>
<td class="editLinks">
<a href="/profile/[[- user.username ]]">[view profile]</a>
<a href="/staff/users/[[- user.username ]]/media">[view media]</a>
<a href="https://vvalls.recurly.com/accounts/[[- user._id ]]">[recurly]</a>
</td>
<td>
[[- user.last_seen ]]
</td>
</tr>
[[ }) ]]
</table>
|