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 41 by Douglas Thrift, 2003-11-16T19:56:19-08:00 vs.
Revision 43 by Douglas Thrift, 2003-11-16T20:17:51-08:00

# Line 185 | Line 185 | void HostStatus::header(const string& me
185                  << "<body>\n"
186                  << "<h1 id=\"title\" class=\"center\">Host Status</h1>\n"
187                  << "<form action=\"hoststatus.cgi\" method=\"POST\">\n"
188 <                << "<p class=\"center\">\n"
189 <                << "<select name=\"host\" multiple>\n";
188 >                << "<table class=\"center\">\n"
189 >                << "<tr>\n"
190 >                << "<td>\n"
191 >                << "<select name=\"host\" size=\"2\" multiple>\n";
192  
193          if (method != "POST") sputenv("QUERY_STRING=mode=h");
194  
# Line 227 | Line 229 | void HostStatus::header(const string& me
229          }
230  
231          cout << "</select>\n"
232 +                << "</td>\n"
233 +                << "<td>\n"
234                  << "<input type=\"checkbox\" name=\"mode\" value=\"h\">&nbsp;Host\n"
235                  << "<input type=\"checkbox\" name=\"mode\" value=\"n\">&nbsp;Name\n"
236                  << "<input type=\"checkbox\" name=\"mode\" value=\"a\">&nbsp;Address\n"
237                  << "<input type=\"checkbox\" name=\"mode\" value=\"p\">&nbsp;Platform"
238 <                << '\n'
239 <                << "<input type=\"checkbox\" name=\"mode\" value=\"s\">&nbsp;Since\n"
240 <                << "<input type=\"submit\" value=\"Status\">\n"
241 <                << "</p>\n"
238 >                << "\n<input type=\"checkbox\" name=\"mode\" value=\"s\">&nbsp;Since\n"
239 >                << "</td>\n"
240 >                << "<td><input type=\"submit\" value=\"Status\"></td>\n"
241 >                << "</tr>\n"
242 >                << "</table>\n"
243                  << "</form>\n"
244                  << "<table class=\"center\">\n"
245                  << "<tr>\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines