]> granicus.if.org Git - transmission/commitdiff
(web) remove the freespace-info label from the web client.
authorJordan Lee <jordan@transmissionbt.com>
Sun, 10 Feb 2013 18:32:15 +0000 (18:32 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sun, 10 Feb 2013 18:32:15 +0000 (18:32 +0000)
As discussed at https://trac.transmissionbt.com/ticket/4076#comment:25
the freespace indicator is being moved out of the statusbar to another
place.

web/index.html
web/javascript/remote.js
web/javascript/transmission.js
web/style/transmission/common.css
web/style/transmission/mobile.css

index c8049a475a87a379feeaa4975ecc5f87f67d2dd1..2944d02bb65333a96d406a738d4f36d4a786d9c6 100755 (executable)
                        <div id="prefs-button" title="Edit Preferences...">&nbsp;</div>
                        <div id="turtle-button" title="Alternative Speed Limits">&nbsp;</div>
                        <div id="compact-button" title="Compact View">&nbsp;</div>
-
-                       <div title="Free Space available in the Download Folder" id="freespace-info"></div>
                </div>
 
                <div class="contextMenu" id="torrent_context_menu">
index 0b9d9f6daa39f1891a33415490f078583d2e1e7c..dcd0668033219183232fd8c5075aea5f548fe70f 100644 (file)
@@ -18,8 +18,7 @@ var RPC = {
        _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)
index 1d581d962fb2b5426b2b0a6c36f70153f718972e..6164deb8aa2f14600559262bcec167b39b6c5153 100644 (file)
@@ -1080,7 +1080,6 @@ Transmission.prototype =
                     menu = $('#settings_menu');
 
                this.serverVersion = o.version;
-               this.freeSpace = o[RPC._DownloadDirFreeSpace];
 
                this.prefsDialog.set(o);
 
@@ -1130,7 +1129,7 @@ Transmission.prototype =
        updateStatusbar: function()
        {
                var u=0, d=0,
-                   i, row, text,
+                   i, row,
                    fmt = Transmission.fmt,
                    torrents = this.getAllTorrents();
 
@@ -1146,12 +1145,6 @@ Transmission.prototype =
                $('#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 ) );
        },
index a4f374b2151b5b8c1af0cfd3874149e77db59740..39fbfadaf210924fb500894195d0062c158bc87b 100644 (file)
@@ -950,11 +950,6 @@ div.torrent_footer {
       /* Opera 11.10+ */
       background-position: center;
       background-repeat: no-repeat; }
-  div.torrent_footer #freespace-info {
-    float: right;
-    text-align: right;
-    border: 0px;
-    width: 100px; }
 
 /****
 *****
index 88a8f952ac917e8b2fea0f7525f53de272f3f8fb..0267e3cbd99f8d5f4682a3b9b19b88b492a8e620 100644 (file)
@@ -876,11 +876,6 @@ div.torrent_footer {
       /* Opera 11.10+ */
       background-position: center;
       background-repeat: no-repeat; }
-  div.torrent_footer #freespace-info {
-    float: right;
-    text-align: right;
-    border: 0px;
-    width: 100px; }
 
 /****
 *****