checklog.hbs
1.28 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
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href="/"><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="/servers">系统管理</a></li>
<li>代码检查记录</li>
</ul>
<h4>代码检查记录详情</h4>
</div>
</div>
<!-- media -->
</div>
<div class="contentpanel project-index-page">
<div class="panel panel-default">
<div class="panel-heading">
<div class="pull-right">
<a href="" class="tooltips panel-minimize"><i class="fa fa-minus"></i></a>
</div>
<h4 class="panel-title">检查详情</h4>
</div>
<div class="panel-body">
<pre class="log"></pre>
</div>
</div>
</div>
<script>
$(document).on('ready pjax:success', function() {
var id = location.search.replace('?','');
id = id.split('=')[1];
$.post('/check/log/query', {
id: id
}, function(ret) {
if (ret && ret.data) {
$('pre.log').html(ret.data)
}
});
});
</script>