提交 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>
......@@ -59,4 +59,4 @@ THE SOFTWARE.
</div>
</l:main-panel>
</l:layout>
</j:jelly>
\ No newline at end of file
</j:jelly>
......@@ -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" />
......@@ -46,4 +46,4 @@ THE SOFTWARE.
</f:form>
</l:main-panel>
</l:layout>
</j:jelly>
\ No newline at end of file
</j:jelly>
......@@ -23,24 +23,21 @@ 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="${%List of key-value pairs}" help="${descriptor.getHelpPage()}">
<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:entry>
<f:entry title="${%value}">
<input class="setting-input" name="env.value" type="text"
value="${env.value}" />
</f:entry>
<f:entry title="">
<div align="right">
<f:repeatableDeleteButton />
</div>
</f:entry>
</table>
</f:repeatable>
</f:entry>
</j:jelly>
\ No newline at end of file
<f:entry title="${%List of key-value pairs}" help="${descriptor.getHelpPage()}">
<f:repeatable var="env" items="${instance.envVars.entrySet()}">
<table width="100%">
<f:entry title="${%name}">
<f:textbox name="env.key" value="${env.key}" />
</f:entry>
<f:entry title="${%value}">
<f:textbox name="env.value" value="${env.value}" />
</f:entry>
<f:entry title="">
<div align="right">
<f:repeatableDeleteButton />
</div>
</f:entry>
</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)}" />
......@@ -37,4 +35,4 @@ THE SOFTWARE.
/>
<label class="attach-previous">${%Send separate e-mails to individuals who broke the build}</label>
</f:entry>
</j:jelly>
\ No newline at end of file
</j:jelly>
......@@ -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">
......@@ -48,4 +47,4 @@
</f:repeatable>
</f:entry>
</j:jelly>
\ No newline at end of file
</j:jelly>
......@@ -31,9 +31,9 @@ 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>
</j:jelly>
\ No newline at end of file
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册