diff options
Diffstat (limited to 'src/Headers.c')
-rw-r--r-- | src/Headers.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/Headers.c b/src/Headers.c index 97b50e9..f24ac49 100644 --- a/src/Headers.c +++ b/src/Headers.c @@ -56,6 +56,9 @@ static const char *cactus_styles = " a:link { color: #1B831D; }\n" " a:visited { color: #768000; }\n" " a:active { color: green; }\n" +" div.centered { text-align: center; } \n" +" div.centered table { margin: auto; } \n" +" span.hilite { color: red; } \n" " td.menu { color: black; background-color: #E5FFA2; \n" " text-align: left; vertical-align: top; width: 20ex; \n" " font-size: small; }\n" @@ -65,25 +68,12 @@ static const char *cactus_styles = " margin-top: 1.2em; margin-bottom: 0; } \n" " td.menu span.simulation_name { font-style: italic; } \n" " td.menu kbd { font-family: monospace; font-style: normal; } \n" -" .controls td { text-align: left; vertical-align: middle; } \n" -" .params th { text-align: right; } \n" -" .params td { text-align: center; vertical-align: middle; } \n" -" .params td.description { font-size: small; } \n" -" table.groups { background-color: #E9F4D3; } \n" -" .groups td { text-align: left; } \n" -" .paramtable td { text-align: left; vertical-align: middle; } \n" -" .paramtable td.description { font-size: small; } \n" -" .thornparams th { text-align: right; } \n" -" .thorns td { text-align: left; } \n" " .footer td { font-size: small; vertical-align: top; } \n" " .footer td.by { text-align: right; } \n" " .footer img { border: 0; } \n" -" div.banner, div.centered { text-align: center; } \n" +" div.banner { text-align: center; } \n" " div.banner table { margin: auto; } \n" " div.banner img { border: 0; } \n" -" div.centered table { margin: auto; } \n" -" td.authenticate { text-align: center; background-color: #E5FFA2; }\n" -" span.hilite { color: red; } \n" "</style>\n"; static const char *cactus_footer = @@ -114,6 +104,8 @@ static const char * cactus_doctype = void HTTP_SetHeadInfo( String *header) { SetToCString( header, cactus_styles ); + ConcatCString( header, "<meta name=\"content-type\" " + "content=\"text/html; charset=iso-8859-15\" />\n"); } void HTTP_SetDoctype( String *header) { |