Initial header templates added
parent
5931340a39
commit
ab5d80a600
|
@ -0,0 +1 @@
|
|||
"</tbody></table></body></html>"
|
|
@ -0,0 +1,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
"</title></head><body><h1>"
|
|
@ -0,0 +1,4 @@
|
|||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>
|
|
@ -0,0 +1,3 @@
|
|||
"</h1><table><colgroup><col width=\"55%\"/><col width=\"20%\" style=\"text-a"
|
||||
"lign: right\"/><col width=\"25%\"/></colgroup><thead><tr><th>File Name</th"
|
||||
"><th>File Size</th><th>Date</th></tr></thead><tbody>"
|
|
@ -0,0 +1,15 @@
|
|||
</h1>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col width="55%"/>
|
||||
<col width="20%" style="text-align: right"/>
|
||||
<col width="25%"/>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>File Name</th>
|
||||
<th>File Size</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
|
@ -0,0 +1,6 @@
|
|||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\"http://www.w3"
|
||||
".org/TR/xhtml1/DTD/xhtml1-strict.dtd\"><html xmlns=\"http://www.w3.org/19"
|
||||
"99/xhtml\"><head><style type=\"text/css\">body, html {background: #fff;}tr"
|
||||
".o {background: #eee;}th {font-weight: bold;background: #ddd;}</style><"
|
||||
"meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/><tit"
|
||||
"le>"
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body, html {
|
||||
background: #fff;
|
||||
}
|
||||
tr.o {
|
||||
background: #eee;
|
||||
}
|
||||
th {
|
||||
font-weight: bold;
|
||||
background: #ddd;
|
||||
}
|
||||
</style>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
||||
<title>
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* t2h.c
|
||||
* t2inc.c
|
||||
* Copyright (C) 2007 acastro <acastro@slump>
|
||||
*
|
||||
* Distributed under terms of the MIT license.
|
||||
|
@ -51,6 +51,11 @@ main(int argc, char **argv)
|
|||
printf("\"\n");
|
||||
|
||||
/* check whether an error was produced */
|
||||
if (ferror(stdout)) {
|
||||
fprintf(stderr, "%s: error writing output, %s\n", argv[0], strerror(errno));
|
||||
fflush(stderr);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if ((c == EOF) && ferror(stdin)) {
|
||||
fprintf(stderr, "%s: error reading input, %s\n", argv[0], strerror(errno));
|
||||
fflush(stderr);
|
||||
|
|
Loading…
Reference in New Issue