87 lines
3.4 KiB
HTML
87 lines
3.4 KiB
HTML
{template '_header'}
|
|
<div class="page-heading">
|
|
<h2>操作日志 <small>总数: <span class='text-danger'>{$total}</span></small></h2>
|
|
</div>
|
|
|
|
|
|
<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 row m-b-sm m-t-sm">
|
|
<div class="col-sm-1">
|
|
|
|
<div class="input-group-btn">
|
|
<button class="btn btn-default btn-sm" type="button" data-toggle='refresh'><i class='fa fa-refresh'></i></button>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-11 pull-right">
|
|
<div class='input-group input-group-sm' style='float:left;' >
|
|
{php echo tpl_daterange('time', array('placeholder'=>'操作时间'),true);}
|
|
</div>
|
|
|
|
<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 class="input-group">
|
|
<input type="text" class="input-sm form-control" name='keyword' value="{$_GPC['keyword']}" placeholder="可搜索操作员用户名/操作内容"> <span class="input-group-btn">
|
|
|
|
<button class="btn btn-sm btn-primary" type="submit"> 搜索</button> </span>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
|
|
<table class="table table-hover table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th style='width:50px;'>ID</th>
|
|
<th style='width:80px;'>操作员</th>
|
|
<th style='width:200px;' >类型</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>
|
|
</table>
|
|
{$pager}
|
|
|
|
|
|
|
|
</div>
|
|
</form>
|
|
|
|
{template '_footer'}
|
|
|