author | Lars Hjemli <hjemli@gmail.com> | 2006-12-15 23:19:56 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-15 23:19:56 (UTC) |
commit | 9a8f88658d51aeb86a79ac1121de13562ad2601f (patch) (side-by-side diff) | |
tree | 8724d9477efe887e0b851b567e74554e75761cc7 /ui-tree.c | |
parent | 2101e26fd68f816e77de62b93df4c32fd1110d0c (diff) | |
download | cgit-9a8f88658d51aeb86a79ac1121de13562ad2601f.zip cgit-9a8f88658d51aeb86a79ac1121de13562ad2601f.tar.gz cgit-9a8f88658d51aeb86a79ac1121de13562ad2601f.tar.bz2 |
Add ui-commit.c + misc ui cleanups
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -57,14 +57,14 @@ void cgit_print_tree(const char *hex) tree = parse_tree_indirect(sha1); if (!tree) { cgit_print_error(fmt("Not a tree object: %s", hex)); return; } html("<h2>Tree content</h2>\n"); html("<table class='list'>\n"); - html("<tr><th>Name</th>"); - html("<th class='filesize'>Size</th>"); - html("<th class='filemode'>Mode</th></tr>\n"); + html("<tr><th class='left'>Name</th>"); + html("<th class='right'>Size</th>"); + html("<th class='right'>Mode</th></tr>\n"); read_tree_recursive(tree, "", 0, 1, NULL, print_entry); html("</table>\n"); } |