ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostStatus/HostStatus.cpp
(Generate patch)

Comparing HostStatus/HostStatus.cpp (file contents):
Revision 44 by Douglas Thrift, 2003-11-17T11:05:37-08:00 vs.
Revision 64 by Douglas Thrift, 2004-01-01T17:26:01-08:00

# Line 16 | Line 16 | int main(int argc, char* argv[])
16  
17   HostStatus::HostStatus()
18   {
19 #ifndef __CYGWIN__
20        sputenv("TZ=:America/Los_Angeles");
21 #else
22        sputenv("TZ= PST8PDT");
23 #endif
24        tzset();
25
19          string method = sgetenv("REQUEST_METHOD");
20  
21          parse(method);
# Line 183 | Line 176 | void HostStatus::header(const string& me
176                  << "<title>Host Status</title>\n"
177                  << "</head>\n"
178                  << "<body>\n"
179 +                << "<div>\n"
180                  << "<h1 id=\"title\" class=\"center\">Host Status</h1>\n"
181 +                << "</div>\n"
182 +                << "<div class=\"hr\">\n"
183 +                << "<p class=\"floatleft\"><a href=\"./\"><img src=\"/icons/back.gif\""
184 +                << " alt=\"\"></a></p>\n"
185                  << "<form action=\"hoststatus.cgi\" method=\"POST\">\n"
186                  << "<table class=\"center\">\n"
187                  << "<tr>\n"
# Line 274 | Line 272 | void HostStatus::header(const string& me
272   void HostStatus::footer()
273   {
274          cout << "</table>\n"
275 +                << "</div>\n"
276                  << "</html>\n";
277   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines