szurubooru/client/html/users_page.tpl

18 lines
715 B
Smarty
Raw Normal View History

2016-04-10 22:13:01 +02:00
<div class='user-list'>
<ul><!--
--><% _.each(ctx.results, user => { %><!--
2016-04-10 22:13:01 +02:00
--><li>
<div class='wrapper'>
<a class='image' href='/user/<%= user.name %>'><%= ctx.makeThumbnail(user.avatarUrl) %></a>
2016-04-10 22:13:01 +02:00
<div class='details'>
<a href='/user/<%= user.name %>'><%= user.name %></a><br/>
Registered: <%= ctx.makeRelativeTime(user.creationTime) %><br/>
Last seen: <%= ctx.makeRelativeTime(user.lastLoginTime) %>
2016-04-10 22:13:01 +02:00
</div>
</div>
</li><!--
--><% }) %><!--
--><%= ctx.makeFlexboxAlign() %><!--
2016-04-10 22:13:01 +02:00
--></ul>
</div>