logAdminList.html
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="zh">
#@header()
<body>
<div>
<ol class="breadcrumb">
<li>
<a>日志管理</a>
</li>
<li>
<a style="color: gray;">/</a>
</li>
<li class="active">后台日志列表</li>
</ol>
<div style="margin: 10px;">
<table class="table table-bordered table-advance table-hover">
<thead>
<tr>
<th><input id="checkboxAll" value="" type="checkbox" /></th>
<th>用户账号</th>
<th>用户角色</th>
<th>真实姓名</th>
<th>动作</th>
<th>时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
#for(adminLog : dataList)
<tr>
<td><input id="checkbox_#(adminLog.id)" value="#(adminLog.id)" type="checkbox" /></td>
<td style="font-size: 12px;">#(adminLog.username??)</td>
<td style="font-size: 12px;">#(adminLog.job??)</td>
<td style="font-size: 12px;">#(adminLog.realName??)</td>
<td style="font-size: 12px;">#if(adminLog.isLogin) 登录 #else 退出 #end</td>
<td style="font-size: 12px;">#date(adminLog.createTime??,'yyyy-MM-dd HH:mm:ss')</td>
<td>
<button class="btn btn-primary" onclick="onOpenAction(#(adminLog.id))"
style="font-size: 12px; display: none;">
<i class="icon-eye-open"></i> 详情
</button>
<button class="btn btn-danger" onclick="onDeleteAction(#(adminLog.id))"
style="font-size: 12px;">
<i class="icon-trash "></i> 删除
</button>
</td>
</tr>
#end
</tbody>
</table>
#@page(contextPath+'/sysLog/list',pageNumber,totalPage,totalRow,searchKey,'','')
</div>
</div>
<!-- Modal -->
<div id="delModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="modal-title">温馨提示</h3>
</div>
<div class="modal-body">
<div class="control-group">
<label class="control-label" id="deleteId" style="display: none;">-1</label>
<label class="control-label" id="deleteTip">此操作将会删除所有和该日志相关的信息,是否继续删除?</label>
</div>
</div>
<div class="modal-footer form-actions">
<button class="btn btn-danger" onclick="onDeleteFromModal()">删除</button>
<button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
</div>
</div>
</div>
<!-- End Modal -->
<script type="text/javascript" src="#(contextPath)/js/logAdminList.js?ver=#(version)"></script>
<script type="text/javascript">
#if(flag)
showTip('#(flag)');
#end
</script>
</body>
</html>