summaryrefslogtreecommitdiffabout
path: root/ui-repolist.c
Unidiff
Diffstat (limited to 'ui-repolist.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-repolist.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 1fe7059..7090c12 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -24,14 +24,17 @@ void cgit_print_repolist(struct cacheitem *item)
24 strerror(errno))); 24 strerror(errno)));
25 cgit_print_docend(); 25 cgit_print_docend();
26 return; 26 return;
27 } 27 }
28 28
29 html("<h2>Repositories</h2>\n"); 29 html("<h2>Repositories</h2>\n");
30 html("<table class='list'>"); 30 html("<table class='list nowrap'>");
31 html("<tr><th>Name</th><th>Description</th><th>Owner</th></tr>\n"); 31 html("<tr>"
32 "<th class='left'>Name</th>"
33 "<th class='left'>Description</th>"
34 "<th class='left'>Owner</th></tr>\n");
32 while ((de = readdir(d)) != NULL) { 35 while ((de = readdir(d)) != NULL) {
33 if (de->d_name[0] == '.') 36 if (de->d_name[0] == '.')
34 continue; 37 continue;
35 if (stat(de->d_name, &st) < 0) 38 if (stat(de->d_name, &st) < 0)
36 continue; 39 continue;
37 if (!S_ISDIR(st.st_mode)) 40 if (!S_ISDIR(st.st_mode))