summaryrefslogtreecommitdiffabout
path: root/ui-summary.c
authorLars Hjemli <larsh@slaptop.hjemli.net>2007-01-27 23:39:26 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-01-27 23:52:41 (UTC)
commit777faf7e509e1de2b795b2a326ff00c9bd799104 (patch) (unidiff)
treeccb440445caf46cbfa3d4bd21d743697f37a9876 /ui-summary.c
parent447025f62ccbbb6e038d42009368e28f3e162460 (diff)
downloadcgit-777faf7e509e1de2b795b2a326ff00c9bd799104.zip
cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.tar.gz
cgit-777faf7e509e1de2b795b2a326ff00c9bd799104.tar.bz2
Cleanup table listings
Make the output for <table class='list'> a bit nicer Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
Diffstat (limited to 'ui-summary.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-summary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-summary.c b/ui-summary.c
index 1591632..04d4912 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -93,22 +93,22 @@ static int cgit_print_tag_cb(const char *refname, const unsigned char *sha1,
93 } 93 }
94 return 0; 94 return 0;
95} 95}
96 96
97static void cgit_print_branches() 97static void cgit_print_branches()
98{ 98{
99 html("<tr><th class='left'>Branch</th>" 99 html("<tr class='nohover'><th class='left'>Branch</th>"
100 "<th class='left'>Updated</th>" 100 "<th class='left'>Updated</th>"
101 "<th class='left'>Author</th>" 101 "<th class='left'>Author</th>"
102 "<th class='left'>Head commit</th></tr>\n"); 102 "<th class='left'>Head commit</th></tr>\n");
103 for_each_branch_ref(cgit_print_branch_cb, NULL); 103 for_each_branch_ref(cgit_print_branch_cb, NULL);
104} 104}
105 105
106static void cgit_print_tags() 106static void cgit_print_tags()
107{ 107{
108 html("<tr><th class='left'>Tag</th>" 108 html("<tr class='nohover'><th class='left'>Tag</th>"
109 "<th class='left'>Created</th>" 109 "<th class='left'>Created</th>"
110 "<th class='left'>Author</th>" 110 "<th class='left'>Author</th>"
111 "<th class='left'>Reference</th></tr>\n"); 111 "<th class='left'>Reference</th></tr>\n");
112 for_each_tag_ref(cgit_print_tag_cb, NULL); 112 for_each_tag_ref(cgit_print_tag_cb, NULL);
113} 113}
114 114