diff --git a/core/css/styles.css b/core/css/styles.css index 6dc61d6c99..04ac387974 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -707,9 +707,9 @@ code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono #quota { cursor: default; - margin: 30px; + margin: 30px !important; position: relative; - padding: 0; + padding: 0 !important; } #quota div { padding: 0; diff --git a/settings/css/settings.css b/settings/css/settings.css index 5a1d864734..effabd928f 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -6,6 +6,54 @@ select#languageinput, select#timezone { width:15em; } input#openid, input#webdav { width:20em; } /* PERSONAL */ + +#avatar { + display: inline-block; + float: left; + width: 160px; + padding-right: 0; +} +#avatar .avatardiv { + margin-bottom: 10px; +} +#avatar .warning { + width: 350px; +} +#uploadavatarbutton, +#selectavatar, +#removeavatar { + width: 33px; + height: 33px; +} +.jcrop-holder { + z-index: 500; +} +#avatar #cropper { + float: left; + background-color: #fff; + z-index: 500; + position: relative; +} + +#displaynameform, +#lostpassword, +#groups { + display: inline-block; + margin-bottom: 0; + padding-bottom: 0; + padding-right: 0; + min-width: 60%; +} +#avatar, +#passwordform { + margin-bottom: 0; + padding-bottom: 0; +} +#groups { + overflow-wrap: break-word; + max-width: 75%; +} + #sslCertificate tr.expired { background-color: rgba(255, 0, 0, 0.5); } @@ -13,22 +61,6 @@ input#openid, input#webdav { width:20em; } padding: 5px; } -/* Sync clients */ -.clientsbox { - padding-top: 30px; - margin-top: -30px; -} -.clientsbox h2 { - font-weight: 300; - font-size: 20px; - margin: 35px 0 10px; -} -.clientsbox .center { - margin-top: 10px; -} -.clientsbox a { - font-weight: 600; -} #displaynameerror { display: none; @@ -44,8 +76,8 @@ input#identity { width: 17em; } -#avatar .warning { - width: 350px; +#showWizard { + display: inline-block; } .msg.success { diff --git a/settings/js/personal.js b/settings/js/personal.js index b90194b90e..da74f28d70 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -98,7 +98,7 @@ function updateAvatar (hidedefault) { $('#header .avatardiv').addClass('avatardiv-shown'); } $displaydiv.css({'background-color': ''}); - $displaydiv.avatar(OC.currentUser, 128, true); + $displaydiv.avatar(OC.currentUser, 145, true); $('#removeavatar').show(); } @@ -408,7 +408,7 @@ $(document).ready(function () { // Load the big avatar if (oc_config.enable_avatars) { - $('#avatar .avatardiv').avatar(OC.currentUser, 128); + $('#avatar .avatardiv').avatar(OC.currentUser, 145); } }); diff --git a/settings/personal.php b/settings/personal.php index 9a71439358..e5ceb1b4fb 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -163,9 +163,8 @@ $tmpl->assign('groups', $groups2); // add hardcoded forms from the template $l = \OC::$server->getL10N('settings'); $formsAndMore = []; +$formsAndMore[]= ['anchor' => 'avatar', 'section-name' => $l->t('Personal info')]; $formsAndMore[]= ['anchor' => 'clientsbox', 'section-name' => $l->t('Sync clients')]; -$formsAndMore[]= ['anchor' => 'passwordform', 'section-name' => $l->t('Personal info')]; -$formsAndMore[]= ['anchor' => 'groups', 'section-name' => $l->t('Groups')]; $forms=OC_App::getForms('personal'); diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 96d26a933b..a7d44a69f8 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -22,36 +22,6 @@
-
-

t('Get the apps to sync your files'));?>

- - <?php p($l->t('Desktop client'));?> - - - <?php p($l->t('Android app'));?> - - - <?php p($l->t('iOS app'));?> - - - -

- t('If you want to support the project - join development - or - spread the word!'));?> -

- - - -

t('Show First Run Wizard again'));?>

- -
@@ -65,6 +35,95 @@
+ + +
+

t('Profile picture')); ?>

+
+
+ + + +
+
+ +

t('png or jpg, max. 20 MB')); ?>

+ + t('Picture provided by original account')); ?> + +
+ + +
+ + + + + +
+

+ +

+ + + +
+ +
+

t('Full name');?>

+ t('No display name set')); } ?> +
+ + + + + +
+

+ +

+ +
+ t('For password recovery and notifications'));?> +
+ +
+

t('Email'); ?>

+ t('No email address set')); }?> +
+ + + + +
+

t('Groups')); ?>

+

t('You are member of the following groups:')); ?>

+

+ +

+
+ + + - -
-

- -

- - - -
- -
-

t('Full name');?>

- t('No display name set')); } ?> -
- - -
-

- -

- -
- t('Fill in an email address to enable password recovery and receive notifications'));?> -
- -
-

t('Email'); ?>

- t('No email address set')); }?> -
- - -
-

t('Groups')); ?>

-

t('You are member of the following groups:')); ?>

-

- -

-
- - -
-

t('Profile picture')); ?>

-
-

- - - -
t('Select new from Files')); ?>
-
t('Remove image')); ?>
- -
- t('Either png or jpg. Ideally square but you will be able to crop it. The file is not allowed to exceed the maximum size of 20 MB.')); ?> - - t('Your avatar is provided by your original account.')); ?> - -
- -
-

@@ -200,6 +181,41 @@ if($_['passwordChangeSupported']) { + + +
+

t('Get the apps to sync your files'));?>

+ + <?php p($l->t('Desktop client'));?> + + + <?php p($l->t('Android app'));?> + + + <?php p($l->t('iOS app'));?> + + + +

+ t('If you want to support the project + join development + or + spread the word!'));?> +

+ + + + t('Show First Run Wizard again'));?> + +
+ + +