summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-06-21 13:59:53 +0200
committerGitHub <noreply@github.com>2018-06-21 13:59:53 +0200
commita10690c1e9cb3a4b2c84f97e53b798640aae5101 (patch)
tree0911a37906d26ae5aeeeb98a43362cddaa45d8fa /apps/files_external
parentf996da45d1055606de29d262648208790351b547 (diff)
parenteffee32bb7a239849d01d5723ef32e24a3f7a51f (diff)
downloadnextcloud-server-a10690c1e9cb3a4b2c84f97e53b798640aae5101.tar.gz
nextcloud-server-a10690c1e9cb3a4b2c84f97e53b798640aae5101.zip
Merge pull request #9946 from nextcloud/bugfix/noid/files-external-settings-layout
Fix files_external settings layout
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/css/settings.scss4
-rw-r--r--apps/files_external/templates/settings.php7
2 files changed, 4 insertions, 7 deletions
diff --git a/apps/files_external/css/settings.scss b/apps/files_external/css/settings.scss
index 0f52ed3b2a1..bd45b57f6d5 100644
--- a/apps/files_external/css/settings.scss
+++ b/apps/files_external/css/settings.scss
@@ -1,7 +1,3 @@
-#global_credentials {
- padding: 0 30px;
-}
-
#files_external {
margin-bottom: 0px;
}
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index 236faf37d6d..db944075cc1 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -169,7 +169,6 @@
<label for="allowUserMounting"><?php p($l->t('Allow users to mount external storage')); ?></label> <span id="userMountingMsg" class="msg"></span>
<p id="userMountingBackends"<?php if (!$_['allowUserMounting']): ?> class="hidden"<?php endif; ?>>
- <?php p($l->t('Allow users to mount the following external storage')); ?><br />
<?php
$userBackends = array_filter($_['backends'], function($backend) {
return $backend->isAllowedVisibleFor(BackendService::VISIBILITY_PERSONAL);
@@ -189,9 +188,10 @@
</form>
<?php if ($canCreateMounts): ?>
- <form autocomplete="false" class="section" action="#"
+<div class="followupsection">
+ <form autocomplete="false" action="#"
id="global_credentials">
- <p><?php p($l->t('Global credentials')); ?></p>
+ <h2><?php p($l->t('Global credentials')); ?></h2>
<input type="text" name="username"
autocomplete="false"
value="<?php p($_['globalCredentials']['user']); ?>"
@@ -204,4 +204,5 @@
value="<?php p($_['globalCredentialsUid']); ?>"/>
<input type="submit" value="<?php p($l->t('Save')) ?>"/>
</form>
+</div>
<?php endif; ?>