Permalink
Browse files

Using bottom-sticking OK buttons in more places.

  • Loading branch information...
kohsuke committed Oct 12, 2012
1 parent 33af6b5 commit a1cef72affddedda03a6c9e3557916880b27e179
View
@@ -55,6 +55,8 @@
<!-- 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[

0 comments on commit a1cef72

Please sign in to comment.