test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1.2 KiB

<div class="clearfix user-browser">
<div class="">
<div class="search-box ">
<div class="search-form">
<div class="input-group">
<input id="keyword" type="text" class="form-control" value="{$_GPC['keyword']}" placeholder="请输入用户名"/>
<div class="input-group-btn">
<button class="btn btn-default" onclick="{$callback}.pIndex=1;{$callback}.query();"><i class="fa fa-search"></i></button>
</div>
</div>
</div>
</div>
<table class="table we7-table" style="min-width:568px;">
<thead>
<tr>
<th style="width: 100px;">用户名</th>
<th style="width: 100px;">说明</th>
<th style="width: 50px;">操作</th>
</tr>
</thead>
<tbody>
{loop $list $row}
<tr>
<td><label for="chk_user_{$row['uid']}" style="font-weight:normal;">{$row['username']}</label></td>
<td title="{$row['remark']}">{php echo empty($row['remark']) ? '无' : cutstr($row['remark'], 13, '.')}</td>
<td><a href="javascript:;" class="color-default {if in_array($row['uid'], $uidArr)}btn-primary{else}js-btn-select{/if}" js-uid="{$row['uid']}" onclick="$(this).toggleClass('btn-primary')">选取</a></td>
</tr>
{/loop}
</tbody>
</table>
{$pager}
</div>
</div>