Ticket #4579: encryption_icon.patch
File encryption_icon.patch, 1.9 KB (added by Rolcol, 11 years ago) |
---|
-
web/style/transmission/common.css
762 762 text-overflow: ellipsis; 763 763 } 764 764 765 tr.inspector_peer_entry { 766 767 } 768 769 tr.inspector_peer_entry span.encrypted-peer-cell { 770 width: 16px; 771 height: 16px; 765 tr.inspector_peer_entry div.encrypted-peer-cell { 766 width: 16px !important; 767 height: 16px !important; 772 768 background: transparent url('images/lock_icon.png') no-repeat; 773 769 } 770 /* Empty div of the same size for unencrypted peers */ 771 tr.inspector_peer_entry div.unencrypted-peer-cell { 772 width: 16px !important; 773 height: 16px !important; 774 } 774 775 775 776 tr.inspector_peer_entry.odd { 776 777 background-color: #EEEEEE; -
web/javascript/inspector.js
310 310 for (i=0; peer=peers[i]; ++i) { 311 311 parity = (i%2) ? 'odd' : 'even'; 312 312 html.push('<tr class="inspector_peer_entry ', parity, '">', 313 '<td>', (peer.isEncrypted ? '< span class="encrypted-peer-cell">'314 : '< span class="unencrypted-peer-cell">'), '</span>', '</td>',313 '<td>', (peer.isEncrypted ? '<div class="encrypted-peer-cell" title="Encrypted Connection">' 314 : '<div class="unencrypted-peer-cell">'), '</div>', '</td>', 315 315 '<td>', (peer.rateToPeer ? fmt.speedBps(peer.rateToPeer) : ''), '</td>', 316 316 '<td>', (peer.rateToClient ? fmt.speedBps(peer.rateToClient) : ''), '</td>', 317 317 '<td class="percentCol">', Math.floor(peer.progress*100), '%', '</td>',