Skip to content

Commit

Permalink
Merge pull request #42058 from nextcloud/backport/42031/stable28
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen authored Dec 7, 2023
2 parents 9894a22 + 26b9272 commit d9abfa0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/files_external/css/settings.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/files_external/css/settings.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apps/files_external/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,9 @@
.nav-icon-external-storage {
background-image: var(--icon-external-dark);
}

.global_credentials__personal {
margin: 10px auto;
text-align: center;
width: min(400px, 100vw);
}
5 changes: 4 additions & 1 deletion apps/files_external/templates/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ function writeParameterInput($parameter, $options, $classes = []) {

<div class="followupsection">
<form autocomplete="false" action="#"
id="global_credentials" method="post">
id="global_credentials" method="post"
class="<?php if (isset($_['visibilityType']) && $_['visibilityType'] === BackendService::VISIBILITY_PERSONAL) {
print_unescaped("global_credentials__personal");
} ?>">
<h2><?php p($l->t('Global credentials')); ?></h2>
<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>
<input type="text" name="username"
Expand Down

0 comments on commit d9abfa0

Please sign in to comment.