Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[FIXED JENKINS-16571] Use ${resUrl} for static icon URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 12, 2013
1 parent 5c7bcfb commit 2be77cf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/result/main.jelly
Expand Up @@ -7,9 +7,9 @@

<st:header name="Content-Type" value="text/html;charset=UTF-8" />
<j:if test="${it.hasAnnotations()}">
<script type="text/javascript" src="${rootURL}/plugin/analysis-core/yui/utilities.js" />
<script type="text/javascript" src="${resURL}/plugin/analysis-core/yui/utilities.js" />
<l:yui module="tabview" />
<script type="text/javascript" src="${rootURL}/plugin/analysis-core/yui/dispatcher-min.js" />
<script type="text/javascript" src="${resURL}/plugin/analysis-core/yui/dispatcher-min.js" />

<script type="text/javascript">
var myTabs = new YAHOO.widget.TabView("statistics");
Expand Down Expand Up @@ -194,24 +194,24 @@

#statistics .loading {
background:#ffffff; /* content background color */
background-image:url(${rootURL}/plugin/analysis-core/icons/spinner.gif);
background-image:url(${resURL}/plugin/analysis-core/icons/spinner.gif);
background-position:center center;
background-repeat:no-repeat;
}

.priority-high {
background: #EF2929;
background-image:url(${rootURL}/plugin/analysis-core/icons/clearpixel.gif);
background-image:url(${resURL}/plugin/analysis-core/icons/clearpixel.gif);
}

.priority-normal {
background: #FCE94F;
background-image:url(${rootURL}/plugin/analysis-core/icons/clearpixel.gif);
background-image:url(${resURL}/plugin/analysis-core/icons/clearpixel.gif);
}

.priority-low {
background: #729FCF;
background-image:url(${rootURL}/plugin/analysis-core/icons/clearpixel.gif);
background-image:url(${resURL}/plugin/analysis-core/icons/clearpixel.gif);
}

</style>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/util/graphtype.jelly
Expand Up @@ -19,7 +19,7 @@
<img src="${it.url}/${id}" lazymap="${it.url}/${id}Map"/>
</j:if>
<j:if test="${!it.hasMeaningfulGraph()}">
<img src="${rootURL}/plugin/analysis-core/icons/${id}.png"/>
<img src="${resURL}/plugin/analysis-core/icons/${id}.png"/>
</j:if>
</p>

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/util/health.jelly
Expand Up @@ -13,14 +13,14 @@
<tbody>
<tr>
<td style="vertical-align: middle;">
<img src="${rootURL}/images/16x16/health-80plus.gif" alt="100%" title="${%description.healthy}" /> ${%threshold.100.percent}
<img src="${resURL}/images/16x16/health-80plus.gif" alt="100%" title="${%description.healthy}" /> ${%threshold.100.percent}
</td>
<td>
<f:textbox name="healthy" value="${instance.healthy}" />
</td>
<td width="20"/>
<td style="vertical-align: middle;">
<img src="${rootURL}/images/16x16/health-00to19.gif" alt="0%" title="${%description.unhealthy}" /> ${%threshold.0.percent}
<img src="${resURL}/images/16x16/health-00to19.gif" alt="0%" title="${%description.unhealthy}" /> ${%threshold.0.percent}
</td>
<td>
<f:textbox name="unHealthy" value="${instance.unHealthy}" />
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/util/thresholds.jelly
Expand Up @@ -23,7 +23,7 @@
<tbody>
<tr>
<td style="vertical-align: middle;">
<img src="${rootURL}/images/16x16/yellow.gif" alt="100%"
<img src="${resURL}/images/16x16/yellow.gif" alt="100%"
title="${%description.unstableTotal}" />
</td>
<td>
Expand All @@ -45,7 +45,7 @@
</tr>
<tr>
<td style="vertical-align: middle;">
<img src="${rootURL}/images/16x16/red.gif" alt="100%"
<img src="${resURL}/images/16x16/red.gif" alt="100%"
title="${%description.failedTotal}" />
</td>
<td>
Expand Down Expand Up @@ -85,7 +85,7 @@
<tbody>
<tr>
<td style="vertical-align: middle;">
<img src="${rootURL}/images/16x16/yellow.gif" alt="100%"
<img src="${resURL}/images/16x16/yellow.gif" alt="100%"
title="${%description.unstableNew}" />
</td>
<td>
Expand All @@ -107,7 +107,7 @@
</tr>
<tr>
<td style="vertical-align: middle;">
<img src="${rootURL}/images/16x16/red.gif" alt="100%"
<img src="${resURL}/images/16x16/red.gif" alt="100%"
title="${%description.failedNew}" />
</td>
<td>
Expand Down

0 comments on commit 2be77cf

Please sign in to comment.