<div id="prefs-button" title="Edit Preferences..."> </div>
<div id="turtle-button" title="Alternative Speed Limits"> </div>
<div id="compact-button" title="Compact View"> </div>
-
- <div title="Free Space available in the Download Folder" id="freespace-info"></div>
</div>
<div class="contextMenu" id="torrent_context_menu">
_TurtleState : 'alt-speed-enabled',
_TurtleUpSpeedLimit : 'alt-speed-up',
_UpSpeedLimit : 'speed-limit-up',
- _UpSpeedLimited : 'speed-limit-up-enabled',
- _DownloadDirFreeSpace : 'download-dir-free-space'
+ _UpSpeedLimited : 'speed-limit-up-enabled'
};
function TransmissionRemote(controller)
menu = $('#settings_menu');
this.serverVersion = o.version;
- this.freeSpace = o[RPC._DownloadDirFreeSpace];
this.prefsDialog.set(o);
updateStatusbar: function()
{
var u=0, d=0,
- i, row, text,
+ i, row,
fmt = Transmission.fmt,
torrents = this.getAllTorrents();
$('#speed-dn-container').toggleClass('active', d>0 );
$('#speed-dn-label').text( fmt.speedBps( d ) );
- if (this.freeSpace > 0)
- text = fmt.size (this.freeSpace) + " Free";
- else
- text = '';
- $('#freespace-info').text( text );
-
// visible torrents
$('#filter-count').text( fmt.countString('Transfer','Transfers',this._rows.length ) );
},
/* Opera 11.10+ */
background-position: center;
background-repeat: no-repeat; }
- div.torrent_footer #freespace-info {
- float: right;
- text-align: right;
- border: 0px;
- width: 100px; }
/****
*****
/* Opera 11.10+ */
background-position: center;
background-repeat: no-repeat; }
- div.torrent_footer #freespace-info {
- float: right;
- text-align: right;
- border: 0px;
- width: 100px; }
/****
*****