summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-11-04 16:54:48 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-11-04 16:54:48 +0100
commit3d6030b2aebc2a776d2f82cd196413f7ee7ca132 (patch)
treef036104317544d6dfd1a053f1540925c96ef4bd9
parent17820fbef6e2eda38b43cdb35a0c9c7b6fa59bb3 (diff)
downloadnextcloud-server-3d6030b2aebc2a776d2f82cd196413f7ee7ca132.tar.gz
nextcloud-server-3d6030b2aebc2a776d2f82cd196413f7ee7ca132.zip
LDAP: improve design and placement of Save button
-rw-r--r--apps/user_ldap/css/settings.css8
-rw-r--r--apps/user_ldap/templates/part.settingcontrols.php2
2 files changed, 9 insertions, 1 deletions
diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css
index 65bff3aadb7..41578e91b69 100644
--- a/apps/user_ldap/css/settings.css
+++ b/apps/user_ldap/css/settings.css
@@ -80,6 +80,10 @@
height: 15px;
}
+.ldapSettingControls {
+ margin-top: 3ex;
+}
+
#ldap fieldset p label {
width: 20%;
max-width: 200px;
@@ -90,6 +94,10 @@
padding-right: 5px;
}
+#ldap fieldset input[type=submit] {
+ width: auto;
+}
+
#ldap fieldset input, #ldap fieldset textarea {
width: 60%;
display: inline-block;
diff --git a/apps/user_ldap/templates/part.settingcontrols.php b/apps/user_ldap/templates/part.settingcontrols.php
index 3ec234d70f8..2d726fcd079 100644
--- a/apps/user_ldap/templates/part.settingcontrols.php
+++ b/apps/user_ldap/templates/part.settingcontrols.php
@@ -1,5 +1,5 @@
<div class="ldapSettingControls">
- <input class="ldap_submit" value="Save">
+ <input class="ldap_submit" value="Save" type="submit">
<button class="ldap_action_test_connection" name="ldap_action_test_connection">
<?php p($l->t('Test Configuration'));?>
</button>