diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-12-20 23:43:21 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-12-20 23:43:21 +0100 |
commit | 62965d0668e81fc801c4be2d61c1a0b64b0edca8 (patch) | |
tree | 99a0c667619cacd2d0adfa688a49d13c33b6655a /module/web/templates | |
parent | python 2.5 compatibility (diff) | |
download | pyload-62965d0668e81fc801c4be2d61c1a0b64b0edca8.tar.xz |
cli + web fixes
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/base.html | 2 | ||||
-rw-r--r-- | module/web/templates/default/home.html | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index c43d5223c..657bdcf09 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -274,7 +274,7 @@ $(document).ready(function(){ {% if perms.pyload.can_see_dl %}
<ul id="page-actions">
<li><a class="action backlink">Speed: <b id="speed">{{ status.speed }}</b> kb/s</a></li>
- <li><a class="action cog">Active: <b id="aktiv">{{ status.queue }}</b> / <b id="aktiv_from">{{ status.total }}</b></a></li>
+ <li><a class="action cog">Active: <b id="aktiv">{{ status.activ }}</b> / <b id="aktiv_from">{{ status.queue }}</b></a></li>
<li><a href="" class="action revisions" accesskey="o" rel="nofollow">Reload page</a></li>
</ul><br />
{% endif %}
diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html index 8124902db..43cf16ae0 100644 --- a/module/web/templates/default/home.html +++ b/module/web/templates/default/home.html @@ -16,6 +16,21 @@ Active Downloads <th>Progress</th>
</tr>
<tbody id="LinksAktiv">
+
+ {% for link in content %}
+ <tr id="link_{{ link.id }}">
+ <td id="link_{{ link.id }}_name">{{ link.name }}</td>
+ <td id="link_{{ link.id }}_status">{{ link.status }}</td>
+ <td id="link_{{ link.id }}_eta">{{ content.eta }} @ {{content.speed }}</td>
+ <td id="link_{{ link.id }}_kbleft">{{ link.kbleft }}</td>
+ <td id="link_{{ link.id }}_percent"><font id="aktiv_percent">{{ link.percent }}</font>% / {{ link.size }}</td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <div id="link_{{ link.id }}_pgb" class="progress_bar" style="overflow: hidden; width: {{ link.percent }}%; display: block;"> </div>
+ </td>
+ </tr>
+ {% endfor %}
<tbody>
</table>
{% endblock %}
\ No newline at end of file |