From 2b521327c03974a7a45ebef2ce377346bdf9484d Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Fri, 4 Oct 2013 18:35:46 +0300 Subject: [PATCH] more elegant style for Personal and Admin settings --- apps/files/templates/admin.php | 2 +- apps/files_external/templates/settings.php | 4 ++-- apps/user_webdavauth/templates/settings.php | 2 +- core/css/styles.css | 16 +++++++++++----- settings/templates/admin.php | 20 ++++++++++---------- settings/templates/personal.php | 18 +++++++++--------- 6 files changed, 34 insertions(+), 28 deletions(-) diff --git a/apps/files/templates/admin.php b/apps/files/templates/admin.php index e1ca6afc4ad..697fc52526a 100644 --- a/apps/files/templates/admin.php +++ b/apps/files/templates/admin.php @@ -2,7 +2,7 @@
- t('File handling')); ?> +

t('File handling')); ?>

'/> diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index b3c08e21225..028a384cf34 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -1,6 +1,6 @@
- t('External Storage')); ?> +

t('External Storage')); ?>

'')) print_unescaped(''.$_['dependencies'].''); ?> '> @@ -138,7 +138,7 @@ enctype="multipart/form-data" action="">
- t('SSL root certificates'));?> +

t('SSL root certificates'));?>

'> diff --git a/apps/user_webdavauth/templates/settings.php b/apps/user_webdavauth/templates/settings.php index 70c10057c20..ad1701add8c 100755 --- a/apps/user_webdavauth/templates/settings.php +++ b/apps/user_webdavauth/templates/settings.php @@ -1,6 +1,6 @@
- t('WebDAV Authentication'));?> +

t('WebDAV Authentication'));?>

diff --git a/core/css/styles.css b/core/css/styles.css index 505e4dc03e8..6406bcd7e63 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -77,7 +77,10 @@ textarea:hover, textarea:focus, textarea:active { } input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; } input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; } -#quota { cursor:default; } +#quota { + cursor: default; + margin: 30px; +} /* SCROLLING */ @@ -667,12 +670,15 @@ tr .action { width:16px; height:16px; } tr:hover .action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; } tbody tr:hover, tr:active { background-color:#f8f8f8; } +#body-settings h2 { + font-size: 20px; + font-weight: normal; + margin-bottom: 7px; +} #body-settings .personalblock, #body-settings .helpblock { - padding: .5em 1em; - margin: 1em; - background-color: rgb(240,240,240); + padding: 30px; color: #555; - border-radius: 3px; + border-top: 1px solid #ddd; } #body-settings .personalblock#quota { position:relative; padding:0; } #body-settings #controls+.helpblock { position:relative; margin-top:3em; } diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 72e93e78dac..6450cd62d95 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -12,7 +12,7 @@ $levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal'); if (!$_['htaccessworking']) { ?>

- t('Security Warning'));?> +

t('Security Warning'));?>

t('Your data directory and your files are probably accessible from the internet. The .htaccess file is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.')); ?> @@ -26,7 +26,7 @@ if (!$_['htaccessworking']) { if (!$_['isWebDavWorking']) { ?>
- t('Setup Warning'));?> +

t('Setup Warning'));?>

t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.')); ?> @@ -41,7 +41,7 @@ if (!$_['isWebDavWorking']) { if (!$_['has_fileinfo']) { ?>
- t('Module \'fileinfo\' missing'));?> +

t('Module \'fileinfo\' missing'));?>

t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.')); ?> @@ -55,7 +55,7 @@ if (!$_['has_fileinfo']) { if (!$_['islocaleworking']) { ?>
- t('Locale not working'));?> +

t('Locale not working'));?>

- t('Internet connection not working'));?> +

t('Internet connection not working'));?>

t('This server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps don´t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features.')); ?> @@ -89,7 +89,7 @@ if (!$_['internetconnectionworking']) { ;?>
- t('Cron'));?> +

t('Cron'));?>

- t('Sharing'));?> +

t('Sharing'));?>

@@ -175,7 +175,7 @@ if (!$_['internetconnectionworking']) {
- t('Security'));?> +

t('Security'));?>

@@ -208,7 +208,7 @@ if (!$_['internetconnectionworking']) {
- t('Log'));?> +

t('Log'));?>

t('Log level'));?> @@ -55,7 +55,7 @@ if($_['displayNameChangeSupported']) { ?>
- t('Display Name');?> +

t('Display Name');?>

@@ -70,7 +70,7 @@ if($_['passwordChangeSupported']) { ?>
- t('Email'));?> +

t('Email'));?>


t('Fill in an email address to enable password recovery'));?> @@ -83,7 +83,7 @@ if($_['passwordChangeSupported']) {
- t('Profile picture')); ?> +

t('Profile picture')); ?>


@@ -103,7 +103,7 @@ if($_['passwordChangeSupported']) {
- t('Language'));?> +

t('Language'));?>

- t('Version'));?> +

t('Version'));?>

getName()); ?>
t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?> -- 2.39.5