mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +00:00
(web) remove the freespace-info label from the web client.
As discussed at https://trac.transmissionbt.com/ticket/4076#comment:25 the freespace indicator is being moved out of the statusbar to another place.
This commit is contained in:
@@ -390,8 +390,6 @@
|
|||||||
<div id="prefs-button" title="Edit Preferences..."> </div>
|
<div id="prefs-button" title="Edit Preferences..."> </div>
|
||||||
<div id="turtle-button" title="Alternative Speed Limits"> </div>
|
<div id="turtle-button" title="Alternative Speed Limits"> </div>
|
||||||
<div id="compact-button" title="Compact View"> </div>
|
<div id="compact-button" title="Compact View"> </div>
|
||||||
|
|
||||||
<div title="Free Space available in the Download Folder" id="freespace-info"></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="contextMenu" id="torrent_context_menu">
|
<div class="contextMenu" id="torrent_context_menu">
|
||||||
|
|||||||
@@ -18,8 +18,7 @@ var RPC = {
|
|||||||
_TurtleState : 'alt-speed-enabled',
|
_TurtleState : 'alt-speed-enabled',
|
||||||
_TurtleUpSpeedLimit : 'alt-speed-up',
|
_TurtleUpSpeedLimit : 'alt-speed-up',
|
||||||
_UpSpeedLimit : 'speed-limit-up',
|
_UpSpeedLimit : 'speed-limit-up',
|
||||||
_UpSpeedLimited : 'speed-limit-up-enabled',
|
_UpSpeedLimited : 'speed-limit-up-enabled'
|
||||||
_DownloadDirFreeSpace : 'download-dir-free-space'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function TransmissionRemote(controller)
|
function TransmissionRemote(controller)
|
||||||
|
|||||||
@@ -1080,7 +1080,6 @@ Transmission.prototype =
|
|||||||
menu = $('#settings_menu');
|
menu = $('#settings_menu');
|
||||||
|
|
||||||
this.serverVersion = o.version;
|
this.serverVersion = o.version;
|
||||||
this.freeSpace = o[RPC._DownloadDirFreeSpace];
|
|
||||||
|
|
||||||
this.prefsDialog.set(o);
|
this.prefsDialog.set(o);
|
||||||
|
|
||||||
@@ -1130,7 +1129,7 @@ Transmission.prototype =
|
|||||||
updateStatusbar: function()
|
updateStatusbar: function()
|
||||||
{
|
{
|
||||||
var u=0, d=0,
|
var u=0, d=0,
|
||||||
i, row, text,
|
i, row,
|
||||||
fmt = Transmission.fmt,
|
fmt = Transmission.fmt,
|
||||||
torrents = this.getAllTorrents();
|
torrents = this.getAllTorrents();
|
||||||
|
|
||||||
@@ -1146,12 +1145,6 @@ Transmission.prototype =
|
|||||||
$('#speed-dn-container').toggleClass('active', d>0 );
|
$('#speed-dn-container').toggleClass('active', d>0 );
|
||||||
$('#speed-dn-label').text( fmt.speedBps( d ) );
|
$('#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
|
// visible torrents
|
||||||
$('#filter-count').text( fmt.countString('Transfer','Transfers',this._rows.length ) );
|
$('#filter-count').text( fmt.countString('Transfer','Transfers',this._rows.length ) );
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -950,11 +950,6 @@ div.torrent_footer {
|
|||||||
/* Opera 11.10+ */
|
/* Opera 11.10+ */
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat; }
|
background-repeat: no-repeat; }
|
||||||
div.torrent_footer #freespace-info {
|
|
||||||
float: right;
|
|
||||||
text-align: right;
|
|
||||||
border: 0px;
|
|
||||||
width: 100px; }
|
|
||||||
|
|
||||||
/****
|
/****
|
||||||
*****
|
*****
|
||||||
|
|||||||
@@ -876,11 +876,6 @@ div.torrent_footer {
|
|||||||
/* Opera 11.10+ */
|
/* Opera 11.10+ */
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat; }
|
background-repeat: no-repeat; }
|
||||||
div.torrent_footer #freespace-info {
|
|
||||||
float: right;
|
|
||||||
text-align: right;
|
|
||||||
border: 0px;
|
|
||||||
width: 100px; }
|
|
||||||
|
|
||||||
/****
|
/****
|
||||||
*****
|
*****
|
||||||
|
|||||||
Reference in New Issue
Block a user