mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 11:57:34 +00:00
improve traffic-stat
This commit is contained in:
@@ -863,6 +863,11 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
font-size:12px;
|
font-size:12px;
|
||||||
color:#888;
|
color:#888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.info-item .traffic-stat {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.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;
|
||||||
|
@@ -52,7 +52,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="info-item">
|
<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">
|
<div class="info-item-bottom">
|
||||||
{% 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>
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if TRAFFIC_STATS_ENABLED %}
|
{% 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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user