stagit-index: remove empty h1 and add bold markup to table headers

This commit is contained in:
Hiltjo Posthuma 2017-04-16 20:36:48 +02:00
parent 980fa8ea9b
commit 4035291297

View file

@ -81,12 +81,14 @@ writeheader(FILE *fp)
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
fputs("</head>\n<body>\n", fp); fputs("</head>\n<body>\n", fp);
fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n" fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n"
"<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n", "<td><span class=\"desc\">", relpath);
relpath, name, description); xmlencode(fp, description, strlen(description));
fputs("</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n" fputs("</span></td></tr><tr><td></td><td>\n"
"<table id=\"index\"><thead>\n" "</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
"<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last commit</td></tr>" "<table id=\"index\"><thead>\n"
"</thead><tbody>\n", fp); "<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Owner</b></td>"
"<td><b>Last commit</b></td></tr>"
"</thead><tbody>\n", fp);
} }
void void