aboutsummaryrefslogtreecommitdiff
path: root/ui-summary.c
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2021-02-12 02:14:24 -0500
committerThedro Neely <thedroneely@gmail.com>2021-11-16 22:16:52 -0500
commit162612d5a5e4492c38aee2fb87159203f7f71a06 (patch)
tree9da80cddfb71f8290819aa51701297d2a424e3f6 /ui-summary.c
parent5258c297ba6fb604ae1415fbc19a3fe42457e49e (diff)
downloadcgit-162612d5a5e4492c38aee2fb87159203f7f71a06.tar.gz
cgit-162612d5a5e4492c38aee2fb87159203f7f71a06.tar.bz2
cgit-162612d5a5e4492c38aee2fb87159203f7f71a06.zip
css: custom
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);
}