From 3b33beda3fc165e95b2ce56fe336ba5308835109 Mon Sep 17 00:00:00 2001 From: dignajar Date: Sat, 24 Oct 2015 12:32:26 -0300 Subject: [PATCH] Dashboard clean-up --- admin/themes/default/css/installer.css | 10 +++++-- admin/themes/default/index.php | 38 +++++++++++--------------- admin/views/dashboard.php | 16 +++++------ admin/views/settings-advanced.php | 1 - admin/views/settings-general.php | 1 - admin/views/settings-regional.php | 3 +- install.php | 16 +++++------ languages/en_US.json | 8 +++++- 8 files changed, 48 insertions(+), 45 deletions(-) diff --git a/admin/themes/default/css/installer.css b/admin/themes/default/css/installer.css index fe465151..da50e252 100644 --- a/admin/themes/default/css/installer.css +++ b/admin/themes/default/css/installer.css @@ -47,11 +47,17 @@ h3 { } .content { - text-align: left; + } #jsshowPassword { color: #999; cursor: pointer; - font-size: 1.3em; + font-size: 1em; + margin-top: 10px; +} + +#jscompleteEmail { + cursor: pointer; + text-decoration: underline; } \ No newline at end of file diff --git a/admin/themes/default/index.php b/admin/themes/default/index.php index f800b244..1acab5a0 100644 --- a/admin/themes/default/index.php +++ b/admin/themes/default/index.php @@ -108,28 +108,22 @@ $(document).ready(function() {
-
- -
+
diff --git a/admin/views/dashboard.php b/admin/views/dashboard.php index c497b0a0..781520fb 100644 --- a/admin/views/dashboard.php +++ b/admin/views/dashboard.php @@ -5,13 +5,13 @@
-

p('New post') ?>

+

p('New post') ?>

p('Create a new article for your blog') ?>

-

p('Manage posts') ?>

-

p('') ?>

+

p('Manage posts') ?>

+

p('edit-or-remove-your-blogs-posts') ?>

@@ -19,13 +19,13 @@
-

p('New page') ?>

+

p('New page') ?>

p('Create a new page for your website') ?>

-

p('Manage pages') ?>

-

p('') ?>

+

p('Manage pages') ?>

+

p('edit-or-remove-your=pages') ?>

@@ -33,12 +33,12 @@
-

p('Add a new user') ?>

+

p('Add a new user') ?>

p('Invite a friend to collaborate on your website') ?>

-

p('Language and timezone') ?>

+

p('Language and timezone') ?>

p('Change your language and region settings') ?>

diff --git a/admin/views/settings-advanced.php b/admin/views/settings-advanced.php index 0e31061f..40903786 100644 --- a/admin/views/settings-advanced.php +++ b/admin/views/settings-advanced.php @@ -85,7 +85,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal')); echo '
- '.$L->g('Cancel').'
'; diff --git a/admin/views/settings-general.php b/admin/views/settings-general.php index 5172228e..ac4bfbb4 100644 --- a/admin/views/settings-general.php +++ b/admin/views/settings-general.php @@ -45,7 +45,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal')); echo '
- '.$L->g('Cancel').'
'; diff --git a/admin/views/settings-regional.php b/admin/views/settings-regional.php index cb0cc354..d06bb019 100644 --- a/admin/views/settings-regional.php +++ b/admin/views/settings-regional.php @@ -1,6 +1,6 @@ $L->g('Settings'), 'icon'=>'cogs')); +HTML::title(array('title'=>$L->g('Language and timezone'), 'icon'=>'cogs')); HTML::formOpen(array('class'=>'uk-form-horizontal')); @@ -38,7 +38,6 @@ HTML::formOpen(array('class'=>'uk-form-horizontal')); echo '
- '.$L->g('Cancel').'
'; diff --git a/install.php b/install.php index b552088f..d356a8dd 100644 --- a/install.php +++ b/install.php @@ -519,17 +519,15 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' )
- +
- - - +
- +
@@ -537,6 +535,8 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' )
+ +
p('Show password') ?>
This is a notification from your website {{WEBSITE_NAME}}

You request a login access code, follow the next link:

{{LINK}}

", - "there-are-no-scheduled-posts": "There are no scheduled posts." + "there-are-no-scheduled-posts": "There are no scheduled posts.", + "show-password": "Show password", + "edit-or-remove-your=pages": "Edit or remove your pages.", + "edit-or-remove-your-blogs-posts": "Edit or remove your blog's posts.", + "general-settings": "General settings", + "advanced-settings": "Advanced settings", + "manage-users": "Manage users" } \ No newline at end of file