83 lines
4.2 KiB
HTML
83 lines
4.2 KiB
HTML
<include file="Inc:header"/>
|
||
<style>
|
||
|
||
.breadcrumb a{padding: 0px 12px 0px 10px;display: inline-block;background-image: url(/Public/Admin/img/breadcrumb.png);background-position: center right;background-repeat: no-repeat;font-size: 14px;color: #666666;}
|
||
.breadcrumb a:last-child{background: none; color: green;}
|
||
td div{ overflow-x:auto; height:30px; line-height: 30px;}
|
||
</style>
|
||
<div class="container-fluid">
|
||
<div class="main_head">
|
||
<div class="main_h1" style="width:10%;"><h1>{$pagetitle}</h1></div>
|
||
<div class="main_add" style="width:90%;">
|
||
<form action="__ACTION__" method="get">
|
||
<label>时间:
|
||
<input name="start_time" value="{$_GET[start_time]}" autocomplete="off" class="span2" onFocus="WdatePicker()" style="width:80px;">
|
||
-<input name="end_time" value="{$_GET[start_time]}" autocomplete="off" class="span2" onFocus="WdatePicker()" style="width:80px;">
|
||
</label>
|
||
<label>
|
||
<select name="type" style="width:100px;">
|
||
<option value="">操作类型</option>
|
||
<foreach name="typeInc" key="k" item="v">
|
||
<option value="{$k}" {$_GET[type]==$k?'selected':''}>{$v}</option>
|
||
</foreach>
|
||
</select>
|
||
</label>
|
||
<label>表名:<input name="table_name" value="{$_GET[table_name]}" placeholder="搜索表名" class="span1" style="width:80px;"></label>
|
||
<label>主键ID:<input name="primary_key" value="{$_GET[primary_key]}" placeholder="主键ID" class="span1" style="width:80px;"></label>
|
||
<label>用户名:<input name="username" value="{$_GET[username]}" placeholder="用户名" class="span1" style="width:80px;"></label>
|
||
<button class="btn btn-inverse">搜索</button>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<div style="text-align:right; float:right"></div>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="widget-box">
|
||
<div class="widget-content nopadding">
|
||
<form method="post" action="__SELF__" onsubmit="return save_form(this,function(){window.history.go(0)});" class="modelIndex">
|
||
<table class="table table-bordered table-striped">
|
||
<thead>
|
||
<tr>
|
||
<th width="3%">ID</th>
|
||
<th style="width:8%">用户</th>
|
||
<th style="text-align: left;width:20%">操作对象</th>
|
||
<th style="width:8%">操作类型</th>
|
||
<th style="width:8%">数据表</th>
|
||
<th style="width:6%">主键(ID)</th>
|
||
<th style="width:10%">时间</th>
|
||
<th style="width:6%">更多</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<foreach name="data" item="v" >
|
||
<tr>
|
||
<td style="text-align: center;">{$v.id}</td>
|
||
<td style="text-align: center;">{$v.username}</td>
|
||
<td class="breadcrumb ">{$v.nodestr}</td>
|
||
<td class="center"><span class="badge badge-info">{$typeInc[$v[type]]}</span></td>
|
||
<td class="center">{$v.table_name}</td>
|
||
<td class="center"><span class="badge badge-success">{$v.primary_key}</span></td>
|
||
<td class="center">{:date("Y-m-d H:i:s",$v[addtime])}</td>
|
||
<td class="center"><a href="{:U('detail',array('id'=>$v[id]))}" class="btn btn-primary btn-mini iframe">查看</a> </td>
|
||
</tr>
|
||
</foreach>
|
||
|
||
</tbody>
|
||
</table>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="widget-bottom">
|
||
<a class="btn btn-success ajax_del" href="{:U('clearLog')}">清空半年前日志</a>
|
||
|
||
</div>
|
||
<div class="pagination alternate">
|
||
<ul>{$listpage}</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<include file="Inc/footer" noiframeauto="true" noautotitle="true"/>
|