提交 a1557244 编写于 作者: M mindless

[FIXED HUDSON-6534] spacing and hover-background for parameters page,

based on patch from jacob_robertson.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31785 71c3de6d-444a-0410-be80-ed276b4c234a
上级 16bc9deb
......@@ -38,10 +38,12 @@ THE SOFTWARE.
<l:main-panel>
<h1>${it.owner.pronoun} ${it.owner.displayName}</h1>
<p>${%description}</p>
<f:form method="post" action="build" name="parameters">
<f:form method="post" action="build" name="parameters" tableClass="parameters">
<j:forEach var="parameterDefinition" items="${it.parameterDefinitions}">
<st:include it="${parameterDefinition}"
page="${parameterDefinition.descriptor.valuePage}" />
<tbody>
<st:include it="${parameterDefinition}"
page="${parameterDefinition.descriptor.valuePage}" />
</tbody>
</j:forEach>
<f:block>
<j:set var="delay" value="${request.getParameter('delay')}" />
......
......@@ -44,10 +44,13 @@ THE SOFTWARE.
@target of the &lt;form> HTML element. Works like &lt;a target="...">
and controls which window the result of the submission goes to.
</st:attribute>
<st:attribute name="tableClass">
Optional class attribute for &lt;table> that is created in the form.
</st:attribute>
</st:documentation>
<form action="${action}" method="${method}" enctype="${attrs.enctype}" name="${name}" target="${attrs.target}">
<table width="100%">
<d:invokeBody/>
</table>
</form>
</j:jelly>
\ No newline at end of file
<form action="${action}" method="${method}" enctype="${attrs.enctype}" name="${name}" target="${attrs.target}">
<table width="100%" class="${attrs.tableClass}">
<d:invokeBody/>
</table>
</form>
</j:jelly>
......@@ -538,6 +538,24 @@ div.behavior-loading {
text-align: left;
}
/* ============================ parameters form ========================== */
table.parameters {
border-collapse: collapse;
}
table.parameters > tbody > tr:first-child > td {
padding-top: 4px;
}
table.parameters .setting-description {
padding-bottom: 4px;
}
table.parameters > tbody:hover {
background-color: #f0f0f0;
}
/* ============================ health report hover ========================== */
.healthReport a {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册