1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 20:08:19 +00:00

improve traffic-stat

This commit is contained in:
lins05
2013-03-26 10:59:13 +08:00
parent 0d0c654142
commit f9cc2f9cae
2 changed files with 7 additions and 2 deletions

View File

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

View File

@@ -52,7 +52,7 @@
{% endif %}
<div class="info-item">
<h3 class="info-item-top">{% trans "Space used" %}</h3>
<h3 class="info-item-top">{% trans "Space/Traffic" %}</h3>
<div class="info-item-bottom">
{% if CALC_SHARE_USAGE %}
<p>{% trans "Total" %}: {{ quota_usage|filesizeformat }} {% if quota > 0 %}/ {{ quota|filesizeformat }} {% endif %}</p>
@@ -72,7 +72,7 @@
{% endif %}
{% endif %}
{% if TRAFFIC_STATS_ENABLED %}
<p>{% trans "Traffic used:" %} {{ traffic_stat|filesizeformat }}</p>
<p class="traffic-stat">{% trans "Traffic this month:" %} {{ traffic_stat|filesizeformat }}</p>
{% endif %}
</div>
</div>