1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

[sysadmin] added 'go-back' for user-info page

This commit is contained in:
llj
2014-04-01 15:13:07 +08:00
parent 16b148b6d1
commit cdb0cf300e
2 changed files with 21 additions and 8 deletions

View File

@@ -43,6 +43,7 @@
.icon-move:before { content: "\f047"; }
.icon-copy:before { content: "\f0c5"; }
.icon-lightbulb:before { content: "\f0eb"; }
.icon-chevron-left:before { content: "\f053"; }
.icon-font:before { content: "\f031"; }
.icon-text-height:before { content: "\f034"; }
@@ -2871,3 +2872,22 @@ textarea:-moz-placeholder {/* for FF */
.client-list .dir-icon {
color:#666;
}
/* side-info */
.side-info {
position: relative;
}
.go-back {
position: absolute;
left: -41px;
top: -15px;
padding: 0 5px;
font-size: 25px;
color:#ccc;
}
.go-back:hover {
color:#f93;
text-decoration: none;
}
#set-quota-form {
min-width:255px;
}

View File

@@ -2,16 +2,9 @@
{% load i18n avatar_tags %}
{% load url from future %}
{% block extra_style %}
<style type="text/css">
#set-quota-form {
min-width:255px;
}
</style>
{% endblock %}
{% block left_panel %}
<div class="side-info">
<a class="go-back" title="{% trans "Back to user list" %}" href="{% url 'sys_useradmin' %}"><span class="icon-chevron-left"></span></a>
<h3 class="hd">{% trans "Profile" %}</h3>
{% avatar email 48 %}
<dl>