mirror of
https://git.zx2c4.com/cgit
synced 2025-08-01 00:24:35 +02:00
Add ui-commit.c + misc ui cleanups
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
2101e26fd6
commit
9a8f88658d
9 changed files with 140 additions and 19 deletions
|
@ -62,9 +62,9 @@ void cgit_print_tree(const char *hex)
|
|||
|
||||
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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue