]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Enable building with debuginfo
[ps-cgit] / ui-repolist.c
index 1fe70590452dc997d6c60fe7a62fcb374cc12156..9f12b181b1982126ef8f72f3a971d96d646d565d 100644 (file)
@@ -17,7 +17,7 @@ void cgit_print_repolist(struct cacheitem *item)
 
        chdir(cgit_root);
        cgit_print_docstart(cgit_root_title, item);
-       cgit_print_pageheader(cgit_root_title);
+       cgit_print_pageheader(cgit_root_title, 0);
 
        if (!(d = opendir("."))) {
                cgit_print_error(fmt("Unable to scan repository directory: %s",
@@ -27,8 +27,11 @@ void cgit_print_repolist(struct cacheitem *item)
        }
 
        html("<h2>Repositories</h2>\n");
-       html("<table class='list'>");
-       html("<tr><th>Name</th><th>Description</th><th>Owner</th></tr>\n");
+       html("<table class='list nowrap'>");
+       html("<tr>"
+            "<th class='left'>Name</th>"
+            "<th class='left'>Description</th>"
+            "<th class='left'>Owner</th></tr>\n");
        while ((de = readdir(d)) != NULL) {
                if (de->d_name[0] == '.')
                        continue;