summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-20 15:55:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-20 15:55:48 +0200
commitd257c974a8acea9d7309b63c829fefcbfb47d831 (patch)
treee953bce501c941e7a6c0dbb63b97e5c94c267aad /module/web/templates
parentnetload fix (diff)
downloadpyload-d257c974a8acea9d7309b63c829fefcbfb47d831.tar.xz
dynamic status bar
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default.tpl14
-rw-r--r--module/web/templates/window.tpl2
2 files changed, 10 insertions, 6 deletions
diff --git a/module/web/templates/default.tpl b/module/web/templates/default.tpl
index fe617bfe6..2508455cb 100644
--- a/module/web/templates/default.tpl
+++ b/module/web/templates/default.tpl
@@ -11,7 +11,7 @@
%include header title=header, use_js=js, use_css=['default.css','window.css'], redirect=red
-%include window id="addlinks", width=400, caption="Add links", body="<textarea rows=10 style='width: 345px;'></textarea>", button="Add"
+%include window id="addlinks", width=400, caption="Add links", body="<textarea rows=10 style='width: 345px;' id='linkarea'></textarea>", button="Add"
<a class="anchor" name="top" id="top"></a>
@@ -76,11 +76,15 @@
%if page != "loggedin" and page != "login":
<div id="statusbar">
- <div style="float: left;padding: 8px;">
-Status: running
+ <div id="status" style="float: left;padding: 8px;">
+Status:
</div>
- <div style="float: left;padding: 8px">
-Speed: 500 kb/s  
+ <div id="speed" style="float: left;padding: 8px">
+Speed: 
+</div>
+
+ <div id="queue" style="float: left;padding: 8px">
+Files in queue: 
</div>
<div style="padding-top:2px">
diff --git a/module/web/templates/window.tpl b/module/web/templates/window.tpl
index fce3cb86f..f756c4352 100644
--- a/module/web/templates/window.tpl
+++ b/module/web/templates/window.tpl
@@ -12,7 +12,7 @@
<div class="closeBody">
<div class="closeButtons">
-<a class="closeSticky button">{{button}}</a><a class="closeSticky button">Close</a>
+<a class="closeSticky button" id="bt{{button}}">{{button}}</a><a class="closeSticky button">Close</a>
</div>
</div>