nodeclub/views/user/top100.html
Kenny Zhao c7f4530af7 在topic页面增加用户关注自动判断
还有一些小更新,如更改用户排行榜样式,前20位增加不同显示
2012-03-13 17:21:49 +08:00

31 lines
691 B
HTML

<%- partial('sidebar') %>
<div id='content'>
<div class='panel'>
<div class='header'>
<ul class='breadcrumb'>
<li><a href='/'>主页</a><span class='divider'>/</span></li>
<li class='active'>Top100 积分榜</li>
</ul>
</div>
<div class='inner'>
<% if(locals.users && users.length > 0){ %>
<table class='table table-condensed table-striped'>
<thead>
<th>#</th>
<th>用户名</th>
<th>粉丝数</th>
<th>文章数</th>
<th>积分</th>
</thead>
<tbody>
<%- partial('user/top100_user',{collection:users,as:'user'}) %>
</tbody>
</table>
<% }else{ %>
<p>还没有用户</p>
<% } %>
</div>
</div>
</div>