Skip to content

Commit cf18d03

Browse files
committed
Issue #13 reorder upload/download speed
First show download speed, then upload speed
1 parent 5524d1d commit cf18d03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

interfaces/default/html/transmission.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<h1 class="page-header page-title">
66
<a href="http://${settings.get('transmission_host')}:${settings.get('transmission_port')}" target="_blank">${settings.get('transmission_name', 'Transmission')}</a>
77
<small>
8-
<i class="icon-arrow-up"></i> <span id="queue_upload"></span>
98
<i class="icon-arrow-down"></i> <span id="queue_download"></span>
9+
<i class="icon-arrow-up"></i> <span id="queue_upload"></span>
1010
</small>
1111
</h1>
1212

interfaces/default/js/transmission.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ function getTorrents(){
6868

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

0 commit comments

Comments
 (0)