Changeset 11066


Ignore:
Timestamp:
Jul 29, 2010, 5:45:23 PM (12 years ago)
Author:
charles
Message:

(trunk clutch) #2996 "turn error torrents red in the main window" -- added.

Location:
trunk/web
Files:
2 edited

Legend:

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

    r10942 r11066  
    653653                }
    654654
     655                var hasError = this.getErrorMessage( ) != undefined;
    655656                // Update the progress details
    656                 if(compact_mode)
     657                if(compact_mode){
    657658                        progress_details = this.getPeerDetails();
     659                        $(root._progress_details_container).toggleClass('error',hasError);
     660                } else {
     661                        $(root._peer_details_container).toggleClass('error',hasError);
     662                }
    658663                setInnerHTML( root._progress_details_container, progress_details );
    659664
  • trunk/web/stylesheets/common.css

    r11000 r11066  
    417417ul.torrent_list li.torrent div.torrent_peer_details {
    418418        font-size: 1em;
     419}
     420
     421ul.torrent_list li.torrent div.torrent_progress_details.error {
     422        color: #FF0000;
     423}
     424ul.torrent_list li.torrent.selected div.torrent_progress_details.error {
     425        color: #FFF;
     426}
     427ul.torrent_list li.torrent div.torrent_peer_details.error {
     428        color: #FF0000;
     429}
     430ul.torrent_list li.torrent.selected div.torrent_peer_details.error {
     431        color: #FFF;
    419432}
    420433
Note: See TracChangeset for help on using the changeset viewer.