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
a8f946ed
Commit
a8f946ed
authored
May 07, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css
parent
1b25b9fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
style.css
Hunter_ht/hunter/static/hunter/style.css
+1
-1
index.html
Hunter_ht/hunter/templates/hunter/index.html
+9
-6
No files found.
Hunter_ht/hunter/static/hunter/style.css
View file @
a8f946ed
...
@@ -329,7 +329,7 @@ nav>div{
...
@@ -329,7 +329,7 @@ nav>div{
font-size
:
14px
;
font-size
:
14px
;
}
}
.new_list
span
:first-child
{
.new_list
span
:first-child
{
width
:
10
0px
;
width
:
6
0px
;
}
}
.new_list
a
{
.new_list
a
{
color
:
rgb
(
52
,
133
,
251
);
color
:
rgb
(
52
,
133
,
251
);
...
...
Hunter_ht/hunter/templates/hunter/index.html
View file @
a8f946ed
...
@@ -76,21 +76,24 @@
...
@@ -76,21 +76,24 @@
<div
class=
"list_wrap"
>
<div
class=
"list_wrap"
>
{% for key, item in newest_post_list.items %}
{% for key, item in newest_post_list.items %}
{% if item %}
{% if item %}
<p>
{{ key }}
</p>
{% for it in item %}
{% for it in item %}
<div
class=
"new_list"
>
<div
class=
"new_list"
>
<span>
{{ it.date }}
</span>
<span>
{{ it.date }}
</span>
{% if key == 'publication' %}
{% if key == 'publication' %}
<span>
{{ it.author }}在{{ it.journalname }}上发表了{{ it.publishType }}
</span>
<span>
{{ it.author }}
在{{ it.journalname }}上发表了{{ it.publishType }}
</span>
<span><a
target=
"_blank"
href=
"{{ it.url }}"
>
《{{ it.title }}》
</a></span>
{% else %}
{% else %}
<span>
{{ it.author }}发布了
</span>
{% if key == 'cve' %}
{% endif %}
<span>
{{ it.author }}
提交了
</span>
{% if key == 'cve' %}
<span><a
target=
"_blank"
href=
"{{ it.url }}"
>
{{ it.title }}
</a></span>
<span><a
target=
"_blank"
href=
"{{ it.url }}"
>
{{ it.title }}
</a></span>
{% else %}
{% else %}
<span>
{{ it.author }}
写了文章
</span>
<span><a
target=
"_blank"
href=
"{{ it.url }}"
>
《{{ it.title }}》
</a></span>
<span><a
target=
"_blank"
href=
"{{ it.url }}"
>
《{{ it.title }}》
</a></span>
{% endif %}
{% endif %}
{% endif %}
</div>
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
...
...
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