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
a9d30059
Commit
a9d30059
authored
Apr 22, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
筛选普通用户
parent
c006d47f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
47 deletions
+38
-47
style.css
Hunter_ht/hunter/static/hunter/style.css
+37
-46
views.py
Hunter_ht/hunter/views.py
+1
-1
No files found.
Hunter_ht/hunter/static/hunter/style.css
View file @
a9d30059
...
@@ -33,7 +33,7 @@ nav{
...
@@ -33,7 +33,7 @@ nav{
section
{
section
{
width
:
100%
;
width
:
100%
;
padding
:
5px
30px
;
padding
:
5px
30px
;
min-height
:
6
00px
;
min-height
:
3
00px
;
}
}
section
>
.box
{
section
>
.box
{
width
:
100%
;
width
:
100%
;
...
@@ -77,8 +77,9 @@ nav>div{
...
@@ -77,8 +77,9 @@ nav>div{
}
}
.bottom
>
a
:hover
,
.active
{
.bottom
>
a
:hover
,
.active
{
font-size
:
20px
;
font-size
:
20px
;
color
:
#3c7fe2
;
color
:
#000
;
border-bottom
:
solid
5px
#97b7e6
;
border-bottom
:
solid
5px
#6e829e
;
/*border-bottom:solid 5px #97b7e6;*/
}
}
.top
>
a
{
.top
>
a
{
...
@@ -101,68 +102,58 @@ nav>div{
...
@@ -101,68 +102,58 @@ nav>div{
font-size
:
18px
;
font-size
:
18px
;
color
:
black
;
color
:
black
;
}
}
#welcome
{
width
:
300px
;
height
:
80px
;
margin
:
0
auto
;
}
#welcome
>
span
{
width
:
100%
;
height
:
80px
;
display
:
block
;
padding-top
:
16px
;
text-align
:
center
;
vertical-align
:
middle
;
font-family
:
monospace
;
font-size
:
40px
;
font-weight
:
bold
;
font-style
:
italic
;
/*border-top:solid 2px black;*/
/*border-bottom: solid 2px grey ;*/
}
.left-bar
{
.left-bar
{
width
:
100%
;
width
:
100%
;
height
:
60px
;
height
:
60px
;
padding
:
10px
15px
;
padding
:
10px
15px
;
border-left
:
solid
5px
#c1bdbd
;
border-left
:
solid
5px
dimgrey
;
}
}
.left-bar
>
span
{
.left-bar
>
span
{
height
:
40px
;
height
:
40px
;
line-height
:
40px
;
line-height
:
40px
;
font-size
:
22px
;
font-size
:
22px
;
color
:
dimgrey
;
color
:
black
;
font-weight
:
400
;
font-weight
:
400
;
font-family
:
"Roboto Condensed"
,
Helvetica
,
Arial
,
sans-serif
;
;
font-family
:
"Roboto Condensed"
,
Helvetica
,
Arial
,
sans-serif
;
;
}
}
.staff_tag
{
.wrap
{
width
:
100%
;
width
:
100%
;
height
:
40px
;
padding-left
:
20px
;
padding-left
:
5%
;
}
}
.staff_tag
>
span
{
.member_type
{
display
:
block
;
display
:
block
;
width
:
33%
;
height
:
40px
;
font-size
:
18px
;
font-weight
:
bold
;
float
:
left
;
float
:
left
;
margin
:
0
3%
;
width
:
27%
;
}
}
.content
>
ul
{
.member_type
>
p
{
display
:
block
;
width
:
100%
;
width
:
100%
;
padding-left
:
8%
;
font-size
:
20px
;
height
:
40px
;
line-height
:
40px
;
font-weight
:
100
;
border-bottom
:
solid
4px
#6e829e
;
color
:
black
;
text-align
:
center
;
}
}
.content
>
ul
>
li
{
.member_type
>
ul
{
width
:
100%
;
display
:
block
;
display
:
block
;
width
:
33%
;
}
height
:
30px
;
.member_type
>
ul
>
li
{
height
:
30px
;
line-height
:
30px
;
font-size
:
16px
;
padding
:
2px
10px
;
float
:
left
;
float
:
left
;
}
}
.wrap
{
.member_type
>
ul
>
.user_mail
{
width
:
100%
;
float
:
right
;
padding-left
:
20px
;
}
}
blockquote
{
blockquote
{
...
@@ -173,7 +164,6 @@ blockquote{
...
@@ -173,7 +164,6 @@ blockquote{
/*font-size:16px;*/
/*font-size:16px;*/
/*font-weight: bold;*/
/*font-weight: bold;*/
/*display: block;*/
/*display: block;*/
background
:
#fbfbfb
;
padding
:
10px
0
;
padding
:
10px
0
;
margin
:
20px
0
5px
;
margin
:
20px
0
5px
;
border-bottom
:
3px
solid
#eee
;
border-bottom
:
3px
solid
#eee
;
...
@@ -191,6 +181,7 @@ blockquote>p{
...
@@ -191,6 +181,7 @@ blockquote>p{
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100%
;
}
}
.wrap
>
ul
>
li
{
.wrap
>
ul
>
li
{
display
:
block
;
display
:
block
;
height
:
40px
;
height
:
40px
;
...
@@ -211,7 +202,7 @@ blockquote>p{
...
@@ -211,7 +202,7 @@ blockquote>p{
font-style
:
italic
;
font-style
:
italic
;
}
}
.big_text
>
a
{
.big_text
>
a
{
color
:
#
97b7e6
;
color
:
#
306cc5
;
}
}
.wrap
>
ul
>
li
>
a
:hover
{
.wrap
>
ul
>
li
>
a
:hover
{
color
:
#3c7fe2
;
color
:
#3c7fe2
;
...
@@ -252,14 +243,14 @@ blockquote>p{
...
@@ -252,14 +243,14 @@ blockquote>p{
color
:
black
;
color
:
black
;
}
}
.proj_name
{
.proj_name
{
min-width
:
30
0px
;
min-width
:
25
0px
;
float
:
left
;
float
:
left
;
}
}
.proj_name
>
a
{
.proj_name
>
a
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
20px
;
font-size
:
20px
;
color
:
#
b2c
7e6
;
color
:
#
97b
7e6
;
font-style
:
italic
;
font-style
:
italic
;
}
}
.proj_description
{
.proj_description
{
...
...
Hunter_ht/hunter/views.py
View file @
a9d30059
...
@@ -8,7 +8,7 @@ from django.db.models import Count
...
@@ -8,7 +8,7 @@ from django.db.models import Count
def
index
(
request
):
def
index
(
request
):
user_list
=
User
.
objects
.
filter
(
isCurrent
=
1
)
.
all
()
user_list
=
User
.
objects
.
filter
(
isCurrent
=
1
,
identity
=
'0'
)
.
all
()
user_type_list
=
{}
user_type_list
=
{}
for
u
in
user_list
:
for
u
in
user_list
:
if
u
.
member_type
==
0
:
if
u
.
member_type
==
0
:
...
...
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