summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-23 11:34:30 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-23 13:41:40 +0100
commit731c90a033af16ed3491ea5b3130565ea9ab94f9 (patch)
tree96f55651481b6db9073c6ea10a9f2d07892feab9 /settings
parenta9b4f0d8429dbeb612e80b168b6146890bb7843e (diff)
downloadnextcloud-server-731c90a033af16ed3491ea5b3130565ea9ab94f9.tar.gz
nextcloud-server-731c90a033af16ed3491ea5b3130565ea9ab94f9.zip
link back to top on Personal page, fix #14519
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css4
-rw-r--r--settings/personal.php5
-rw-r--r--settings/templates/personal.php2
3 files changed, 8 insertions, 3 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 0716cd24938..5229f5057a0 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -14,6 +14,10 @@ input#openid, input#webdav { width:20em; }
}
/* Sync clients */
+.clientsbox {
+ padding-top: 30px;
+ margin-top: -30px;
+}
.clientsbox h2 {
font-size: 20px;
margin: 35px 0 10px;
diff --git a/settings/personal.php b/settings/personal.php
index 7239df365f5..1249fb8a40f 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -108,8 +108,9 @@ $tmpl->assign('groups', $groups2);
// add hardcoded forms from the template
$l = OC_L10N::get('settings');
-$formsAndMore = array();
-$formsAndMore[]= array( 'anchor' => 'passwordform', 'section-name' => $l->t('Personal Info') );
+$formsAndMore = [];
+$formsAndMore[]= ['anchor' => 'clientsbox', 'section-name' => $l->t('Sync clients')];
+$formsAndMore[]= ['anchor' => 'passwordform', 'section-name' => $l->t('Personal info')];
$forms=OC_App::getForms('personal');
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index cb153447b96..8cd3b03231b 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -21,7 +21,7 @@
<div id="app-content">
-<div class="clientsbox center">
+<div id="clientsbox" class="clientsbox center">
<h2><?php p($l->t('Get the apps to sync your files'));?></h2>
<a href="<?php p($_['clients']['desktop']); ?>" target="_blank">
<img src="<?php print_unescaped(OCP\Util::imagePath('core', 'desktopapp.png')); ?>"