diff --git a/media/css/seahub.css b/media/css/seahub.css index 22b360c7b6..4b2d77b951 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -676,9 +676,21 @@ textarea:-moz-placeholder {/* for FF */ /* for separate pages */ /*myhome*/ -.home-profile .avatar { - float:left; - margin:0 15px 0 9px; +.home-profile .pic { + margin-left:9px; +} +.home-profile .txt { + width:135px; +} +.home-profile .edit { + font-weight:normal; + color:#999; + font-size:12px; + display:inline-block; + margin-top:5px; +} +.home-profile .edit:hover { + color:#333; } .mygroup { display:inline-block; /*to handle different height of items*/ diff --git a/organizations/templates/organizations/personal.html b/organizations/templates/organizations/personal.html index 3accc67300..382a5ada69 100644 --- a/organizations/templates/organizations/personal.html +++ b/organizations/templates/organizations/personal.html @@ -9,19 +9,18 @@ {% endblock %} {% block left_panel %} -
{{ nickname }}
- {% else %} - - {% endif %} + {% avatar request.user 48 %} +{% if nickname %}{{ nickname }}{% else %}{% trans "No Nickname" %}{% endif %}
+ {% trans "Edit" %} +{{ quota_usage|filesizeformat }}
diff --git a/templates/base.html b/templates/base.html index 8b2e6a6f2b..38aeb802bd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -17,140 +17,136 @@ -{{ request.cur_note.message|urlize|url_target_blank }}
-{{ request.cur_note.message|urlize|url_target_blank }}
+{{ nickname }}
- {% else %} - - {% endif %} + {% avatar request.user 48 %} +{% if nickname %}{{ nickname }}{% else %}{% trans "No Nickname" %}{% endif %}
+ {% trans "Edit" %} +