index: highlight row on mouseover

This commit is contained in:
Hiltjo Posthuma 2015-12-26 12:54:09 +01:00
parent 9295d3f190
commit 63a71643d0
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ table td {
padding: 0 0.4em;
}
#log tr:hover td, #files tr:hover td {
#index tr:hover td, #log tr:hover td, #files tr:hover td {
background-color: #eee;
}

View file

@ -108,7 +108,7 @@ writeheader(FILE *fp)
"<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n",
relpath, name, description);
fputs("</td></tr>\n</table>\n<hr/><div id=\"content\">\n"
"<table><thead>\n"
"<table id=\"index\"><thead>\n"
"<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last commit</td></tr>"
"</thead><tbody>\n", fp);