wpfw_ewei_shopv2/template/web_v3/perm/log.html
2023-02-14 19:57:32 +08:00

77 lines
3.2 KiB
HTML

{template '_header'}
<div class="page-header">
<span>当前位置:<span class="text-primary">操作日志 </span></span>
</div>
<div class="page-content">
<form action="./index.php" method="get" class="form-horizontal" plugins="form">
<input type="hidden" name="c" value="site" />
<input type="hidden" name="a" value="entry" />
<input type="hidden" name="m" value="{EWEI_SHOP_V2_MODULE_NAME}" />
<input type="hidden" name="do" value="web" />
<input type="hidden" name="r" value="perm.log" />
<div class="page-toolbar">
<div class="col-sm-12pull-right">
<div class='input-group input-group-sm' style='float:left;' >
{php echo tpl_daterange('time', array('placeholder'=>'操作时间'),true);}
</div>
<div class="input-group">
<div class="input-group-select">
<select name='logtype' class='form-control input-sm select-md select2' style="width:250px;" >
<option value=''>操作类型</option>
{loop $types $t}
<option value='{$t['value']}' {if $_GPC['logtype']==$t['value']}selected{/if}>{$t['text']}</option>
{/loop}
</select>
</div>
<input type="text" class=" form-control" name='keyword' value="{$_GPC['keyword']}" placeholder="可搜索操作员用户名/操作内容"> <span class="input-group-btn">
<button class="btn btn-primary" type="submit"> 搜索</button> </span>
</div>
</div>
</div>
</form>
<table class="table table-hover table-responsive">
<thead>
<tr>
<th style='width:100px;'>ID</th>
<th style='width:150px;'>操作员</th>
<th style='width:300px;' >类型</th>
<th>操作内容</th>
<th style='width:110px;'>操作IP</th>
<th style='width:100px;'>操作时间</th>
</tr>
</thead>
<tbody>
{loop $list $row}
<tr data-toggle='popover' data-html='true' data-placement='top' data-trigger='hover' data-content='{$row['op']}'>
<td>{$row['id']}</td>
<td>{$row['username']}</td>
<td>{$row['name']}</td>
<td><span>{$row['op']}</span></td>
<td>{$row['ip']}</td>
<td>{php echo date('Y-m-d', $row['createtime'])}<br/>{php echo date('H:i:s', $row['createtime'])}</td>
</tr>
{/loop}
</tbody>
<tfoot>
<tr>
<td colspan="6" style="text-align: right">{$pager}</td>
</tr>
</tfoot>
</table>
</form>
</div>
{template '_footer'}