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 42 by Douglas Thrift, 2003-11-16T20:01:53-08:00 vs.
Revision 43 by Douglas Thrift, 2003-11-16T20:17:51-08:00

# Line 187 | Line 187 | void HostStatus::header(const string& me
187                  << "<form action=\"hoststatus.cgi\" method=\"POST\">\n"
188                  << "<table class=\"center\">\n"
189                  << "<tr>\n"
190 <                << "<td><select name=\"host\" multiple>\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 228 | void HostStatus::header(const string& me
228                  cout << "<option>" << host.getHost() << "</option>\n";
229          }
230  
231 <        cout << "</select></td>\n"
232 <                << "<td><input type=\"checkbox\" name=\"mode\" value=\"h\">&nbsp;Host"
233 <                << "\n<input type=\"checkbox\" name=\"mode\" value=\"n\">&nbsp;Name\n"
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<input type=\"checkbox\" name=\"mode\" value=\"s\">&nbsp;Since\n"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines