tvote.c: read style.css if present on webserver root - vote - simple cgi voting… | |
git clone git://src.adamsgaard.dk/vote | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0994d7f990110621e0dec05f95503a65cf4170c6 | |
parent d87240294456e9516fdd64fc6d6f02aa5e6bfadf | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 28 Sep 2020 16:00:49 +0200 | |
vote.c: read style.css if present on webserver root | |
Diffstat: | |
M vote.c | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/vote.c b/vote.c | |
t@@ -67,6 +67,10 @@ print_html_head() | |
printf("Content-type: text/html; charset=utf-8\r\n\r\n"); | |
printf("<!DOCTYPE html>\n" | |
"<html>\n" | |
+ "<head>\n" | |
+ "\t<link rel=\"stylesheet\" href=\"style.css\" " | |
+ "type=\"text/css\" media=\"screen\" />\n" | |
+ "</head>\n" | |
"<body>\n"); | |
} | |