From ef0a09ceb334f1d1f05ad790e570ef0cdaaa3c52 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 4 Mar 2013 13:03:25 +0100 Subject: functions to render file status, only simple coloring for now --- module/web/templates/default/dashboard.html | 59 ++++++++++++----------------- 1 file changed, 25 insertions(+), 34 deletions(-) (limited to 'module/web/templates/default/dashboard.html') diff --git a/module/web/templates/default/dashboard.html b/module/web/templates/default/dashboard.html index 8cb5f8f68..2bfd3d796 100644 --- a/module/web/templates/default/dashboard.html +++ b/module/web/templates/default/dashboard.html @@ -71,41 +71,32 @@ <% name %> - <%= if finished %> -
- <% else %> <%= if failed %> -
- <% download.error %> - <% else %> -
- <%/if%><%/if%> - <% download.statusmsg %> -
- -
- {# TODO: file type as icon #} -   - <% formatSize size %> +
+ <% fileStatus this %> +
- - - <% download.plugin %>  - - - -
+
+   + <% formatSize size %> + + + <% download.plugin %>  + + + +