Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 849 Bytes
{% if torrents %}
<div id="utorrent" class="module" data-module="utorrent">
<div class="module_settings"><span>Settings</span></div>
<div class="module_remove"><span>Remove</span></div>
<h2>uTorrent</h2>
{% for torrent in torrents%}
<div class="inner">
{{ torrent.name }}
<div class="bar">
<div class="inner" style="width: {{ torrent.progress|int }}%;"></div>
</div>
<div class="clearfix">
<p class="remaining"><strong>Remaining:</strong> {{ torrent.eta }} </p>
<p class="percentage_complete">{{ torrent.progress|int }}% complete </p>
</div>
</div>
{% endfor %}
</div>
{% else %}
<div class="placeholder" data-module="utorrent">
<div class="module_settings"><span>Settings</span></div>
<div class="module_remove"><span>Remove</span></div>
<h2>uTorrent</h2>
</div>
{% endif %}
Jump to Line
Something went wrong with that request. Please try again.