Commit a9d30059 by liuyingying

筛选普通用户

parent c006d47f
......@@ -33,7 +33,7 @@ nav{
section{
width:100%;
padding:5px 30px;
min-height: 600px;
min-height: 300px;
}
section > .box{
width:100%;
......@@ -77,8 +77,9 @@ nav>div{
}
.bottom>a:hover, .active{
font-size:20px;
color: #3c7fe2;
border-bottom:solid 5px #97b7e6;
color: #000;
border-bottom:solid 5px #6e829e;
/*border-bottom:solid 5px #97b7e6;*/
}
.top>a{
......@@ -101,68 +102,58 @@ nav>div{
font-size: 18px;
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{
width: 100%;
height: 60px;
padding: 10px 15px;
border-left: solid 5px #c1bdbd;
border-left: solid 5px dimgrey;
}
.left-bar>span{
height:40px;
line-height: 40px;
font-size:22px;
color:dimgrey;
color:black;
font-weight: 400;
font-family: "Roboto Condensed",Helvetica,Arial,sans-serif;;
}
.staff_tag{
.wrap{
width:100%;
height:40px;
padding-left:5%;
padding-left:20px;
}
.staff_tag>span{
.member_type{
display: block;
width:33%;
height:40px;
font-size:18px;
font-weight: bold;
float: left;
margin: 0 3%;
width: 27%;
}
.content>ul{
display: block;
.member_type>p{
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;
width:33%;
height:30px;
}
.member_type>ul>li{
height: 30px;
line-height: 30px;
font-size: 16px;
padding: 2px 10px;
float: left;
}
.wrap{
width:100%;
padding-left:20px;
.member_type>ul>.user_mail{
float: right;
}
blockquote{
......@@ -173,7 +164,6 @@ blockquote{
/*font-size:16px;*/
/*font-weight: bold;*/
/*display: block;*/
background: #fbfbfb;
padding: 10px 0;
margin: 20px 0 5px;
border-bottom: 3px solid #eee;
......@@ -191,6 +181,7 @@ blockquote>p{
display: block;
width:100%;
}
.wrap>ul>li{
display: block;
height:40px;
......@@ -211,7 +202,7 @@ blockquote>p{
font-style: italic;
}
.big_text>a{
color:#97b7e6;
color:#306cc5;
}
.wrap>ul>li>a:hover{
color: #3c7fe2;
......@@ -252,14 +243,14 @@ blockquote>p{
color:black;
}
.proj_name{
min-width:300px;
min-width:250px;
float: left;
}
.proj_name>a{
font-weight: 600;
font-size: 20px;
color: #b2c7e6;
color: #97b7e6;
font-style: italic;
}
.proj_description{
......
......@@ -8,7 +8,7 @@ from django.db.models import Count
def index(request):
user_list = User.objects.filter(isCurrent=1).all()
user_list = User.objects.filter(isCurrent=1, identity='0').all()
user_type_list = {}
for u in user_list:
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