summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorGravatar postscriptum2025-05-20 21:29:17 +0300
committerGravatar postscriptum2025-05-20 21:29:17 +0300
commitbf94f6af7741f488f96deb16071707f11e692550 (patch)
treedf63ab28281530b8f037946fbd707a9c2dd64c3d /utils.c
parentOperations on the 'people' page redirects back to it instead of 'admin'. (diff)
downloadsnac2-bf94f6af7741f488f96deb16071707f11e692550.tar.gz
snac2-bf94f6af7741f488f96deb16071707f11e692550.tar.xz
snac2-bf94f6af7741f488f96deb16071707f11e692550.zip
make greetings theme adaptive; define style in header
Diffstat (limited to '')
-rw-r--r--utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 576b17c..d50707a 100644
--- a/utils.c
+++ b/utils.c
@@ -101,8 +101,9 @@ static const char *greeting_html =
101 "<html><head>\n" 101 "<html><head>\n"
102 "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n" 102 "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n"
103 "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n" 103 "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n"
104 "<style>*{color-scheme:light dark}body{margin:auto;max-width:50em}</style>\n"
104 "<title>Welcome to %host%</title>\n</head>\n" 105 "<title>Welcome to %host%</title>\n</head>\n"
105 "<body style=\"margin: auto; max-width: 50em\">\n" 106 "<body>\n"
106 "%blurb%" 107 "%blurb%"
107 "<p>The following users are part of this community:</p>\n" 108 "<p>The following users are part of this community:</p>\n"
108 "\n" 109 "\n"