added home link to index header

This commit is contained in:
Noah Swerhun 2021-04-17 15:06:16 -05:00
parent 466c92be49
commit 5d782a9a84

View file

@ -71,10 +71,11 @@ writeheader(FILE *fp)
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
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 rowspan=\"2\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n"
"<td><span class=\"desc\">", relpath);
xmlencode(fp, description, strlen(description));
fputs("</span></td></tr><tr><td></td><td>\n"
fputs("</span></td></tr><tr><td><span class=\"desc\">Home:</span>\n"
"<a class=\"desc-link\" href=\"https://noahsw.xyz\">https://noahsw.xyz</a>\n"
"</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
"<table id=\"index\"><thead>\n"
"<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Owner</b></td>"