diff options
author | Thedro Neely <thedroneely@gmail.com> | 2023-03-01 06:38:36 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2023-10-08 18:18:49 -0400 |
commit | 6402bd073274d32aa1a564e0792b4f155299a65d (patch) | |
tree | f6799b3100ce432fb0008445d81de8329f3372fb /ui-summary.c | |
parent | 00ecfaadea2c40cc62b7a43e246384329e6ddb98 (diff) | |
download | cgit-6402bd073274d32aa1a564e0792b4f155299a65d.tar.gz cgit-6402bd073274d32aa1a564e0792b4f155299a65d.tar.bz2 cgit-6402bd073274d32aa1a564e0792b4f155299a65d.zip |
Add custom image and favicon. Slightly modernize interface with custom CSS
style sheet. Adjust markdown filter. Highlight line number #id in code preview.
Diffstat (limited to 'ui-summary.c')
-rw-r--r-- | ui-summary.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui-summary.c b/ui-summary.c index 947812a..b68ca20 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -27,7 +27,7 @@ static void print_url(const char *url) columns++; if (urls++ == 0) { - htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>", columns); + htmlf("<tr class='empty nohover'><td colspan='%d'> </td></tr>", columns); htmlf("<tr class='nohover'><th class='left' colspan='%d'>Clone</th></tr>\n", columns); } @@ -52,10 +52,9 @@ void cgit_print_summary(void) cgit_print_layout_start(); html("<table summary='repository info' class='list nowrap'>"); cgit_print_branches(ctx.cfg.summary_branches); - htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>", columns); + htmlf("<tr class='empty nohover'><td colspan='%d'> </td></tr>", columns); cgit_print_tags(ctx.cfg.summary_tags); if (ctx.cfg.summary_log > 0) { - htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>", columns); cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL, NULL, NULL, 0, 0, 0); } |