systemLog.html
2.73 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
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="UTF-8">
<head th:include="include :: header">
</head>
<body class="gray-bg">
<div class="col-sm-12" style="height: auto;">
<div class="select-info" style="height: 100%;">
<h1 style="margin-bottom: 15px;font-weight: bold ">系统日志</h1>
<div class="panel panel-info">
<div class="panel-heading">一般日志</div>
<div class="panel-body">
<a data-toggle="collapse" data-target="#infoLogList">sys-info</a>
<div class="panel-collapse collapse" style="margin-top: 10px" id="infoLogList">
<ul th:each="name:${infoNames}">
<li>
<a th:text="${name}" th:onclick="getLog([[${name}]])"></a>
</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading">调试日志</div>
<div class="panel-body">
<a data-toggle="collapse" data-target="#debugLogList">sys-debug</a>
<div class="panel-collapse collapse" style="margin-top: 10px" id="debugLogList">
<ul th:each="name:${debugNames}">
<li><a th:text="${name}" th:onclick="getLog([[${name}]])"></a></li>
</ul>
</div>
</div>
</div>
<div class="panel panel-warning">
<div class="panel-heading">警告日志</div>
<div class="panel-body">
<a data-toggle="collapse" data-target="#warnLogList">sys-warn</a>
<div class="panel-collapse collapse" style="margin-top: 10px" id="warnLogList">
<ul th:each="name:${warnNames}">
<li><a th:text="${name}" th:onclick="getLog([[${name}]])"></a></li>
</ul>
</div>
</div>
</div>
<div class="panel panel-danger">
<div class="panel-heading">错误日志</div>
<div class="panel-body">
<a data-toggle="collapse" data-target="#errorLogList">sys-error</a>
<div class="panel-collapse collapse" style="margin-top: 10px" id="errorLogList">
<ul th:each="name:${errorNames}">
<li><a th:text="${name}" th:onclick="getLog([[${name}]])"></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
function getLog(name) {
$.modal.openFull(name, ctx+"monitor/systemLog/logview?name="+name)
}
</script>
</html>