link back to top on Personal page, fix #14519

This commit is contained in:
Jan-Christoph Borchardt 2015-03-23 11:34:30 +01:00
parent a9b4f0d842
commit 731c90a033
3 changed files with 8 additions and 3 deletions

View File

@ -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;

View File

@ -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');

View File

@ -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')); ?>"