Changeset 8784


Ignore:
Timestamp:
Jul 6, 2009, 11:51:02 PM (13 years ago)
Author:
kjg
Message:

(trunk web) iPhone file inspector improvements

Location:
trunk/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent.js

    r8760 r8784  
    753753                this._dirty = true;
    754754                this._wanted = wanted;
    755                 this.element().toggleClass( 'skip', !wanted );
     755                if(!iPhone)
     756                  this.element().toggleClass( 'skip', !wanted );
    756757                var command = wanted ? 'files-wanted' : 'files-unwanted';
    757758                this._torrent._controller.changeFileCommand(command, this._torrent, this);
     
    813814
    814815                var prio;
    815                 if( x < 12 ) prio = -1;
    816                 else if( x < 23 ) prio = 0;
    817                 else prio = 1;
     816                if(iPhone)
     817                {
     818                        if( x < 8 ) prio = -1;
     819                        else if( x < 27 ) prio = 0;
     820                        else prio = 1;
     821                }
     822                else
     823                {
     824                        if( x < 12 ) prio = -1;
     825                        else if( x < 23 ) prio = 0;
     826                        else prio = 1;
     827                }
    818828                this.setPriority( prio );
    819829        }
  • trunk/web/stylesheets/iphone.css

    r8731 r8784  
    723723}
    724724div.file_priority_control.normal {
    725         background-position: left top;
    726 }
    727 div.file_priority_control.normal:hover {
    728725        background-position: right top;
    729726}
    730727div.file_priority_control.high {
    731         background-position: left -19px;
    732 }
    733 div.file_priority_control.high:hover {
    734728        background-position: right -19px;
    735729}
    736730div.file_priority_control.low {
    737         background-position: left -38px;
    738 }
    739 div.file_priority_control.low:hover {
    740731        background-position: right -38px;
    741732}
Note: See TracChangeset for help on using the changeset viewer.