1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-22 03:16:34 +00:00

[ui] modified space/traffic

This commit is contained in:
llj
2013-03-28 12:02:52 +08:00
parent bfd6b51a71
commit 9e40a98d4e
3 changed files with 7 additions and 24 deletions

View File

@@ -23,9 +23,7 @@
{% block left_panel %} {% block left_panel %}
<div class="info-item"> <div class="info-item">
<div class="info-item-top ovhd"> <h3 class="info-item-top">{% trans "Members" %}</h3>
<h3 class="fleft">{% trans "Members" %}</h3>
</div>
<div class="info-item-bottom"> <div class="info-item-bottom">
{% if members %} {% if members %}
<ul> <ul>

View File

@@ -863,16 +863,12 @@ textarea:-moz-placeholder {/* for FF */
font-size:12px; font-size:12px;
color:#888; color:#888;
} }
#traffic-stat {
.info-item .traffic-stat {
margin-top: 5px;
}
.info-item .traffic-stat a {
color: #333; color: #333;
font-weight: normal; font-weight: normal;
display:inline-block;
margin-top:6px;
} }
.mygroup { .mygroup {
display:inline-block; /*to handle different height of items*/ display:inline-block; /*to handle different height of items*/
vertical-align:top; vertical-align:top;

View File

@@ -57,12 +57,7 @@
{% if CALC_SHARE_USAGE %} {% if CALC_SHARE_USAGE %}
<p>{% trans "Total" %}: {{ quota_usage|filesizeformat }} {% if quota > 0 %}/ {{ quota|filesizeformat }} {% endif %}</p> <p>{% trans "Total" %}: {{ quota_usage|filesizeformat }} {% if quota > 0 %}/ {{ quota|filesizeformat }} {% endif %}</p>
{% if quota > 0 %} {% if quota > 0 %}
{% if LANGUAGE_CODE == 'zh-cn' %} <a href="http://www.seafile.com/{% if LANGUAGE_CODE != 'zh-cn' %}en/{% endif %}help/quota/" target="_blank" id="quota-bar"><span id="my-usage" title="{% trans "Self" %}"></span><span id="share-usage" title="{% trans "Sharing" %}"></span></a>
<a href="http://www.seafile.com/help/quota/" target="_blank" id="quota-bar">
{% else %}
<a href="http://www.seafile.com/en/help/quota/" target="_blank" id="quota-bar">
{% endif %}
<span id="my-usage" title="{% trans "Self" %}"></span><span id="share-usage" title="{% trans "Sharing" %}"></span></a>
{% endif %} {% endif %}
<p id="usage-details">{% trans "Self" %} {{ my_usage|filesizeformat }}, {% trans "Sharing" %} {{ share_usage|filesizeformat }}</p> <p id="usage-details">{% trans "Self" %} {{ my_usage|filesizeformat }}, {% trans "Sharing" %} {{ share_usage|filesizeformat }}</p>
{% else %} {% else %}
@@ -71,15 +66,9 @@
<div id="quota-bar"><span id="quota-usage"></span></div> <div id="quota-bar"><span id="quota-usage"></span></div>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if TRAFFIC_STATS_ENABLED %} {% if TRAFFIC_STATS_ENABLED %}
<p class="traffic-stat"> <a href="http://www.seafile.com/{% if LANGUAGE_CODE != 'zh-cn' %}en/{% endif %}help/traffic/" target="_blank" id="traffic-stat">{% trans "Traffic this month:" %} {{ traffic_stat|filesizeformat }}</a>
{% if LANGUAGE_CODE == 'zh-cn' %}
<a href="http://www.seafile.com/help/traffic/" target="_blank" title="点击查看帮助">{% trans "Traffic this month:" %}</a>
{% else %}
<a href="http://www.seafile.com/en/help/traffic/" target="_blank" title="Click to see the help">{% trans "Traffic this month:" %}</a>
{% endif %}
&nbsp;&nbsp;{{ traffic_stat|filesizeformat }}
</p>
{% endif %} {% endif %}
</div> </div>
</div> </div>