aboutsummaryrefslogtreecommitdiff
path: root/ui-summary.c
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2023-03-01 06:38:36 -0500
committerThedro Neely <thedroneely@gmail.com>2023-10-08 18:18:49 -0400
commit6402bd073274d32aa1a564e0792b4f155299a65d (patch)
treef6799b3100ce432fb0008445d81de8329f3372fb /ui-summary.c
parent00ecfaadea2c40cc62b7a43e246384329e6ddb98 (diff)
downloadcgit-master.tar.gz
cgit-master.tar.bz2
cgit-master.zip
css: customHEADmaster
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.c5
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'>&nbsp;</td></tr>", columns);
+ htmlf("<tr class='empty nohover'><td colspan='%d'>&nbsp;</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'>&nbsp;</td></tr>", columns);
+ htmlf("<tr class='empty nohover'><td colspan='%d'>&nbsp;</td></tr>", columns);
cgit_print_tags(ctx.cfg.summary_tags);
if (ctx.cfg.summary_log > 0) {
- htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>", columns);
cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL,
NULL, NULL, 0, 0, 0);
}