Skip to content

Commit

Permalink
[JENKINS-23891] Redesign of configuration page
Browse files Browse the repository at this point in the history
- Second "Advanced" button removed.
- It was confusing, nobody expected it there.
  • Loading branch information
mixalturek committed Jul 19, 2014
1 parent b166231 commit f190752
Showing 1 changed file with 92 additions and 98 deletions.
190 changes: 92 additions & 98 deletions src/main/resources/util/thresholds.jelly
Expand Up @@ -127,104 +127,98 @@

</f:entry>

<f:entry title="${%graph.configuration}" description="${%graph.description}">

<f:advanced>

<f:entry title="${%graph.configuration}" description="${%graph.description}">

<table>
<tr>
<td>
<label for="configGraph.xSize">${%Chart Width}</label>
<f:textbox name="${id}.config.configGraph.xSize" value="${config.configGraph.xSize}"
id="configGraph.xSize"/>
</td>
<td>
<label for="configGraph.xSize">${%Chart Height}</label>
<f:textbox name="${id}.config.configGraph.ySize" value="${config.configGraph.ySize}"
id="configGraph.ySize"/>
</td>
<td colspan="2">
<st:nbsp/>
</td>
</tr>
<tr>
<td>
<f:checkbox name="${id}.config.configGraph.displayAllErrors"
checked="${config.configGraph.displayAllErrors}" id="configGraph.displayAllErrors"/>
<st:nbsp/>
<label for="configGraph.displayAllErrors">${%Display all errors}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayErrorSeverity"
checked="${config.configGraph.displayErrorSeverity}"
id="configGraph.displayErrorSeverity"/>
<st:nbsp/>
<label for="configGraph.displayErrorSeverity">${%Display errors}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayWarningSeverity"
checked="${config.configGraph.displayWarningSeverity}"
id="configGrah.displayWarningSeverity"/>
<st:nbsp/>
<label for="configGraph.displayWarningSeverity">${%Display warnings}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayStyleSeverity"
checked="${config.configGraph.displayStyleSeverity}"
id="configGraph.displayStyleSeverity"/>
<st:nbsp/>
<label for="configGraph.displayStyleSeverity">${%Display style}</label>
<st:nbsp/>
</td>
</tr>
<tr>
<td>
<f:checkbox name="${id}.config.configGraph.displayPerformanceSeverity"
checked="${config.configGraph.displayPerformanceSeverity}"
id="configGraph.displayPerformanceSeverity"/>
<st:nbsp/>
<label for="configGraph.displayPerformanceSeverity">${%Display performance}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayPortabilitySeverity"
checked="${config.configGraph.displayPortabilitySeverity}"
id="configGraph.displayPortabilitySeverity"/>
<st:nbsp/>
<label for="configGraph.displayPortabilitySeverity">${%Display portability}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayInformationSeverity"
checked="${config.configGraph.displayInformationSeverity}"
id="configGraph.displayInformationSeverity"/>
<st:nbsp/>
<label for="configGraph.displayInformationSeverity">${%Display information}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayNoCategorySeverity"
checked="${config.configGraph.displayNoCategorySeverity}"
id="configGraph.displayNoCategorySeverity"/>
<st:nbsp/>
<label for="configGraph.displayNoCategorySeverity">${%Display no category}</label>
<st:nbsp/>
</td>
</tr>
</table>

</f:entry>

</f:advanced>
<table>
<tr>
<td>
<label for="configGraph.xSize">${%Chart Width}</label>
<f:textbox name="${id}.config.configGraph.xSize" value="${config.configGraph.xSize}"
id="configGraph.xSize"/>
</td>
<td>
<label for="configGraph.xSize">${%Chart Height}</label>
<f:textbox name="${id}.config.configGraph.ySize" value="${config.configGraph.ySize}"
id="configGraph.ySize"/>
</td>
<td colspan="2">
<st:nbsp/>
</td>
</tr>
<tr>
<td>
<f:checkbox name="${id}.config.configGraph.displayAllErrors"
checked="${config.configGraph.displayAllErrors}" id="configGraph.displayAllErrors"/>
<st:nbsp/>
<label for="configGraph.displayAllErrors">${%Display all errors}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayErrorSeverity"
checked="${config.configGraph.displayErrorSeverity}"
id="configGraph.displayErrorSeverity"/>
<st:nbsp/>
<label for="configGraph.displayErrorSeverity">${%Display errors}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayWarningSeverity"
checked="${config.configGraph.displayWarningSeverity}"
id="configGrah.displayWarningSeverity"/>
<st:nbsp/>
<label for="configGraph.displayWarningSeverity">${%Display warnings}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayStyleSeverity"
checked="${config.configGraph.displayStyleSeverity}"
id="configGraph.displayStyleSeverity"/>
<st:nbsp/>
<label for="configGraph.displayStyleSeverity">${%Display style}</label>
<st:nbsp/>
</td>
</tr>
<tr>
<td>
<f:checkbox name="${id}.config.configGraph.displayPerformanceSeverity"
checked="${config.configGraph.displayPerformanceSeverity}"
id="configGraph.displayPerformanceSeverity"/>
<st:nbsp/>
<label for="configGraph.displayPerformanceSeverity">${%Display performance}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayPortabilitySeverity"
checked="${config.configGraph.displayPortabilitySeverity}"
id="configGraph.displayPortabilitySeverity"/>
<st:nbsp/>
<label for="configGraph.displayPortabilitySeverity">${%Display portability}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayInformationSeverity"
checked="${config.configGraph.displayInformationSeverity}"
id="configGraph.displayInformationSeverity"/>
<st:nbsp/>
<label for="configGraph.displayInformationSeverity">${%Display information}</label>
<st:nbsp/>
</td>

<td>
<f:checkbox name="${id}.config.configGraph.displayNoCategorySeverity"
checked="${config.configGraph.displayNoCategorySeverity}"
id="configGraph.displayNoCategorySeverity"/>
<st:nbsp/>
<label for="configGraph.displayNoCategorySeverity">${%Display no category}</label>
<st:nbsp/>
</td>
</tr>
</table>

</f:entry>
</j:jelly>

0 comments on commit f190752

Please sign in to comment.