Skip to content

Commit d9abfa0

Browse files
authored
Merge pull request #42058 from nextcloud/backport/42031/stable28
2 parents 9894a22 + 26b9272 commit d9abfa0

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

apps/files_external/css/settings.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_external/css/settings.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_external/css/settings.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,9 @@
163163
.nav-icon-external-storage {
164164
background-image: var(--icon-external-dark);
165165
}
166+
167+
.global_credentials__personal {
168+
margin: 10px auto;
169+
text-align: center;
170+
width: min(400px, 100vw);
171+
}

apps/files_external/templates/settings.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ function writeParameterInput($parameter, $options, $classes = []) {
219219

220220
<div class="followupsection">
221221
<form autocomplete="false" action="#"
222-
id="global_credentials" method="post">
222+
id="global_credentials" method="post"
223+
class="<?php if (isset($_['visibilityType']) && $_['visibilityType'] === BackendService::VISIBILITY_PERSONAL) {
224+
print_unescaped("global_credentials__personal");
225+
} ?>">
223226
<h2><?php p($l->t('Global credentials')); ?></h2>
224227
<p class="settings-hint"><?php p($l->t('Global credentials can be used to authenticate with multiple external storages that have the same credentials.')); ?></p>
225228
<input type="text" name="username"

0 commit comments

Comments
 (0)