forked from 111Cyber0cculte888/x-patrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport_github_confirm.html
executable file
·173 lines (172 loc) · 8.83 KB
/
report_github_confirm.html
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Github leaked patrol</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
<link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="/lib/font-awesome-4.7.0/css/font-awesome.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="/lib/adminLET2/css/AdminLTE.min.css">
<link rel="stylesheet" href="/lib/adminLET2/css/skins/skin-red.css">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/lib/code_prettify/prettify.css">
<script src="/lib/code_prettify/prettify.js"></script>
<!--[if lt IE 9]>
<script src="/lib/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="/lib/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition skin-red sidebar-mini" onload="prettyPrint()">
<div class="wrapper">
<!-- Main Header -->
<header class="main-header">
<!-- Logo -->
<a href="/admin/index/" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>Github leaked patrol</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Github leaked patrol</b></span>
</a>
<!-- Header Navbar -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span style="font-size: 20px;margin-right: 10px;"><i class="fa fa-user-circle"></i></span>
<span class="hidden-xs">{{.user}}</span>
</a>
<div class="dropdown-menu">
<a href="/logout/" class="btn btn-default btn-flat">退出登陆</a>
</div>
</li>
</ul>
</div>
</nav>
</header>
<aside class="main-sidebar">
<section class="sidebar">
<ul class="sidebar-menu">
<li class="header">检测报告</li>
<li><a href="/admin/reports/github/"><i class="fa fa-dashboard"></i> <span>github搜索报告</span></a></li>
<li class="active"><a href="/admin/reports/confirm/"><i class="fa fa-dashboard"></i> <span>已确认结果</span></a></li>
<li><a href="/admin/reports/history/"><i class="fa fa-dashboard"></i> <span>历史报告</span></a></li>
<li><a href="/admin/reports/search/"><i class="fa fa-dashboard"></i> <span>本地检测报告</span></a></li>
<li class="header">后台管理</li>
<li><a href="/admin/repos/"><i class="fa fa-link"></i> <span>仓库管理</span></a></li>
<li><a href="/admin/rules/"><i class="fa fa-link"></i> <span>规则管理</span></a></li>
<li><a href="/admin/tokens/"><i class="fa fa-users"></i> <span>token管理</span></a></li>
<li><a href="/admin/users/"><i class="fa fa-users"></i> <span>用户管理</span></a></li>
</ul>
</section>
</aside>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<section class="content-header">
<h1>
检测结果
</h1>
<ol class="breadcrumb">
<li><a href="/admin/reports/history/" class="btn btn-success c-add-btn"> 主页</a></li>
<li class="btn btn-success c-add-btn">检测结果</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row c-manager">
<div class="col-xs-12">
<div class="box">
<div class="box-body">
<div class="page-arear">
<ul class="pagination">
<li><a href="/admin/reports/confirm/1">第一页</a></li>
<li><a href="/admin/reports/confirm/{{.pre}}">上一页</a></li>
{{ range $i, $v := .pageList }}
{{ if eq $v $.page }}
<li class="active"><a href="/admin/reports/confirm/{{$v}}">{{$v}}</a></li>
{{ else }}
<li><a href="/admin/reports/confirm/{{$v}}">{{$v}}</a></li>
{{ end }}
{{ end }}
<li><a href="/admin/reports/confirm/{{.next}}">下一页</a></li>
<li><a href="/admin/reports/confirm/{{.pages}}">最后一页</a></li>
</ul>
</div>
<table class="table table-striped table-bordered table-hover table-layout:fixed;" width="90%">
<thead>
<tr align="center">
<th>ID</th>
<th>Name</th>
<th width="40%">Detail</th>
<th>UpdateTime</th>
</tr>
{{range .reports}}
<tr>
<td>{{.Id}}</td>
<td><a href="{{.HTMLURL}}" target="_blank">{{.RepoName}} > {{.Name}}</a></td>
<td style="word-wrap:break-word;word-break:break-all;">
<pre class="prettyprint linenums">{{range .TextMatches}}
{{range Split .Fragment }}
{{.}}<br>
{{end}}
{{end}}
</pre>
</td>
<td>
{{.UpdatedTime.Format "2006-01-02 15:04:05"}}
</td>
</tr>
{{end}}
</thead>
</table>
<div class="page-arear">
<ul class="pagination">
<li><a href="/admin/reports/confirm/1">第一页</a></li>
<li><a href="/admin/reports/confirm/{{.pre}}">上一页</a></li>
{{ range $i, $v := .pageList }}
{{ if eq $v $.page }}
<li class="active"><a href="/admin/reports/confirm/{{$v}}">{{$v}}</a></li>
{{ else }}
<li><a href="/admin/reports/confirm/{{$v}}">{{$v}}</a></li>
{{ end }}
{{ end }}
<li><a href="/admin/reports/confirm/{{.next}}">下一页</a></li>
<li><a href="/admin/reports/confirm/{{.pages}}">最后一页</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
<!-- jQuery 2.2.3 -->
<script src="/lib/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/lib/bootstrap/js/bootstrap.min.js"></script>
<!-- Slimscroll -->
<script src="/lib/slimScroll/jquery.slimscroll.min.js"></script>
<!-- echarts -->
<script src="/lib/echarts/2.2.7/echarts-all.js"></script>
<!-- bootbox -->
<script src="/lib/bootbox.min.js"></script>
<!-- DataTables -->
<script src="/lib/datatables/jquery.dataTables.min.js"></script>
<script src="/lib/datatables/dataTables.bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="/lib/adminLET2/js/app.min.js"></script>
<script src="/js/common.js"></script>
</body>
</html>