summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-24 14:19:19 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-24 14:19:19 +0200
commit2ca9f4ea5979c9412d5e47e4b68cd08abb0e7d38 (patch)
tree315d91e28fba7be8b7947a3a6334eee876026e9e
parent7dc7eb19f101203a508863d440e184fa7c6e9444 (diff)
Fix form buttons (#1488548)
-rw-r--r--skins/default/settings.css4
-rw-r--r--skins/default/templates/folderedit.html14
-rw-r--r--skins/default/templates/identityedit.html13
-rw-r--r--skins/default/templates/settingsedit.html13
4 files changed, 24 insertions, 20 deletions
diff --git a/skins/default/settings.css b/skins/default/settings.css
index 25150f027..24c4382b5 100644
--- a/skins/default/settings.css
+++ b/skins/default/settings.css
@@ -134,14 +134,14 @@ body.iframe,
#formfooter .footerleft
{
- padding-left: 2px;
+ padding: 0 2px 10px;
white-space: nowrap;
float: left;
}
#formfooter .footerright
{
- padding-right: 2px;
+ padding: 0 2px 10px;
white-space: nowrap;
text-align: right;
float: right;
diff --git a/skins/default/templates/folderedit.html b/skins/default/templates/folderedit.html
index c5fa2490f..28b9a5507 100644
--- a/skins/default/templates/folderedit.html
+++ b/skins/default/templates/folderedit.html
@@ -11,12 +11,14 @@
<div id="folder-details" class="boxcontent">
<roundcube:object name="folderdetails" />
- <p>
- <roundcube:if condition="!strlen(request:_mbox)" />
- <input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" />&nbsp;
- <roundcube:endif />
- <roundcube:button command="save" type="input" class="button mainaction" label="save" />
- </p>
+ <div id="formfooter">
+ <div class="footerleft">
+ <roundcube:if condition="!strlen(request:_mbox)" />
+ <input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" />&nbsp;
+ <roundcube:endif />
+ <roundcube:button command="save" type="input" class="button mainaction" label="save" />
+ </div>
+ </div>
</div>
<script type="text/javascript">rcube_init_tabs('folder-details > form')</script>
diff --git a/skins/default/templates/identityedit.html b/skins/default/templates/identityedit.html
index 3416f414d..3b33752ca 100644
--- a/skins/default/templates/identityedit.html
+++ b/skins/default/templates/identityedit.html
@@ -18,12 +18,15 @@
<div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div>
<div id="identity-details" class="boxcontent">
-<roundcube:object name="identityform" id="identity-form" size="40" textareacols="70" textarearows="6" />
-<script type="text/javascript">rcube_init_tabs('identity-form')</script>
+ <roundcube:object name="identityform" id="identity-form" size="40" textareacols="70" textarearows="6" />
-<div id="formfooter">
- <roundcube:button command="save" type="input" class="button mainaction" label="save" />
-</div>
+ <script type="text/javascript">rcube_init_tabs('identity-form')</script>
+
+ <div id="formfooter">
+ <div class="footerleft">
+ <roundcube:button command="save" type="input" class="button mainaction" label="save" />
+ </div>
+ </div>
</div>
</body>
diff --git a/skins/default/templates/settingsedit.html b/skins/default/templates/settingsedit.html
index ec980a8f0..642eb094e 100644
--- a/skins/default/templates/settingsedit.html
+++ b/skins/default/templates/settingsedit.html
@@ -10,13 +10,12 @@
<div id="prefs-title" class="boxtitle"><roundcube:object name="sectionname" /></div>
<div id="prefs-details" class="boxcontent">
-<roundcube:object name="userprefs" form="form" />
-</div>
-
-<div id="formfooter">
-<div class="footerleft">
-<roundcube:button command="save" type="input" class="button mainaction" label="save" />
-</div>
+ <roundcube:object name="userprefs" form="form" />
+ <div id="formfooter">
+ <div class="footerleft">
+ <roundcube:button command="save" type="input" class="button mainaction" label="save" />
+ </div>
+ </div>
</div>
</body>