aboutsummaryrefslogtreecommitdiff
path: root/ui-refs.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-refs.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-refs.c')
-rw-r--r--ui-refs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-refs.c b/ui-refs.c
index 456f610..47df732 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -197,6 +197,7 @@ void cgit_print_tags(int maxcount)
if (maxcount < list.count)
print_refs_link("tags");
+ html("<tr class='empty nohover'><td colspan='3'>&nbsp;</td></tr>");
cgit_free_reflist_inner(&list);
}
@@ -211,7 +212,7 @@ void cgit_print_refs(void)
cgit_print_tags(0);
else {
cgit_print_branches(0);
- html("<tr class='nohover'><td colspan='5'>&nbsp;</td></tr>");
+ html("<tr class='empty nohover'><td colspan='5'>&nbsp;</td></tr>");
cgit_print_tags(0);
}
html("</table>");