aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/templates
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-10-20 11:17:29 +0200
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-10-20 12:19:49 +0200
commit0af42db2c7720ab93b0f0622d6c4c4ada94b0a4a (patch)
tree0e0196a772a1d580c5ac3837a1b0bc81228d95e8 /apps/federation/templates
parent8d907d8089a25e397b620fb57cb24bc5a4841759 (diff)
downloadnextcloud-server-0af42db2c7720ab93b0f0622d6c4c4ada94b0a4a.tar.gz
nextcloud-server-0af42db2c7720ab93b0f0622d6c4c4ada94b0a4a.zip
Fix trusted server input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/federation/templates')
-rw-r--r--apps/federation/templates/settings-admin.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/federation/templates/settings-admin.php b/apps/federation/templates/settings-admin.php
index 3fa7a02a02e..62922b19994 100644
--- a/apps/federation/templates/settings-admin.php
+++ b/apps/federation/templates/settings-admin.php
@@ -31,9 +31,14 @@ style('federation', 'settings-admin')
</ul>
<p id="ocFederationAddServer">
<button id="ocFederationAddServerButton" class=""><?php p($l->t('+ Add trusted server')); ?></button>
- <input id="serverUrl" class="hidden" type="text" value="" placeholder="<?php p($l->t('Trusted server')); ?>" name="server_url"/>
- <button id="ocFederationSubmit" class="hidden"><?php p($l->t('Add')); ?></button>
- <span class="msg"></span>
+ <div class="serverUrl hidden">
+ <div class="serverUrl-block">
+ <label for="serverUrl"><?php p($l->t('Trusted server')); ?></label>
+ <input id="serverUrl" type="text" value="" placeholder="<?php p($l->t('Trusted server')); ?>" name="server_url"/>
+ <button id="ocFederationSubmit" class="hidden"><?php p($l->t('Add')); ?></button>
+ </div>
+ <span class="msg"></span>
+ </div>
</p>
</div>