Skip to content

Commit

Permalink
[JENKINS-46033] Column ordering based on Status and JobName
Browse files Browse the repository at this point in the history
Change-Id: I35bf35f5598eea962d20ff4c824d51f5fd89505f
  • Loading branch information
v1v committed Aug 9, 2017
1 parent 44cc101 commit 533c320
Showing 1 changed file with 10 additions and 10 deletions.
Expand Up @@ -46,24 +46,24 @@
<j:forEach var="lint" items="${job.lintList}">
<j:if test="${!lint.isActive()}">
<j:if test="${!lint.isEnabled()}">
<td data="disabled" tooltip="disabled" style="background-color: #f0f0f0;"/>
<td data="disabled-${job.name}" tooltip="disabled" style="background-color: #f0f0f0;"/>
</j:if>
<j:if test="${lint.isEnabled()}">
<j:if test="${lint.isIgnored()}">
<td data="ignored" tooltip="ignored" style="background-color: #f9ef9e;"/>
<td data="ignored-${job.name}" tooltip="ignored" style="background-color: #f9ef9e;"/>
</j:if>
</j:if>
</j:if>
<j:if test="${lint.isActive()}">
<j:if test="${lint.found}">
<td data="found" tooltip="found" style="background-color: #FF8566;"/>
<td data="found-${job.name}" tooltip="found" style="background-color: #FF8566;"/>
</j:if>
<j:if test="${!lint.found}">
<td data="not_found" tooltip="not_found" style="background-color: #B8EEB8;"/>
<td data="not_found-${job.name}" tooltip="not_found" style="background-color: #B8EEB8;"/>
</j:if>
</j:if>
</j:forEach>
<td data="${job.getLintHealthReport().getScore()}"><img src="${rootURL}${job.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${job.getLintHealthReport().getDescription()}"/></td>
<td data="${job.getLintHealthReport().getScore()}-${job.name}"><img src="${rootURL}${job.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${job.getLintHealthReport().getDescription()}"/></td>
</tr>
</j:forEach>
</tbody>
Expand Down Expand Up @@ -143,24 +143,24 @@
<j:forEach var="lint" items="${slave.lintList}">
<j:if test="${!lint.isActive()}">
<j:if test="${!lint.isEnabled()}">
<td data="disabled" tooltip="disabled" style="background-color: #f0f0f0;"/>
<td data="disabled-${slave.name}" tooltip="disabled" style="background-color: #f0f0f0;"/>
</j:if>
<j:if test="${lint.isEnabled()}">
<j:if test="${lint.isIgnored()}">
<td data="ignored" tooltip="ignored" style="background-color: #f9ef9e;"/>
<td data="ignored-${slave.name}" tooltip="ignored" style="background-color: #f9ef9e;"/>
</j:if>
</j:if>
</j:if>
<j:if test="${lint.isActive()}">
<j:if test="${lint.found}">
<td data="found" tooltip="found" style="background-color: #FF8566;"/>
<td data="found-${slave.name}" tooltip="found" style="background-color: #FF8566;"/>
</j:if>
<j:if test="${!lint.found}">
<td data="not_found" tooltip="not_found" style="background-color: #B8EEB8;"/>
<td data="not_found-${slave.name}" tooltip="not_found" style="background-color: #B8EEB8;"/>
</j:if>
</j:if>
</j:forEach>
<td data="${slave.getLintHealthReport().getScore()}"><img src="${rootURL}${slave.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${slave.getLintHealthReport().getDescription()}"/></td>
<td data="${slave.getLintHealthReport().getScore()}-${slave.name}"><img src="${rootURL}${slave.getLintHealthReport().getIconUrl('16x16')}" alt="" title="${slave.getLintHealthReport().getDescription()}"/></td>
</tr>
</j:forEach>
</tbody>
Expand Down

0 comments on commit 533c320

Please sign in to comment.