summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-12-26 12:54:09 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-12-26 12:54:09 +0100
commit63a71643d00b1b407bb12eda34ac0755b4d9c950 (patch)
tree982b2678334d5e472fa4cea21e471adef200f95b
parent9295d3f1903621475a3a8ea907941598fdc50697 (diff)
index: highlight row on mouseover
-rw-r--r--style.css2
-rw-r--r--urmoms-index.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/style.css b/style.css
index 54a9a56..17d92e8 100644
--- 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
index 89729e6..356f08c 100644
--- 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);