From 640adde3b9fb1b47db0570e830d38f9bc7fa7928 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 4 Dec 2015 16:42:31 +0100 Subject: improve layout of personal settings page --- settings/templates/personal.php | 173 ++++++++++++++++++++++------------------ 1 file changed, 95 insertions(+), 78 deletions(-) (limited to 'settings/templates') diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 446494c934b..8afa5aa551b 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,32 +35,32 @@
- -
-

t('Password'));?>

- - -
- - - - - - -
-
+ + + +

t('Profile picture')); ?>

+
+
+ + + +
+
+ +

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

+ + t('Picture provided by original account')); ?> + +
+ +
- + + + + + @@ -127,7 +99,7 @@ if($_['passwordChangeSupported']) { placeholder="t('Your email address'));?>" autocomplete="on" autocapitalize="off" autocorrect="off" />
- t('Fill in an email address to enable password recovery and receive notifications'));?> + t('For password recovery and notifications'));?> + +

t('Groups')); ?>

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

@@ -148,29 +122,36 @@ if($_['passwordChangeSupported']) {

- -
-

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.')); ?> - -
- + + + + +

t('Password'));?>

+ + +
+ + + + + + +
+
- + + +

@@ -200,6 +181,42 @@ 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'));?> + +
+ + +
-- cgit v1.2.3 From e4cf53031b21f885e21301c17e757b3bbe93bf0a Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 11 Dec 2015 14:19:02 +0100 Subject: fix overlap and functionality of cropper --- settings/css/settings.css | 17 +++++++++++++++++ settings/js/personal.js | 2 +- settings/templates/personal.php | 3 +-- 3 files changed, 19 insertions(+), 3 deletions(-) (limited to 'settings/templates') diff --git a/settings/css/settings.css b/settings/css/settings.css index cf9a61431c9..effabd928f9 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -25,6 +25,15 @@ input#openid, input#webdav { width:20em; } width: 33px; height: 33px; } +.jcrop-holder { + z-index: 500; +} +#avatar #cropper { + float: left; + background-color: #fff; + z-index: 500; + position: relative; +} #displaynameform, #lostpassword, @@ -40,6 +49,10 @@ input#openid, input#webdav { width:20em; } 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); @@ -63,6 +76,10 @@ input#identity { width: 17em; } +#showWizard { + display: inline-block; +} + .msg.success { color: #fff; background-color: #47a447; diff --git a/settings/js/personal.js b/settings/js/personal.js index 4308bb4cd4d..da74f28d70c 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(); } diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 8afa5aa551b..2971121cda0 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -55,7 +55,7 @@ @@ -210,7 +210,6 @@ if($_['passwordChangeSupported']) { -
t('Show First Run Wizard again'));?>

-- cgit v1.2.3