提交 3581170d 编写于 作者: M mindless

change some <input> to use f:textbox or f:password


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21545 71c3de6d-444a-0410-be80-ed276b4c234a
上级 03d15ffd
......@@ -40,7 +40,7 @@ THE SOFTWARE.
</f:entry>
<f:entry title="${%Password}">
<input type="password" name="password" class="setting-input" />
<f:password name="password" />
</f:entry>
<f:block>
......
......@@ -38,7 +38,7 @@ THE SOFTWARE.
items="${it.allCvsRoots}" />
</f:entry>
<f:entry title="Password">
<input type="password" name="password" class="setting-input"/>
<f:password name="password" />
</f:entry>
<f:block>
<f:submit value="OK" />
......
......@@ -27,12 +27,10 @@ THE SOFTWARE.
<f:repeatable var="env" items="${instance.envVars.entrySet()}">
<table width="100%">
<f:entry title="${%name}">
<input class="setting-input" name="env.key" type="text"
value="${env.key}" />
<f:textbox name="env.key" value="${env.key}" />
</f:entry>
<f:entry title="${%value}">
<input class="setting-input" name="env.value" type="text"
value="${env.value}" />
<f:textbox name="env.value" value="${env.value}" />
</f:entry>
<f:entry title="">
<div align="right">
......@@ -42,5 +40,4 @@ THE SOFTWARE.
</table>
</f:repeatable>
</f:entry>
</j:jelly>
......@@ -23,10 +23,8 @@ THE SOFTWARE.
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:entry title="${%Recipients}"
description="${%description}">
<input class="setting-input" name="mailer_recipients"
type="text" value="${instance.recipients}"/>
<f:entry title="${%Recipients}" description="${%description}">
<f:textbox name="mailer_recipients" value="${instance.recipients}"/>
</f:entry>
<f:entry title="">
<f:checkbox name="mailer_notifyEveryUnstableBuild" checked="${h.defaultToTrue(!instance.dontNotifyEveryUnstableBuild)}" />
......
......@@ -36,8 +36,7 @@
</select>
</f:entry>
<f:entry title="${%Home}">
<input class="setting-input" name="locations.home" type="text"
value="${location.home}" />
<f:textbox name="locations.home" value="${location.home}" />
</f:entry>
<f:entry title="">
<div align="right">
......
......@@ -31,8 +31,8 @@ THE SOFTWARE.
<f:section title="${%SCM Polling}">
<f:entry title="${%Max # of concurrent polling}"
help="/help/triggers/SCMTrigger/concurrency.html">
<input class="setting-input" name="poll_scm_threads"
type="text" value="${descriptor.pollingThreadCount==0 ? '' : descriptor.pollingThreadCount}"/>
<f:textbox name="poll_scm_threads"
value="${descriptor.pollingThreadCount==0 ? '' : descriptor.pollingThreadCount}"/>
</f:entry>
</f:section>
</j:if>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册