mirror of
https://github.com/thelounge/thelounge
synced 2024-11-24 04:53:09 +00:00
20 lines
510 B
Smarty
20 lines
510 B
Smarty
{{#if users.length}}
|
|
<div class="count">
|
|
<input class="search" placeholder="{{users users.length}}" aria-label="Search among the user list">
|
|
</div>
|
|
{{/if}}
|
|
<div class="names">
|
|
<div class="inner">
|
|
{{#diff "reset"}}{{/diff}}
|
|
{{#each users}}
|
|
{{#diff mode}}
|
|
{{#unless @first}}
|
|
</div>
|
|
{{/unless}}
|
|
<div class="user-mode {{modes mode}}">
|
|
{{/diff}}
|
|
<button class="user" style="color: #{{stringcolor name}}" data-name="{{name}}">{{mode}}{{name}}</button>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
</div>
|