summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-01-23 15:51:19 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-01-23 15:51:19 +0100
commit9aa8ca3b24133bef767f0eb8508e276fa7f92ee9 (patch)
treeecaeeafaa00e71f10d5df5ba9fc54a721e7d5e35 /module/web
parentfile_list save fix (diff)
downloadpyload-9aa8ca3b24133bef767f0eb8508e276fa7f92ee9.tar.xz
added missing icons, final improvments
Diffstat (limited to 'module/web')
-rw-r--r--module/web/media/default/img/status_None.pngbin0 -> 7613 bytes
-rw-r--r--module/web/media/default/img/status_aborted.png (renamed from module/web/media/default/img/stop.png)bin700 -> 700 bytes
-rw-r--r--module/web/media/default/img/status_downloading.png (renamed from module/web/media/default/img/clock_play.png)bin943 -> 943 bytes
-rw-r--r--module/web/media/default/img/status_failed.pngbin0 -> 700 bytes
-rw-r--r--module/web/media/default/img/status_finished.png (renamed from module/web/media/default/img/accept.png)bin781 -> 781 bytes
-rw-r--r--module/web/media/default/img/status_waiting.png (renamed from module/web/media/default/img/clock_red.png)bin889 -> 889 bytes
-rw-r--r--module/web/media/img/favicon.icobin0 -> 7206 bytes
-rw-r--r--module/web/pyload/views.py5
8 files changed, 1 insertions, 4 deletions
diff --git a/module/web/media/default/img/status_None.png b/module/web/media/default/img/status_None.png
new file mode 100644
index 000000000..293b13f77
--- /dev/null
+++ b/module/web/media/default/img/status_None.png
Binary files differ
diff --git a/module/web/media/default/img/stop.png b/module/web/media/default/img/status_aborted.png
index 0cfd58596..0cfd58596 100644
--- a/module/web/media/default/img/stop.png
+++ b/module/web/media/default/img/status_aborted.png
Binary files differ
diff --git a/module/web/media/default/img/clock_play.png b/module/web/media/default/img/status_downloading.png
index fb4ebc850..fb4ebc850 100644
--- a/module/web/media/default/img/clock_play.png
+++ b/module/web/media/default/img/status_downloading.png
Binary files differ
diff --git a/module/web/media/default/img/status_failed.png b/module/web/media/default/img/status_failed.png
new file mode 100644
index 000000000..0cfd58596
--- /dev/null
+++ b/module/web/media/default/img/status_failed.png
Binary files differ
diff --git a/module/web/media/default/img/accept.png b/module/web/media/default/img/status_finished.png
index 89c8129a4..89c8129a4 100644
--- a/module/web/media/default/img/accept.png
+++ b/module/web/media/default/img/status_finished.png
Binary files differ
diff --git a/module/web/media/default/img/clock_red.png b/module/web/media/default/img/status_waiting.png
index 2842cc338..2842cc338 100644
--- a/module/web/media/default/img/clock_red.png
+++ b/module/web/media/default/img/status_waiting.png
Binary files differ
diff --git a/module/web/media/img/favicon.ico b/module/web/media/img/favicon.ico
new file mode 100644
index 000000000..58b1f4b89
--- /dev/null
+++ b/module/web/media/img/favicon.ico
Binary files differ
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index d72dca56c..ea9d5f1be 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -75,10 +75,7 @@ def home(request):
def queue(request):
queue = settings.PYLOAD.get_queue()
for pack in queue:
- children = []
- for child in settings.PYLOAD.get_package_files(pack["id"]):
- children.append(settings.PYLOAD.get_file_info(child))
- pack["children"] = children
+ pack["children"] = map(settings.PYLOAD.get_file_info, settings.PYLOAD.get_package_files(pack["id"]))
return render_to_response(join(settings.TEMPLATE, 'queue.html'), RequestContext(request, {'content': queue}, [status_proc]))