summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-10 14:59:15 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-10 14:59:15 +0000
commit4515ec1070d6e7842658c61a70997f08f78b18b4 (patch)
treee4e0afa6462067ad65601a322ebe8fa70f8a9093
parent1d9cc10404385456572b0d242cff15f4285aef4f (diff)
downloadpkgsubmit-4515ec1070d6e7842658c61a70997f08f78b18b4.tar
pkgsubmit-4515ec1070d6e7842658c61a70997f08f78b18b4.tar.gz
pkgsubmit-4515ec1070d6e7842658c61a70997f08f78b18b4.tar.bz2
pkgsubmit-4515ec1070d6e7842658c61a70997f08f78b18b4.tar.xz
pkgsubmit-4515ec1070d6e7842658c61a70997f08f78b18b4.zip
add nav.m.o global header
-rw-r--r--style.css7
-rw-r--r--test_index.php11
2 files changed, 15 insertions, 3 deletions
diff --git a/style.css b/style.css
index 54a85f6..5003568 100644
--- a/style.css
+++ b/style.css
@@ -1,5 +1,7 @@
html, body {
background: #f8f8f8;
+ margin: 0;
+ padding: 0;
}
html, body, table {
font-family: Verdana, "Trebuchet MS", "Lucida Grande", "Lucida Sans", Tahoma, Arial, sans-serif;
@@ -7,6 +9,11 @@ html, body, table {
}
body { font-size: 80%; }
+article {
+ position: fixed;
+ top: 128px;
+}
+
.clear { clear: both; }
table {
border-spacing: 0;
diff --git a/test_index.php b/test_index.php
index b3304c3..a4a36fb 100644
--- a/test_index.php
+++ b/test_index.php
@@ -76,12 +76,15 @@ publish_stats_headers(
<title><?php echo strip_tags($title); ?></title>
<meta name="robots" content="<?php echo $robots; ?>">
<link rel="home" href="<?php echo $g_root_url; ?>">
+ <link rel="author" href="http://www.mageia.org/">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="style.css">
</head>
-<body>
- <h1><?php echo $title ?></h1>
-
+<body class="contribute">
+ <header id="mgnavt">
+ <h1><?php echo $title ?></h1>
+ </header>
+ <article>
<?php
$bannerfile = dirname(__FILE__) . '/banner.html';
@@ -315,9 +318,11 @@ else
</ul>
<script src="js/jquery.js"></script>
<script src="js/pkgsubmit.js"></script>
+ <script src="//nav.mageia.org/js"></script>
<div class="clear"></div>
<hr />
<p>Generated at <?php echo $date_gen; ?>.
Code for this page is in <a rel="nofollow" href="http://svnweb.mageia.org/soft/build_system/web/">http://svnweb.mageia.org/soft/build_system/web/</a>.</p>
+ </article>
</body>
</html>