From: Michael Tremer Date: Tue, 4 Dec 2012 11:19:12 +0000 (+0100) Subject: Redesign upload page. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb990aecbf0d6c56df50785d575dece913ebdebb;p=pbs.git Redesign upload page. --- diff --git a/data/templates/uploads-list.html b/data/templates/uploads-list.html index 5e760cb5..f0c1bf2f 100644 --- a/data/templates/uploads-list.html +++ b/data/templates/uploads-list.html @@ -14,80 +14,64 @@ - -
-
-

- {{ _("On this page, you will see all running uploads.") }} -

-
+

{{ _("Uploads") }}

{% if uploads %} -
-
- - - - - - - - - - - {% for upload in uploads %} - - - - - - - - - - - {% end %} - -
{{ _("Filename") }}{{ _("Owner") }}{{ _("Filesize") }}{{ _("Time running") }}
{{ upload.filename }} - {% if upload.builder %} - - {{ upload.builder.name }} - - {% elif upload.user %} - - {{ upload.user.realname }} - - {% else %} - {{ _("No owner.") }} - {% end %} - - {{ format_size(upload.size) }} - - {% if upload.time_running %} - {{ friendly_time(upload.time_running) }} / - {{ format_size(upload.speed) }}b/s - {% else %} - {{ _("N/A") }} - {% end %} -
-
-
-
-
- {{ "%.2f%%" % (upload.progress * 100) }} -
-
-
+ + + + + + + + + + + {% for upload in uploads %} + + + + + + + + + + + {% end %} + +
{{ _("Filename") }}{{ _("Owner") }}{{ _("Filesize") }}{{ _("Time running") }}
{{ upload.filename }} + {% if upload.builder %} + + {{ upload.builder.name }} + + {% elif upload.user %} + + {{ upload.user.realname }} + + {% else %} + {{ _("No owner.") }} + {% end %} + + {{ format_size(upload.size) }} + + {% if upload.time_running %} + {{ friendly_time(upload.time_running) }} / + {{ format_size(upload.speed) }}b/s + {% else %} + {{ _("N/A") }} + {% end %} +
+
+
+
+
+ {{ "%.2f%%" % (upload.progress * 100) }} +
{% else %} -
-

{{ _("I'm sorry!") }}

+

{{ _("There are currently no uploads running.") }} -

+

{% end %} {% end block %}