tvote.c: change link color and add disabled results link - vote - simple cgi vo… | |
git clone git://src.adamsgaard.dk/vote | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d2b9657de60d35864eca24c99735963907839872 | |
parent 799aa192f31b743ef61a3485b473b6fea11eaa7f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 28 Sep 2020 18:14:09 +0200 | |
vote.c: change link color and add disabled results link | |
Diffstat: | |
M vote.c | 5 +++++ | |
1 file changed, 5 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/vote.c b/vote.c | |
t@@ -79,6 +79,9 @@ print_html_head() | |
" h1, h2, h3 {\n" | |
" line-height: 1.2;\n" | |
" }\n" | |
+ " a {\n" | |
+ " color: #000;\n" | |
+ " }\n" | |
" td.choice {\n" | |
" padding: .5em;\n" | |
" }\n" | |
t@@ -162,6 +165,8 @@ print_poll_file(FILE *fp, int vote) | |
puts("<input type=\"submit\" value=\"Submit\" " | |
"class=\"button\"/>"); | |
puts("</form>"); | |
+ /* printf("<p><a href=\"?poll=%s&choice=0\">" | |
+ "Show results</a></p>\n", poll); */ | |
} | |
} | |