Fix incoherent spacing on status index page

Fix top spacing at the top of the status.o.o index page, by moving
the message container under the title. That allows the status.o.o
pages to have coherent spacing.

Also fix common.js to not create a div container that is never
closed.

Change-Id: Ic260b4140aaed9709dbae35b1d8d9465e64e6b9d
Reviewed-on: https://review.openstack.org/29527
Reviewed-by: matthew wagoner <zxkuqyb@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Thierry Carrez 2013-05-17 14:00:00 +02:00 committed by Jenkins
parent 25a9d31a68
commit d98cb6d087
2 changed files with 6 additions and 7 deletions

View File

@ -23,8 +23,7 @@ function header(activeTabName) {
tabsName[5] = 'Bugday'; tabsLink[5] = 'http://status.openstack.org/bugday/';
document.write(
'<div class="container">'+
'<div id="header">'+
'<div id="header" class="container">'+
'<div class="span-5">'+
' <h1 id="logo"><a href="http://status.openstack.org/">Open Stack</a></h1>'+
'</div>\n'+

View File

@ -41,6 +41,11 @@
</HEAD>
<BODY>
<script type="text/javascript">header('Status');</script>
<div id="blurb-container">
<h1>OpenStack Infrastructure and Project Status</h1>
<div id="message-container">
<div class="container">
<div class="span-24 last">
@ -49,11 +54,6 @@
</div>
</div>
<script type="text/javascript">header('Status');</script>
<div id="blurb-container">
<h1>OpenStack Infrastructure and Project Status</h1>
<div class="blurb">
<h2 class="subhead"><a href="/zuul/">Zuul</a></h2>
<p>