aboutsummaryrefslogtreecommitdiff
path: root/ui-refs.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-refs.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-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>");