提交 a1cef72a 编写于 作者: K Kohsuke Kawaguchi

Using bottom-sticking OK buttons in more places.

上级 33af6b59
......@@ -55,6 +55,8 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=rfe>
Using the bottom-sticking "OK" button in more places
<li class=rfe>
Slave logs are put into sub-directories to avoid cluttering $JENKINS_HOME
<li class=rfe>
......
......@@ -55,7 +55,12 @@ THE SOFTWARE.
<f:descriptorList descriptors="${it.getApplicablePropertyDescriptors()}" instances="${it.properties}" />
<f:block>
<f:submit value="OK" />
<div id="bottom-sticker" >
<div class="bottom-sticker-inner">
<f:submit value="${%OK}" />
<f:apply />
</div>
</div>
</f:block>
</f:form>
</l:main-panel>
......
......@@ -93,13 +93,17 @@ THE SOFTWARE.
</j:if>
<s:block>
<!--
when there's only one radio above, form.elements['mode]' won't return an array, which makes the script complex.
So always force non-empty array
-->
<input type="radio" name="mode" value="dummy1" style="display:none" />
<input type="radio" name="mode" value="dummy2" style="display:none" />
<input type="submit" name="Submit" value="OK" id="ok" style="margin-left:5em" />
<div id="bottom-sticker" >
<div class="bottom-sticker-inner">
<!--
when there's only one radio above, form.elements['mode]' won't return an array, which makes the script complex.
So always force non-empty array
-->
<input type="radio" name="mode" value="dummy1" style="display:none" />
<input type="radio" name="mode" value="dummy2" style="display:none" />
<input type="submit" name="Submit" value="OK" id="ok" style="margin-left:5em" />
</div>
</div>
</s:block>
</s:form>
<script><![CDATA[
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册