Fix form buttons (#1488548)

pull/13/head
Aleksander Machniak 12 years ago
parent 7dc7eb19f1
commit 2ca9f4ea59

@ -134,14 +134,14 @@ body.iframe,
#formfooter .footerleft #formfooter .footerleft
{ {
padding-left: 2px; padding: 0 2px 10px;
white-space: nowrap; white-space: nowrap;
float: left; float: left;
} }
#formfooter .footerright #formfooter .footerright
{ {
padding-right: 2px; padding: 0 2px 10px;
white-space: nowrap; white-space: nowrap;
text-align: right; text-align: right;
float: right; float: right;

@ -11,12 +11,14 @@
<div id="folder-details" class="boxcontent"> <div id="folder-details" class="boxcontent">
<roundcube:object name="folderdetails" /> <roundcube:object name="folderdetails" />
<p> <div id="formfooter">
<roundcube:if condition="!strlen(request:_mbox)" /> <div class="footerleft">
<input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" />&nbsp; <roundcube:if condition="!strlen(request:_mbox)" />
<roundcube:endif /> <input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" />&nbsp;
<roundcube:button command="save" type="input" class="button mainaction" label="save" /> <roundcube:endif />
</p> <roundcube:button command="save" type="input" class="button mainaction" label="save" />
</div>
</div>
</div> </div>
<script type="text/javascript">rcube_init_tabs('folder-details > form')</script> <script type="text/javascript">rcube_init_tabs('folder-details > form')</script>

@ -18,12 +18,15 @@
<div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div> <div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div>
<div id="identity-details" class="boxcontent"> <div id="identity-details" class="boxcontent">
<roundcube:object name="identityform" id="identity-form" size="40" textareacols="70" textarearows="6" /> <roundcube:object name="identityform" id="identity-form" size="40" textareacols="70" textarearows="6" />
<script type="text/javascript">rcube_init_tabs('identity-form')</script>
<div id="formfooter"> <script type="text/javascript">rcube_init_tabs('identity-form')</script>
<roundcube:button command="save" type="input" class="button mainaction" label="save" />
</div> <div id="formfooter">
<div class="footerleft">
<roundcube:button command="save" type="input" class="button mainaction" label="save" />
</div>
</div>
</div> </div>
</body> </body>

@ -10,13 +10,12 @@
<div id="prefs-title" class="boxtitle"><roundcube:object name="sectionname" /></div> <div id="prefs-title" class="boxtitle"><roundcube:object name="sectionname" /></div>
<div id="prefs-details" class="boxcontent"> <div id="prefs-details" class="boxcontent">
<roundcube:object name="userprefs" form="form" /> <roundcube:object name="userprefs" form="form" />
</div> <div id="formfooter">
<div class="footerleft">
<div id="formfooter"> <roundcube:button command="save" type="input" class="button mainaction" label="save" />
<div class="footerleft"> </div>
<roundcube:button command="save" type="input" class="button mainaction" label="save" /> </div>
</div>
</div> </div>
</body> </body>

Loading…
Cancel
Save