style: In the index, make the project names explicit links

For readability, make the project names in the index to be explicit
links.
This commit is contained in:
Alberto Bertogli 2017-08-27 15:27:47 +01:00
parent 9b21bd6f19
commit 56b0b34930
2 changed files with 8 additions and 3 deletions

@ -99,6 +99,11 @@ span.tag {
background-color: #ffff88;
}
/* Projects table */
table.projects td.name a {
color: #038;
}
/* Age of an object.
* Note this is hidden by default as we rely on javascript to show it. */
span.age {

@ -11,7 +11,7 @@
<body class="index" onload="replace_timestamps()">
<h1>git</h1>
<table class="nice">
<table class="nice projects">
<tr>
<th>project</th>
<th>description</th>
@ -19,8 +19,8 @@
% for repo in sorted(repos.values(), key = lambda r: r.name):
<tr>
<td><a href="r/{{repo.name}}/">{{repo.name}}</a></td>
<td><a href="r/{{repo.name}}/">{{repo.info.desc}}</a></td>
<td class="name"><a href="r/{{repo.name}}/">{{repo.name}}</a></td>
<td class="desc"><a href="r/{{repo.name}}/">{{repo.info.desc}}</a></td>
<td><span class="age">{{repo.last_commit_timestamp()}}</span></td>
</tr>
%end