Add basic(!) html sites to display project information

This commit is contained in:
Karsten Heiken
2011-05-19 18:29:21 +02:00
parent 6697265571
commit 6452d6313a
8 changed files with 268 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<!DOCTYPE html5>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>List of projects</title>
<link rel="stylesheet" href="/ScattPort/assets/css/inuit.css" />
</head>
<body>
<table>
<tr>
<td><b>id</b></td>
<td><b>name</b></td>
<td><b>owner</b></td>
</tr>
<? foreach($projects as $project): ?>
<tr>
<td><?=anchor('web/projects/detail/'.$project['id'], $project['id'])?></td>
<td><?=$project['name']?></td>
<td><?=$project['owner']?></td>
</tr>
<? endforeach; ?>
</table>
</body>
</html>