From 46be185c65a519d7d545fa5dd1f90f27c6743bd7 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 12 Oct 2010 21:56:46 +0000 Subject: [PATCH] ENHANCEMENT Improved wording and styling in installer. Added links to server requirements, themes download, tutorial. Decreased vertical space before the "install" button to make it more obvious. (from r101246) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111975 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- _register_database.php | 2 +- dev/install/config-form.html | 68 +++++++++++++++++++----------------- dev/install/install.css | 41 ++++++++++++++++++---- 3 files changed, 71 insertions(+), 40 deletions(-) diff --git a/_register_database.php b/_register_database.php index 2a9734efe..7c5b6c22a 100644 --- a/_register_database.php +++ b/_register_database.php @@ -39,7 +39,7 @@ DatabaseAdapterRegistry::register( 'missingExtensionText' => 'The SQLite3 and PDO classes are not available. Please install or enable them and refresh this page.', 'fields' => array( 'path' => array( - 'title' => 'Database path (absolute path, writeable by the webserver user. Recommended to be outside of your webroot)', + 'title' => 'Database path
Absolute path, writeable by the webserver user.
Recommended to be outside of your webroot
', 'default' => realpath(dirname($_SERVER['SCRIPT_FILENAME'])) . '/assets/.sqlitedb' ), 'database' => array( diff --git a/dev/install/config-form.html b/dev/install/config-form.html index 49d71b4e7..2eb3822f7 100644 --- a/dev/install/config-form.html +++ b/dev/install/config-form.html @@ -24,8 +24,7 @@
-

Welcome to SilverStripe

-

Thanks for choosing to use SilverStripe! Please follow the instructions below to get SilverStripe installed.

+

Thanks for choosing to use SilverStripe! Please follow the instructions below to get you up and running.

@@ -48,10 +47,6 @@

The database details don't appear to be correct. Please review and correct before installing.

- -

- These database details look all good! -

hasErrors()) { ?> @@ -60,14 +55,11 @@

-

Template to install:

-
    -
  • checked="checked">
  • -
  • checked="checked">
  • -
-

You can change the template or download another from the SilverStripe website after installation.

- -
+

+ +

@@ -91,6 +83,13 @@ (this will take a minute or so)

+ +

Theme

+

You can change the theme or download another from the SilverStripe website after installation.

+
    +
  • checked="checked">
  • +
  • checked="checked">
  • +

Database

@@ -102,16 +101,8 @@ Other databases:
Databases in the list that are greyed out cannot currently be used. Click on them for more information and possible remedies.

-
- -
- > - -
- - +
-
    $details) { @@ -193,6 +184,14 @@ } ?>
+ + +
+ > + +
+ +
@@ -205,39 +204,36 @@ showTable("Database Configuration"); ?> -

SilverStripe Administration Account

+

CMS Admin Account

- We will set up 1 administrator account for you automatically. Enter the email address and password. If you'd rather log-in with a username instead of an email address, enter that instead. + We will set up the first administrator account for you automatically. You can change these details later in the "Security" section within the CMS.

- + >
- + >
- +
- +
-
- -
@@ -290,6 +286,14 @@ else echo 'localhost

Requirements

showTable(); ?> + +

+ Read more about our server requirements. +

+ +
+ +
diff --git a/dev/install/install.css b/dev/install/install.css index 646039b51..aa938dc8b 100644 --- a/dev/install/install.css +++ b/dev/install/install.css @@ -2,9 +2,19 @@ body { text-align: center; } +#Container .typography p { + margin-left: 0; + margin-right: 0; +} + #Container * { text-align: left; } + +#Header p { + margin-left: 30px; +} + ul#Themes{ list-style: none; margin: 5px; @@ -12,6 +22,8 @@ ul#Themes{ ul#Themes li { clear: both; padding: 3px 0; + margin-left: 0; + padding-left: 0; } ul#Themes input { float: left; @@ -69,8 +81,9 @@ p.error a:hover { text-decoration: none; } span.middleColumn { - width: 312px; + width: 297px; margin-right: 0; + margin-top: 0; padding: 4px; } input.text, textarea, select { @@ -79,11 +92,13 @@ input.text, textarea, select { color: #000; font-size: 1.2em; font-weight: bold; - width: 305px; + width: 290px; +} +#stats-container label { + display: inline; } #stats { - float: left; - margin: 5px; + margin-right: 5px; } table.testResults { border-collapse: collapse; @@ -108,6 +123,10 @@ table.testResults { padding-top: 20px; } +.typography label { + margin-bottom: 0; +} + .helpText { float: right; padding-right: 40px; @@ -164,16 +183,16 @@ table.testResults { #database_selection { overflow: hidden; margin: 0; - margin-top: 15px; } #database_selection li { + margin-left: 0; + padding-left: 0; } #database_selection li input { margin-right: 5px;; } #database_selection li label { display: inline; - font-weight: bold; } .databaseError { @@ -183,4 +202,12 @@ table.testResults { margin: 10px; margin-bottom: 0; display: none; -} \ No newline at end of file +} + + .databaseError ul { + margin-bottom: 0; + } + .databaseError ul, .databaseError li { + margin-left: 0; + padding-left: 0; + } \ No newline at end of file