lunch-poll-legacy

Lunch Poll Legacy -- poll colleagues where to have lunch
Log | Files | Refs | README | LICENSE

commit d075e8a398d57808a730e0a3b1673c27795d25fa
parent 63ac797272c791e55c67e1dde3f99b790387c6c9
Author: Matthias Balk <mbalk@mbalk.de>
Date:   Wed, 11 Sep 2024 18:55:27 +0200

added "viewport" meta tag

Diffstat:
Msrc/config.h | 2+-
Msrc/mittag.c | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/config.h b/src/config.h @@ -6,7 +6,7 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ -#define PROG_VERSION "1.0" +#define PROG_VERSION "1.1" #define PROG_NAME "Lunch Poll Legacy" #define COPYRIGHT "Copyright 2024 Matthias Balk" diff --git a/src/mittag.c b/src/mittag.c @@ -39,6 +39,8 @@ static int get_votes_callback(void *unused, puts("<!DOCTYPE html>"); puts("<html lang=\"de\"><head><meta charset=\"utf-8\">"); puts("<meta name=\"robots\" content=\"noindex\">"); + puts("<meta name=\"viewport\" content=\"width=device-width, " + "initial-scale=1.0\">"); puts("<title>Alle mampfen Mamba. Mampfred auch.</title></head>"); puts("<body><form action=\"/mittag.cgi/votes\" method=\"POST\"><table>"); }