From e272cbf57375b84776b6d6f94cf2abe3ce438090 Mon Sep 17 00:00:00 2001 From: Heikki Hokkanen Date: Sun, 4 May 2008 17:49:35 +0300 Subject: [PATCH] Use a table for the index / project list. --- default.css | 17 +++++++++++++++++ templates/index.php | 34 ++++++++++++++++++++++++---------- 2 files changed, 41 insertions(+), 10 deletions(-) rewrite templates/index.php (64%) diff --git a/default.css b/default.css index 8d4a397..5b231e6 100644 --- a/default.css +++ b/default.css @@ -2,3 +2,20 @@ body { color: black; background-color: white; } + +table { + width: 100%; + border-collapse: collapse; +} + +table tr td { +} + +table tbody tr:hover { + background-color: #ccc; +} + +table th { + text-align: left; +} + diff --git a/templates/index.php b/templates/index.php dissimilarity index 64% index 6e6bf08..4a70946 100644 --- a/templates/index.php +++ b/templates/index.php @@ -1,10 +1,24 @@ -

List of projects

- - - +

List of projects

+ + + + + + + + + + + +\n"; + echo "\t\n"; + echo "\t\n"; + echo "\t\n"; + echo "\n"; +} +?> + +
ProjectDescription
'summary', 'p' => $p['name'])) ."\">$p[name]$p[description]
+ -- 2.11.4.GIT