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 42 by Douglas Thrift, 2003-11-16T20:01:53-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><select name=\"host\" multiple>\n";
191  
192          if (method != "POST") sputenv("QUERY_STRING=mode=h");
193  
# Line 226 | Line 227 | void HostStatus::header(const string& me
227                  cout << "<option>" << host.getHost() << "</option>\n";
228          }
229  
230 <        cout << "</select>\n"
231 <                << "<input type=\"checkbox\" name=\"mode\" value=\"h\">&nbsp;Host\n"
232 <                << "<input type=\"checkbox\" name=\"mode\" value=\"n\">&nbsp;Name\n"
230 >        cout << "</select></td>\n"
231 >                << "<td><input type=\"checkbox\" name=\"mode\" value=\"h\">&nbsp;Host"
232 >                << "\n<input type=\"checkbox\" name=\"mode\" value=\"n\">&nbsp;Name\n"
233                  << "<input type=\"checkbox\" name=\"mode\" value=\"a\">&nbsp;Address\n"
234                  << "<input type=\"checkbox\" name=\"mode\" value=\"p\">&nbsp;Platform"
235 <                << '\n'
236 <                << "<input type=\"checkbox\" name=\"mode\" value=\"s\">&nbsp;Since\n"
237 <                << "<input type=\"submit\" value=\"Status\">\n"
238 <                << "</p>\n"
235 >                << "\n<input type=\"checkbox\" name=\"mode\" value=\"s\">&nbsp;Since\n"
236 >                << "</td>\n"
237 >                << "<td><input type=\"submit\" value=\"Status\"></td>\n"
238 >                << "</tr>\n"
239 >                << "</table>\n"
240                  << "</form>\n"
241                  << "<table class=\"center\">\n"
242                  << "<tr>\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines