mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 19:37:28 +00:00
improve traffic-stat
This commit is contained in:
@@ -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;
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user