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
662e4b49
Commit
662e4b49
authored
May 06, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cve 浮动提示
parent
8584208c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
21 deletions
+47
-21
style.css
Hunter_ht/hunter/static/hunter/style.css
+22
-2
index.html
Hunter_ht/hunter/templates/hunter/index.html
+25
-19
No files found.
Hunter_ht/hunter/static/hunter/style.css
View file @
662e4b49
...
...
@@ -111,6 +111,7 @@ nav{
position
:
fixed
;
/*border-bottom: solid 1px #e3e6e8;*/
background
:
white
;
z-index
:
9999
;
}
section
{
...
...
@@ -320,7 +321,7 @@ nav>div{
/*float: right !important;*/
}
.wrap
ul
:hover
{
.wrap
ul
>
li
:hover
{
background
:
#ddd
;
border-radius
:
5px
;
}
...
...
@@ -408,7 +409,27 @@ blockquote>p{
display
:
block
;
line-height
:
30px
;
float
:
left
;
width
:
150px
;
}
.wrap
ul
>
li
{
position
:
relative
;
}
.float-tips
{
width
:
150px
;
height
:
auto
;
position
:
absolute
;
background-color
:
white
;
}
#mytitle
{
position
:
absolute
;
color
:
#ffffff
;
max-width
:
160px
;
font-size
:
14px
;
padding
:
4px
;
background
:
rgba
(
40
,
40
,
40
,
0.8
);
border
:
solid
1px
#e9f7f6
;
border-radius
:
5px
;
}
ul
:after
{
content
:
"."
;
clear
:
both
;
...
...
@@ -433,7 +454,6 @@ ul:after{
}
.wrap
ul
>
li
>
a
:hover
{
color
:
#3c7fe2
;
font-size
:
18px
;
}
.small_text
{
font-size
:
14px
;
...
...
Hunter_ht/hunter/templates/hunter/index.html
View file @
662e4b49
...
...
@@ -222,20 +222,14 @@
<div
class=
"wrap"
>
{% for year, cves in cve_year_list.items %}
<blockquote
><p>
{{ year }}
</p></blockquote>
<ul>
{% if cves %}
{% for cve in cves %}
<ul>
<li
class=
"cve_big_text"
><a
href=
"{{ cve.url }}"
target=
"_blank"
>
{{ cve.identifier }}
</a></li>
<li
class=
"cve_big_text float-tips"
title=
"软件:{{ cve.software }}<br>漏洞类型:{{ cve.bugType }}"
><a
href=
"{{ cve.url }}"
target=
"_blank"
>
{{ cve.identifier }}
</a></li>
<li
class=
"li_right"
>
{{ cve.datetime }}
</li>
<li
class=
"li_right"
>
{{ cve.software }}
</li>
<li
class=
"li_right"
>
{{ cve.bugType }}
</li>
<li
class=
"li_long li_small_text"
>
{{ cve.description }}
</li>
</ul>
{% endfor %}
{% endif %}
</ul>
{% endfor %}
</div>
...
...
@@ -278,16 +272,6 @@
<section>
{% if bug_list %}
<ul>
{% for bug in bug_list %}
<li><a
href=
"{{ bug.url }}"
target=
"_blank"
>
{{ bug.identifier }}
</a></li>
{% endfor %}
</ul>
{% endif %}
</section>
<footer>
<div
class=
"w-1000 copyright"
>
Copyright © 2013-2020
<strong><a
href=
"//www.hunter-ht.cn/"
target=
"_blank"
>
野旷天低树天清月近人
</a></strong>
...
...
@@ -311,6 +295,28 @@
hide_log
();
}
};
$
(
function
()
{
var
x
=
10
;
var
y
=
20
;
var
newtitle
=
''
;
$
(
'.float-tips'
).
mouseover
(
function
(
e
)
{
newtitle
=
this
.
title
;
this
.
title
=
''
;
$
(
'body'
).
append
(
'<div id="mytitle" >'
+
newtitle
+
'</div>'
);
$
(
'#mytitle'
).
css
({
'left'
:
(
e
.
pageX
+
x
+
'px'
),
'top'
:
(
e
.
pageY
+
y
-
80
+
'px'
)
}).
show
();
}).
mouseout
(
function
()
{
this
.
title
=
newtitle
;
$
(
'#mytitle'
).
remove
();
}).
mousemove
(
function
(
e
)
{
$
(
'#mytitle'
).
css
({
'left'
:
(
e
.
pageX
+
x
+
10
+
'px'
),
'top'
:
(
e
.
pageY
+
y
-
60
+
'px'
)
}).
show
();
})
});
function
show_former
(){
...
...
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