Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hunter-ht.cn
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘莹莹
hunter-ht.cn
Commits
148d4f6b
Commit
148d4f6b
authored
May 07, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cve list
parent
a05970ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.html
Hunter_ht/hunter/templates/hunter/index.html
+1
-1
views.py
Hunter_ht/hunter/views.py
+1
-1
No files found.
Hunter_ht/hunter/templates/hunter/index.html
View file @
148d4f6b
...
...
@@ -224,7 +224,7 @@
</div>
<div
class=
"wrap"
>
<ul>
{% for cve in
bug
_list %}
{% for cve in
cve
_list %}
<li
class=
"cve_big_text float-tips"
title=
"软件:{{ cve.software }}<br>漏洞类型:{{ cve.bugType }}"
><a
href=
"{{ cve.url }}"
target=
"_blank"
>
{{ cve.identifier }}
</a></li>
{% endfor %}
</ul>
...
...
Hunter_ht/hunter/views.py
View file @
148d4f6b
...
...
@@ -62,7 +62,7 @@ def index(request):
else
:
publication_year_list
[
year
]
=
[
pub
]
bug_list
=
Bugs
.
objects
.
order_by
(
'-identifier'
)
bug_list
=
Bugs
.
objects
.
all
()
.
order_by
(
'-identifier'
)
cve_year_list
=
{}
# for cve in bug_list:
# year = str(cve.datetime)[0:4]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment