index: highlight row on mouseover - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 63a71643d00b1b407bb12eda34ac0755b4d9c950 DIR parent 9295d3f1903621475a3a8ea907941598fdc50697 HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 26 Dec 2015 12:54:09 +0100 index: highlight row on mouseover Diffstat: M style.css | 2 +- M urmoms-index.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR 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; } DIR 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);