Changeset 5927


Ignore:
Timestamp:
Aug 13, 2009, 2:32:37 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r5925 r5927  
    206206        vector<NodeID> nodes;
    207207        if (links.size()==0) {
    208                 s << "<h2 style=\"color=#606060;\">No links established!</h2>";
     208                s << "<h2 style=\"color=#606060\">No links established!</h2>";
    209209        } else {
    210                 s << "<h2 style=\"color=#606060;\">Links</h2>";
     210                s << "<h2 style=\"color=#606060\">Links</h2>";
    211211                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>";
    214214                s << "</tr>";
    215215
     
    229229                        s << "<td>";
    230230                        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";
    233235                        }
    234236                        s << "</td>";
Note: See TracChangeset for help on using the changeset viewer.