]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
gitweb ripoff: set tr:hover to highligt current row
[ps-cgit] / ui-tree.c
index 84930cb50df30988a7930f44cb8ea64edd31f851..c4d75ab3f3b3b564c0da4decf80b8ed7a54b9954 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -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");
 }