Commit a9d30059 by liuyingying

筛选普通用户

parent c006d47f
...@@ -33,7 +33,7 @@ nav{ ...@@ -33,7 +33,7 @@ nav{
section{ section{
width:100%; width:100%;
padding:5px 30px; padding:5px 30px;
min-height: 600px; min-height: 300px;
} }
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:300px; min-width:250px;
float: left; float: left;
} }
.proj_name>a{ .proj_name>a{
font-weight: 600; font-weight: 600;
font-size: 20px; font-size: 20px;
color: #b2c7e6; color: #97b7e6;
font-style: italic; font-style: italic;
} }
.proj_description{ .proj_description{
......
...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment