Skip to content

Commit

Permalink
Issue #13 reorder upload/download speed
Browse files Browse the repository at this point in the history
First show download speed, then upload speed
  • Loading branch information
styxit committed Aug 14, 2013
1 parent 5524d1d commit cf18d03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion interfaces/default/html/transmission.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<h1 class="page-header page-title">
<a href="http://${settings.get('transmission_host')}:${settings.get('transmission_port')}" target="_blank">${settings.get('transmission_name', 'Transmission')}</a>
<small>
<i class="icon-arrow-up"></i> <span id="queue_upload"></span>
<i class="icon-arrow-down"></i> <span id="queue_download"></span>
<i class="icon-arrow-up"></i> <span id="queue_upload"></span>
</small>
</h1>

Expand Down
4 changes: 2 additions & 2 deletions interfaces/default/js/transmission.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ function getTorrents(){

tr.append(
$('<td>').html(torrent.name
+'<br><small><i class="icon-long-arrow-up"></i> ' + getReadableFileSizeString(torrent.rateUpload)
+'/s <i class="icon-long-arrow-down"></i> ' + getReadableFileSizeString(torrent.rateDownload) + '/s</small>'
+'<br><small><i class="icon-long-arrow-down"></i> ' + getReadableFileSizeString(torrent.rateDownload)
+'/s <i class="icon-long-arrow-up"></i> ' + getReadableFileSizeString(torrent.rateUpload) + '/s</small>'
),
$('<td>').text(ratio),
$('<td>').text(getReadableTime(torrent.eta)),
Expand Down

0 comments on commit cf18d03

Please sign in to comment.