Changeset 5707


Ignore:
Timestamp:
Aug 25, 2011, 9:06:07 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1617: Use a different color for progress bar of failed jobs

Location:
trunk/www
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/include/styles/progressbar.css

    r5426 r5707  
    3131  border-top: 1px solid #999999;
    3232  border-left: 1px solid #999999;
     33  margin: 0px;
     34  padding: 0px;
    3335}
    3436
     
    3941}
    4042
     43.progressbar.error .done {
     44  background: #CC0000;
     45}
    4146.progressbar .remain {
    4247  border-bottom: 1px solid #999999;
    4348  border-right: 1px solid #999999;
    4449  background: #FFFFFF;
     50}
     51.progressbar.error .remain {
     52  background: #D0D0D0;
    4553}
    4654
  • trunk/www/views/jobs/list_jobs.jsp

    r5590 r5707  
    622622                  <tr>
    623623                  <td width="100">
    624                     <table width="100" class="progressbar" border=0 cellspacing=0 cellpadding=0>
     624                    <table width="100" class="progressbar <%=item.getStatus() == Job.Status.ERROR ? "error" : ""%>" border=0 cellspacing=0 cellpadding=0>
    625625                    <tr>
    626626                      <%
Note: See TracChangeset for help on using the changeset viewer.