- Timestamp:
- Aug 13, 2009, 2:32:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5925 r5927 206 206 vector<NodeID> nodes; 207 207 if (links.size()==0) { 208 s << "<h2 style=\"color=#606060 ;\">No links established!</h2>";208 s << "<h2 style=\"color=#606060\">No links established!</h2>"; 209 209 } else { 210 s << "<h2 style=\"color=#606060 ;\">Links</h2>";210 s << "<h2 style=\"color=#606060\">Links</h2>"; 211 211 s << "<table width=\"100%\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\">"; 212 s << "<tr style=\"background-color=# e0e0e0;\">";213 s << "<td> Id</td><td>Remote</td><td>Path</td>";212 s << "<tr style=\"background-color=#ffe0e0\">"; 213 s << "<td><b>Link ID</b></td><td><b>Remote ID</b></td><td><b>Relay path</b></td>"; 214 214 s << "</tr>"; 215 215 … … 229 229 s << "<td>"; 230 230 if (ld->routeRecord.size()>0) { 231 for (size_t i=0; i<ld->routeRecord.size(); i++) 232 s << ld->routeRecord[i].toString().substr(0,4) << ".. "; 231 for (size_t i=1; i<ld->routeRecord.size(); i++) 232 s << ld->routeRecord[routeRecord.size()-i-1].toString().substr(0,4) << ".. "; 233 } else { 234 s << "Direct"; 233 235 } 234 236 s << "</td>";
Note:
See TracChangeset
for help on using the changeset viewer.