| tindex: highlight row on mouseover - stagit - static git page generator | |
| git clone git://src.adamsgaard.dk/stagit | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 63a71643d00b1b407bb12eda34ac0755b4d9c950 | |
| parent 9295d3f1903621475a3a8ea907941598fdc50697 | |
| Author: Hiltjo Posthuma <[email protected]> | |
| 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(-) | |
| --- | |
| diff --git a/style.css b/style.css | |
| t@@ -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 | |
| t@@ -108,7 +108,7 @@ writeheader(FILE *fp) | |
| "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><t… | |
| 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 com… | |
| "</thead><tbody>\n", fp); | |