summaryrefslogtreecommitdiffabout
path: root/ui-tree.c
authorLars Hjemli <hjemli@gmail.com>2007-11-11 12:17:13 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-11-11 12:17:13 (UTC)
commita7cf406c802394460cb14c79f3f43582d1428a45 (patch) (side-by-side diff)
tree71f3069c782698ae2972459258d551055f502c4f /ui-tree.c
parentab21082c21867e035cd925a06d6d55fb3143d883 (diff)
parent2ff33a8a0405b420cd75e0e207c7efeecd6f130b (diff)
downloadcgit-a7cf406c802394460cb14c79f3f43582d1428a45.zip
cgit-a7cf406c802394460cb14c79f3f43582d1428a45.tar.gz
cgit-a7cf406c802394460cb14c79f3f43582d1428a45.tar.bz2
Merge branch 'lh/testsuite'
* lh/testsuite: Set commit date on snapshot contents Fix html error detected by test-suite Create initial testsuite
Diffstat (limited to 'ui-tree.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-tree.c b/ui-tree.c
index c22e30b..c138877 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -19,3 +19,3 @@ static void print_object(const unsigned char *sha1, char *path)
unsigned long size, lineno, start, idx;
- const char *linefmt = "<tr><td class='no'><a name='%1$d'>%1$d</a></td><td class='txt'>";
+ const char *linefmt = "<tr><td class='no'><a id='n%1$d' name='n%1$d' href='#n%1$d'>%1$d</a></td><td class='txt'>";
@@ -39,3 +39,3 @@ static void print_object(const unsigned char *sha1, char *path)
- html("<table class='blob'>\n");
+ html("<table summary='blob content' class='blob'>\n");
idx = 0;
@@ -110,3 +110,3 @@ static void ls_head()
{
- html("<table class='list'>\n");
+ html("<table summary='tree listing' class='list'>\n");
html("<tr class='nohover'>");