diff options
author | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-19 13:10:13 +0000 |
---|---|---|
committer | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-19 13:10:13 +0000 |
commit | b6727f88dd115b1176003e695182dfecd5f7d4c0 (patch) | |
tree | 85507db841b578c6463c1067cb225ef00f93a11c /src/Headers.c | |
parent | f74e95157e422e2b3f583582f3cb0f5adbc6868d (diff) |
Addresses Cactus bug 923
Made the download list to be organized by variable, then by data
output type, then by slice.
To facilitate list manipulation, added temporarily a list module
'PtrList', which perhaps may prove of more general use in the future.
Pursuant to Cactus bug 907
Added parameter HTTPExtra::viewport_refresh_seconds to send Refresh
header to web browser.
Made ViewPort window to respond to viewport_refresh_seconds parameter
General HTML improvements...checked with Amaya and lynx.
Re-organized CSS info in HTTPD web pages.
Got rid of httpuMimeType code which didn't do anything.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@195 1faa4e14-9dd3-4be0-9f0e-ffe519881164
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) { |