abouttreesummaryrefslogcommitdiff
path: root/ui-tree.c
diff options
context:
space:
mode:
authorPatrick2025-12-30 21:26:12 +0100
committerPatrick2025-12-30 21:26:12 +0100
commit1239bc3eaaf80f2f97c00acc80a66f1d891c103b (patch)
tree8e9586c773616272e2ac785842f1d4e35d84b6c5 /ui-tree.c
parent57acc37af734aa7505457c4f6549a8bb1bd00169 (diff)
downloadps-cgit-1239bc3eaaf80f2f97c00acc80a66f1d891c103b.tar.gz
ps-cgit-1239bc3eaaf80f2f97c00acc80a66f1d891c103b.zip
expandable file tree table
Diffstat (limited to 'ui-tree.c')
-rw-r--r--ui-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-tree.c b/ui-tree.c
index 349f868..6dfd408 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -298,6 +298,7 @@ static void ls_head(void)
static void ls_tail(const struct tree *tree, struct pathspec *paths)
{
+ html("<tr style=\"display: table-row;\"><td colspan=\"4\"><input type=\"checkbox\" id=\"show-all\"><label for=\"show-all\">Show All</label></td></tr>");
html("</table>\n");
if (tree)
cgit_print_repo_readme_no_layout(tree, paths);