Subversion Repositories DevTools

Rev

Rev 7063 | Rev 7065 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7063 Rev 7064
Line 17... Line 17...
17
            el.html('<a href=admin_build_service.asp style="text-decoration:none"><span class="mmError blink" title="Click for details">Warning: All Build Daemons are Stopped</span></a>');
17
            el.html('<a href=admin_build_service.asp style="text-decoration:none"><span class="mmError blink" title="Click for details">Warning: All Build Daemons are Stopped</span></a>');
18
        }else{
18
        }else{
19
            el.empty();
19
            el.empty();
20
        }
20
        }
21
 
21
 
22
        //  Indicate if the user is now logged out
-
 
23
        if ( !data.loggedIn ) {
-
 
24
            $('#usrName')[0].style.textDecoration='line-through';
-
 
25
        } else {
-
 
26
            $('#usrName')[0].style.textDecoration='none';
-
 
27
        }
-
 
28
 
-
 
29
        // Insert server date-time
22
        // Insert server date-time
30
        $('#hdrDateTime').text(data.now);
23
        $('#hdrDateTime').text(data.now);
-
 
24
 
-
 
25
        //  Indicate if the user is now logged out
-
 
26
        var ul =  $('#usrName');
-
 
27
        if ( ul.length ){
-
 
28
            if ( !data.loggedIn ) {
-
 
29
                ul[0].style.textDecoration = 'line-through'; 
-
 
30
            } else {
-
 
31
                ul[0].style.textDecoration='none';
-
 
32
            }
-
 
33
        }
31
        
34
        
32
    },'json');
35
    },'json');
33
}
36
}
34
 
37
 
35
// Function to blink Text. Use sparingly
38
// Function to blink Text. Use sparingly