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
b31db08b
Commit
b31db08b
authored
Apr 27, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前成员样式调整
parent
25e07e95
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
style.css
Hunter_ht/hunter/static/hunter/style.css
+2
-2
index.html
Hunter_ht/hunter/templates/hunter/index.html
+1
-3
views.py
Hunter_ht/hunter/views.py
+2
-2
No files found.
Hunter_ht/hunter/static/hunter/style.css
View file @
b31db08b
...
...
@@ -225,7 +225,7 @@ nav>div{
#former_member
{
margin-top
:
30px
;
padding-top
:
20px
;
b
order-top
:
solid
1px
#f1f1f1
;
b
ackground-color
:
#f1f1f1
;
}
.left-bar
{
...
...
@@ -375,7 +375,7 @@ blockquote>p{
.wrap
ul
>
li
{
display
:
block
;
line-height
:
4
0px
;
line-height
:
3
0px
;
float
:
left
;
margin-left
:
20px
;
}
...
...
Hunter_ht/hunter/templates/hunter/index.html
View file @
b31db08b
...
...
@@ -95,7 +95,7 @@
{% for tp,users in user_type_list_former.items %}
<div
class=
"member_type"
>
{% if users %}
<p>
{{ tp }}
</p>
<p>
{{ tp }}
(former)
</p>
{% for user in users %}
<ul>
<li>
...
...
@@ -125,8 +125,6 @@
</div>
{% endfor %}
</div>
</section>
<section
id=
"project"
>
...
...
Hunter_ht/hunter/views.py
View file @
b31db08b
...
...
@@ -46,9 +46,9 @@ def index(request):
u
.
member_type
=
"Engineer STAFF"
else
:
if
u
.
member_type
==
2
:
u
.
member_type
=
"Phd"
else
:
u
.
member_type
=
"Master"
else
:
u
.
member_type
=
"Phd"
member_type
=
u
.
member_type
if
member_type
in
user_type_list_former
.
keys
():
user_type_list_former
[
member_type
]
.
append
(
u
)
...
...
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