Commit b31db08b by liuyingying

前成员样式调整

parent 25e07e95
...@@ -225,7 +225,7 @@ nav>div{ ...@@ -225,7 +225,7 @@ nav>div{
#former_member{ #former_member{
margin-top:30px; margin-top:30px;
padding-top:20px; padding-top:20px;
border-top:solid 1px #f1f1f1; background-color: #f1f1f1;
} }
.left-bar{ .left-bar{
...@@ -375,7 +375,7 @@ blockquote>p{ ...@@ -375,7 +375,7 @@ blockquote>p{
.wrap ul>li{ .wrap ul>li{
display: block; display: block;
line-height: 40px; line-height: 30px;
float:left; float:left;
margin-left:20px; margin-left:20px;
} }
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
{% for tp,users in user_type_list_former.items %} {% for tp,users in user_type_list_former.items %}
<div class="member_type"> <div class="member_type">
{% if users %} {% if users %}
<p>{{ tp }}</p> <p>{{ tp }}(former)</p>
{% for user in users %} {% for user in users %}
<ul> <ul>
<li> <li>
...@@ -125,8 +125,6 @@ ...@@ -125,8 +125,6 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
</section> </section>
<section id="project"> <section id="project">
......
...@@ -46,9 +46,9 @@ def index(request): ...@@ -46,9 +46,9 @@ def index(request):
u.member_type = "Engineer STAFF" u.member_type = "Engineer STAFF"
else: else:
if u.member_type == 2: if u.member_type == 2:
u.member_type = "Phd"
else:
u.member_type = "Master" u.member_type = "Master"
else:
u.member_type = "Phd"
member_type = u.member_type member_type = u.member_type
if member_type in user_type_list_former.keys(): if member_type in user_type_list_former.keys():
user_type_list_former[member_type].append(u) user_type_list_former[member_type].append(u)
......
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