aboutsummaryrefslogtreecommitdiffstats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-07-06 22:42:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-23 05:20:42 +0100
commit81509a228c7428abeb56ecacb45ccd8dc8fc6209 (patch)
treeb60adc2400493c4de91c6550ecce6f786ec7e5c3 /ui-repolist.c
parentgit: update to v2.10.2 (diff)
downloadcgit-81509a228c7428abeb56ecacb45ccd8dc8fc6209.tar.xz
cgit-81509a228c7428abeb56ecacb45ccd8dc8fc6209.zip
css: highlight even table rows and skip empty rows
This is stolen from kernel.org css [0]. [0] https://git.kernel.org/cgit-korg-0.10.1.css
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 7158bf7..b57ea60 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -321,7 +321,7 @@ void cgit_print_repolist(void)
(last_section != NULL && section == NULL) ||
(last_section != NULL && section != NULL &&
strcmp(section, last_section)))) {
- htmlf("<tr class='nohover'><td colspan='%d' class='reposection'>",
+ htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposection'>",
columns);
html_txt(section);
html("</td></tr>");