diff --git a/media/css/seahub.css b/media/css/seahub.css index c745ae85c4..79067d1136 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -457,6 +457,13 @@ textarea:-moz-placeholder {/* for FF */ .side-tabnav-tabs .tab-cur .group { background-image:url('../img/groups_w.png'); } +.side-tabnav-tabs .tab .traffic { + background-image:url('../img/traffic.png'); + background-position: 13px 50%; +} +.side-tabnav-tabs .tab-cur .traffic { + background-image:url('../img/traffic_w.png'); +} .side-tabnav-tabs .tab a:hover { background-color:#feefb8; text-decoration:none; diff --git a/media/img/traffic.png b/media/img/traffic.png new file mode 100644 index 0000000000..316e75ae0f Binary files /dev/null and b/media/img/traffic.png differ diff --git a/media/img/traffic_w.png b/media/img/traffic_w.png new file mode 100644 index 0000000000..50d592c92e Binary files /dev/null and b/media/img/traffic_w.png differ diff --git a/seahub/templates/sysadmin/base.html b/seahub/templates/sysadmin/base.html index d0d5a022d4..18924ef128 100644 --- a/seahub/templates/sysadmin/base.html +++ b/seahub/templates/sysadmin/base.html @@ -22,7 +22,7 @@ {% if traffic_stats_enabled %}
{% trans "User" %} | -{% trans "Total Usage" %} | -{% trans "Shared File View" %} | -{% trans "Shared File Download" %} | -{% trans "Shared Folder Download" %} | -|
---|---|---|---|---|---|
{{ info.email }} | -{{ info.total |filesizeformat }} | -{{ info.file_view |filesizeformat }} | -{{ info.file_download |filesizeformat }} | -{{ info.dir_download |filesizeformat }} | -- |
{% trans "User" %} | +{% trans "Total Usage" %} | +||||
{{ info.email }} | +{{ info.total |filesizeformat }} | +