mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENHANCEMENT:Styled the php5 required page and fixed a couple of styling issues on the install page in IE.
This commit is contained in:
parent
95cdfd7903
commit
875eef9992
@ -126,8 +126,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "<li>";
|
echo "<li>";
|
||||||
echo "<input id=\"$class\" class=\"databaseClass\" type=\"radio\" name=\"db[type]\" value=\"$class\"$checked $disabled>";
|
echo "<input id=\"$class\" class=\"databaseClass left\" type=\"radio\" name=\"db[type]\" value=\"$class\"$checked $disabled>";
|
||||||
echo "<label class=\"left\" ".($help || $disabled ? 'style="font-weight:normal;color:grey" ' : 'style="color:green"')."for=\"$class\">{$details['title']}</label>";
|
echo "<label ".($help || $disabled ? 'style="font-weight:normal;color:grey;margin-left:15px" ' : 'style="color:green;margin-left:15px"')."for=\"$class\">{$details['title']}</label>";
|
||||||
if ($help) {
|
if ($help) {
|
||||||
echo '<div class="error databaseError">'.$help.'</div>';
|
echo '<div class="error databaseError">'.$help.'</div>';
|
||||||
}
|
}
|
||||||
|
@ -118,6 +118,10 @@ input.text, textarea, select {
|
|||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main h2.no-line {
|
||||||
|
border-top:none;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Requirements and test results
|
* Requirements and test results
|
||||||
* ------------------------------------------------ */
|
* ------------------------------------------------ */
|
||||||
@ -265,6 +269,10 @@ h5.requirement {
|
|||||||
background:#ededed;
|
background:#ededed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#database_selection li .databaseClass {
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
#database_selection li input:focus{
|
#database_selection li input:focus{
|
||||||
outline:none; background-color:#fff;
|
outline:none; background-color:#fff;
|
||||||
}
|
}
|
||||||
|
@ -1,40 +1,45 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>PHP 5 is required</title>
|
<title>PHP 5 is required</title>
|
||||||
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/layout.css" />
|
<base href="../../../"/>
|
||||||
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/typography.css" />
|
<link rel="stylesheet" type="text/css" href="themes/simple/css/layout.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/form.css" />
|
<link rel="stylesheet" type="text/css" href="themes/simple/css/typography.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="themes/simple/css/form.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="sapphire/dev/install/install.css" />
|
<link rel="stylesheet" type="text/css" href="sapphire/dev/install/install.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="page no-sidebar">
|
||||||
<div id="BgContainer">
|
<div class="header">
|
||||||
<div id="Container">
|
<div class="inner">
|
||||||
<div id="Header">
|
<div class="brand">
|
||||||
<h1>SilverStripe CMS Installation</h1>
|
<h1>SilverStripe</h1>
|
||||||
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="Navigation"> </div>
|
|
||||||
<div class="clear"><!-- --></div>
|
|
||||||
|
|
||||||
<div id="Layout">
|
|
||||||
<div class="typography">
|
|
||||||
<h1>PHP 5 required</h1>
|
|
||||||
<h2>To run SilverStripe, please install PHP 5.2 or greater.</h2>
|
|
||||||
|
|
||||||
<p>We have detected that you are running PHP version <b>$PHPVersion</b>. In order to run SilverStripe,
|
|
||||||
you must have PHP version 5.2 or greater, and for best results we recommend PHP 5.3 or greater.</p>
|
|
||||||
|
|
||||||
<p>If you are running on a shared host, you may need to ask your hosting provider how to do this.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="clear"><!-- --></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div id="Footer">
|
|
||||||
|
<div id="Navigation"> </div>
|
||||||
|
<div class="clear"><!-- --></div>
|
||||||
|
|
||||||
|
<div class="main">
|
||||||
|
<div class="inner">
|
||||||
|
<div class="content-container">
|
||||||
|
<h1>CMS Installation</h1>
|
||||||
|
<h2 class="no-line">PHP 5 required</h2>
|
||||||
|
<h3>To run SilverStripe, please install PHP 5.2 or greater.</h3>
|
||||||
|
|
||||||
|
<p>We have detected that you are running PHP version <b>$PHPVersion</b>. In order to run SilverStripe,
|
||||||
|
you must have PHP version 5.2 or greater, and for best results we recommend PHP 5.3 or greater.</p>
|
||||||
|
|
||||||
|
<p>If you are running on a shared host, you may need to ask your hosting provider how to do this.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="clear"><!-- --></div>
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<div class="inner">
|
||||||
<div class="footerTop"><!-- --></div>
|
<div class="footerTop"><!-- --></div>
|
||||||
<p><a href="http://silverstripe.org">SilverStripe Open Source CMS</a> | Copyright © 2008 SilverStripe Limited</p>
|
<p><a href="http://silverstripe.org">SilverStripe Open Source CMS</a> | Copyright © 2008 SilverStripe Limited</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user