mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
(trunk web) #4579 "lock_icon.png does not display in inspector tab for encrypted peers" -- fixed.
This commit is contained in:
parent
0536107144
commit
e3a6c7402d
2 changed files with 3 additions and 3 deletions
|
@ -310,8 +310,8 @@ function Inspector(controller) {
|
||||||
for (i=0; peer=peers[i]; ++i) {
|
for (i=0; peer=peers[i]; ++i) {
|
||||||
parity = (i%2) ? 'odd' : 'even';
|
parity = (i%2) ? 'odd' : 'even';
|
||||||
html.push('<tr class="inspector_peer_entry ', parity, '">',
|
html.push('<tr class="inspector_peer_entry ', parity, '">',
|
||||||
'<td>', (peer.isEncrypted ? '<span class="encrypted-peer-cell">'
|
'<td>', (peer.isEncrypted ? '<div class="encrypted-peer-cell" title="Encrypted Connection">'
|
||||||
: '<span class="unencrypted-peer-cell">'), '</span>', '</td>',
|
: '<div class="unencrypted-peer-cell">'), '</div>', '</td>',
|
||||||
'<td>', (peer.rateToPeer ? fmt.speedBps(peer.rateToPeer) : ''), '</td>',
|
'<td>', (peer.rateToPeer ? fmt.speedBps(peer.rateToPeer) : ''), '</td>',
|
||||||
'<td>', (peer.rateToClient ? fmt.speedBps(peer.rateToClient) : ''), '</td>',
|
'<td>', (peer.rateToClient ? fmt.speedBps(peer.rateToClient) : ''), '</td>',
|
||||||
'<td class="percentCol">', Math.floor(peer.progress*100), '%', '</td>',
|
'<td class="percentCol">', Math.floor(peer.progress*100), '%', '</td>',
|
||||||
|
|
|
@ -766,7 +766,7 @@ tr.inspector_peer_entry {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.inspector_peer_entry span.encrypted-peer-cell {
|
tr.inspector_peer_entry div.encrypted-peer-cell {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
background: transparent url('images/lock_icon.png') no-repeat;
|
background: transparent url('images/lock_icon.png') no-repeat;
|
||||||
|
|
Loading…
Reference in a new issue