forked from Cl0udG0d/SZhe_Scan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbug-list.html
58 lines (57 loc) · 2.24 KB
/
bug-list.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
{% extends 'base.html' %}
{%block title%}BugList{% endblock %}
<!-- <link rel="stylesheet" href="{{url_for('static',filename='css/bug-list.css')}}" /> -->
{% block css %}
<link rel="stylesheet" href="../static/css/bug-list.css" />
<link rel="stylesheet" href="../static/css/font-awesome.min.css" />
{% endblock %}
{% block js %}
<script type="text/javascript" src="../static/libs/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../static/js/bug-list.js"></script>
<script type="text/javascript" src="../static/libs/echarts.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> -->
<!-- <script type="text/javascript" src="http://echarts.baidu.com/gallery/vendors/echarts/echarts.min.js"></script> -->
{% endblock %}
<!-- <div class="bugLists"> -->
{% block rightcontext %}
{% for bug in bugs %}
<div class="list domain">
<div class="domain-name">
<div class="two-p">
<a href="{{url_for('bugdetail',id=bug.id)}}">
<i class="fa fa-link"></i>
<p class="pgr">{{bug.bugurl}}</p>
</a>
</div>
<!-- <div class="three-p">
<i class="fa fa-clock-o"></i>
<p>所属: {{bug.oldurl}}</p>
</div> -->
<p>所属: {{bug.oldurl}}</p>
<p>漏洞: {{bug.bugname}}</p>
<p>漏洞等级: {{bug.buggrade}}</p>
</div>
<div class="tab-pane">{{bug.bugdetail}}<br /></div>
</div>
{% endfor %}
<div class="pageNumber">
<ul>
<li class="pageLi">
{% if paginate.has_prev %}
<button class="pageBtn" style="width:100px" id="prePage"><a
href="{{url_for('buglist',page=paginate.prev_num)}}">上一页</a></button>
{% endif %}
</li>
{% for i in paginate.iter_pages() %}
<li class="pageLi">
<button class="pageBtn" id="{{ i }}"><a href="{{url_for('buglist',page=i)}}">{{ i }}</a></button>
</li>
{% endfor %}
{% if paginate.has_next %}
<button class="pageBtn" style="width:100px" id="sufPage"> <a
href="{{url_for('buglist',page=paginate.next_num)}}">下一页</a></button>
{% endif %}
</li>
</ul>
</div>
</div>{% endblock %}