commit 63a71643d00b1b407bb12eda34ac0755b4d9c950 (patch)
parent 9295d3f1903621475a3a8ea907941598fdc50697
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 26 Dec 2015 12:54:09 +0100
index: highlight row on mouseover
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/style.css b/style.css
@@ -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;
}
diff --git a/urmoms-index.c b/urmoms-index.c
@@ -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);