Shuo/client/views/user.tpl

21 lines
449 B
Smarty
Raw Permalink Normal View History

2014-08-25 23:13:47 +00:00
{{#if users.length}}
<div class="count">
2014-09-10 16:50:59 +00:00
<input class="search" placeholder="{{users users.length}}">
2014-08-25 23:13:47 +00:00
</div>
{{/if}}
<div class="names">
2014-09-30 18:00:23 +00:00
<div class="inner">
2014-10-04 19:47:27 +00:00
{{#diff "reset"}}{{/diff}}
2014-09-30 18:00:23 +00:00
{{#each users}}
2014-10-04 19:47:27 +00:00
{{#diff mode}}
{{#unless @first}}
</div>
{{/unless}}
<div class="user-mode {{modes mode}}">
{{/diff}}
<button class="user" style="color: #{{stringcolor name}}">{{mode}}{{name}}</button>
2014-09-30 18:00:23 +00:00
{{/each}}
2014-10-04 19:47:27 +00:00
</div>
2014-09-30 18:00:23 +00:00
</div>
2014-08-25 23:13:47 +00:00
</div>