]> git.ozlabs.org Git - ccan/blobdiff - web/staticmoduleinfo.php
Changed the look of the website. Added a new logo design (source SVG included). Fixed...
[ccan] / web / staticmoduleinfo.php
index 2174f7a598c8c78ef11bed1141010e46684a7791..98edf9b52a746b209ac916fe3b410f00b6d16eb0 100644 (file)
@@ -17,8 +17,9 @@ $licence=extract_field('licence',$module_path);
 $license=extract_field('license',$module_path);
 $url_prefix = getenv("URLPREFIX");
 ?>
-<table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="3" cellspacing="1">
-<tr align="center" bgcolor="FFFFCC">
+<div class='content'>
+<table align="center" width="70%" border="0" cellpadding="3" cellspacing="1">
+<tr align="center">
 <td>
 <a href="<?=$repo_base.$module?>">Browse Source</a>
 </td>
@@ -31,19 +32,19 @@ $url_prefix = getenv("URLPREFIX");
 <p>
 </p>
 
-<table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="8" cellspacing="1">
-<tr align="left" bgcolor="FFFFCC">
+<table align="center" width="70%" border="0" cellpadding="8" cellspacing="1">
+<tr align="left">
 <td><h3>Module: </h3> <?=$module?> </td>
 </tr>
 
-<tr align="left" bgcolor="FFFFCC">
+<tr align="left">
 <td><h3>Summary: </h3> <?=$summary?></td>
 </tr>
 
 <?php
 if ($maintainer) {
 ?>
-<tr align="left" bgcolor="FFFFCC"
+<tr align="left"> 
 <td><h3>Maintainer: </h3> <?=$maintainer?></td>
 </tr>
 <?php
@@ -51,7 +52,7 @@ if ($maintainer) {
 
 if ($author) {
 ?>
-<tr align="left" bgcolor="FFFFCC"
+<tr align="left"> 
 <td><h3>Author: </h3> <?=$author?></td>
 </tr>
 <?php
@@ -59,7 +60,7 @@ if ($author) {
 
 if ($dependencies) {
 ?>
-<tr align="left" bgcolor="FFFFCC">
+<tr align="left">
 <td><h3>Dependencies: </h3> <pre> <?php
        foreach (preg_split("/\s+/", $dependencies) as $dep) {
                echo '<a href="'.substr($dep, 5).'.html">'.$dep.'</a> ';
@@ -71,7 +72,7 @@ if ($dependencies) {
 
 if ($extdepends) {
 ?>
-<tr align="left" bgcolor="FFFFCC">
+<tr align="left">
 <td><h3>External dependencies: </h3> <?php
        foreach (split("\n", $extdepends) as $dep) {
                $fields=preg_split("/\s+/", $dep);
@@ -85,14 +86,14 @@ if ($extdepends) {
 <?php 
 }
 ?>
-<tr align="left" bgcolor="FFFFCC">
+<tr align="left">
 <td><h3>Description: </h3> <?=$description;?> </td>
 </tr>
 
 <?php 
 if ($see_also) {
 ?>
-<tr align="left" bgcolor="FFFFCC">
+<tr align="left">
 <td><h3>See Also: </h3> <pre> <?php
        foreach (preg_split("/[\s,]+/", trim($see_also)) as $see) {
                echo '<a href="'.substr($see, 5).'.html">'.$see.'</a> ';
@@ -104,7 +105,7 @@ if ($see_also) {
 
 if ($example) {
 ?>
-<tr align="left" bgcolor="FFFFCC"
+<tr align="left"> 
 <td><h3>Example: </h3> <pre><?=$example?></pre></td>
 </tr>
 <?php
@@ -112,7 +113,7 @@ if ($example) {
 
 if ($licence) {
 ?>
-<tr align="left" bgcolor="FFFFCC"
+<tr align="left"> 
 <td><h3>License: </h3> <?=$licence?></td>
 </tr>
 <?php
@@ -120,11 +121,12 @@ if ($licence) {
 
 if ($license) {
 ?>
-<tr align="left" bgcolor="FFFFCC"
+<tr align="left"> 
 <td><h3>License: </h3> <?=$license?></td>
 </tr>
 <?php
 }
 ?>
-</table><hr>
+</table>
+</div>
 </body></html>