Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ENHANCEMENT:fixed styling on "installing SilverStripe" page.

  • Loading branch information...
commit 697ffb82a7e18ba47cedc5b860a2ec7dd51da534 1 parent c1f6f20
Jeremy Bridson authored
View
6 dev/DebugView.php
@@ -85,7 +85,7 @@ public function writeHeader() {
echo '<!DOCTYPE html><html><head><title>' . $url . '</title>';
echo '<style type="text/css">';
echo 'body { background-color:#eee; margin:0; padding:0; font-family:Helvetica,Arial,sans-serif; }';
- echo '.info { border-bottom:1px dotted #333; background-color:#ccdef3; margin:0; padding:6px 12px; }';
+ echo '.info { margin:15px 0 0 0; padding:6px 12px; }';
echo '.info h1 { margin:0; padding:0; color:#333; letter-spacing:-2px; }';
echo '.header { margin:0; border-bottom:6px solid #ccdef3; height:23px; background-color:#666673; padding:4px 0 2px 6px; background-image:url('.Director::absoluteBaseURL().'cms/images/mainmenu/top-bg.gif); }';
echo '.trace { padding:6px 12px; }';
@@ -93,8 +93,8 @@ public function writeHeader() {
echo 'pre { margin-left:18px; }';
echo 'pre span { color:#999;}';
echo 'pre .error { color:#f00; }';
- echo '.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3 url('.Director::absoluteBaseURL() .'cms/images/alert-good.gif) no-repeat scroll 7px 50%; border:1px solid #8DD38D; }';
- echo '.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9 url('.Director::absoluteBaseURL() .'cms/images/alert-bad.gif) no-repeat scroll 7px 50%; border:1px solid #C80700; }';
+ echo '.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3 url('.Director::absoluteBaseURL() .'cms/images/alert-good.gif) no-repeat scroll 7px 50%; border:1px solid #8DD38D; border-radius:4px; }';
+ echo '.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9 url('.Director::absoluteBaseURL() .'cms/images/alert-bad.gif) no-repeat scroll 7px 50%; border:1px solid #C80700; border-radius:4px; }';
echo '.failure span { color:#C80700; font-weight:bold; }';
echo '</style></head>';
echo '<body>';
View
16 dev/install/install.css
@@ -6,6 +6,17 @@
color:#fff;
}
+.install-header
+{
+ padding-bottom:10px;
+ background:#161616;
+}
+
+.install-header .inner{
+ padding-top:55px;
+ position:relative;
+}
+
.brand {
float:none;
}
@@ -26,6 +37,10 @@
display:none;
}
+.main .inner ul {
+ padding-left:20px;
+}
+
ul#Themes{
list-style: none;
margin: 0 5px 20px 5px;
@@ -55,6 +70,7 @@ h1.sectionHeading {
padding: 0.5em;
background-color: #fdf5f5;
border: 1px #ff8e8e solid;
+ border-radius:4px;
color: #f03838;
}
.main p.error { color: #f03838;}
View
32 dev/install/install.php5
@@ -952,21 +952,25 @@ class Installer extends InstallRequirements {
<script src="sapphire/thirdparty/jquery/jquery.js"></script>
</head>
<body>
- <div id="BgContainer">
- <div id="Container">
- <div id="Header">
- <h1>SilverStripe CMS / Framework Installation</h1>
+ <div class="install-header">
+ <div class="inner">
+ <div class="brand">
+ <span class="logo"></span>
+ <h1>SilverStripe</h1>
</div>
-
- <div id="Navigation">&nbsp;</div>
- <div class="clear"><!-- --></div>
-
- <div id="Layout">
- <div class="typography">
- <h1>Installing SilverStripe...</h1>
- <p>I am now running through the installation steps (this should take about 30 seconds)</p>
- <p>If you receive a fatal error, refresh this page to continue the installation</p>
- <ul>
+ <p>Version <?php echo $silverstripe_version; ?></p>
+ </div>
+ </div>
+
+ <div id="Navigation">&nbsp;</div>
+ <div class="clear"><!-- --></div>
+
+ <div class="main">
+ <div class="inner">
+ <h1>Installing SilverStripe...</h1>
+ <p>I am now running through the installation steps (this should take about 30 seconds)</p>
+ <p>If you receive a fatal error, refresh this page to continue the installation</p>
+ <ul>
<?php
} else {
echo "SILVERSTRIPE COMMAND-LINE INSTALLATION\n\n";
Please sign in to comment.
Something went wrong with that request. Please try again.