tvote.c: read style.css if present on webserver root - vote - simple cgi voting system for web and gopher
(HTM) git clone git://src.adamsgaard.dk/vote
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0994d7f990110621e0dec05f95503a65cf4170c6
(DIR) parent d87240294456e9516fdd64fc6d6f02aa5e6bfadf
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) 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");
}