Changeset 497d088


Ignore:
Timestamp:
Nov 24, 2016 6:12:18 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e3435dc
Parents:
cc6cd9e
Message:

add links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SybilRenderer.java

    rcc6cd9e r497d088  
    217217        // Distance to our router analysis
    218218        buf.append("<h3 id=\"ritoday\">Closest Floodfills to Our Routing Key (Where we Store our RI)</h3>");
     219        buf.append("<p><a href=\"/netdb?caps=f&amp;sybil\">See all</a></p>");
    219220        renderRouterInfoHTML(out, buf, ourRKey, avgMinDist, ris, points);
    220221        RouterKeyGenerator rkgen = _context.routerKeyGenerator();
    221222        Hash nkey = rkgen.getNextRoutingKey(us);
    222223        buf.append("<h3 id=\"ritmrw\">Closest Floodfills to Tomorrow's Routing Key (Where we will Store our RI)</h3>");
     224        buf.append("<p><a href=\"/netdb?caps=f&amp;sybil\">See all</a></p>");
    223225        renderRouterInfoHTML(out, buf, nkey, avgMinDist, ris, points);
    224226
     
    244246            String name = (in != null) ? in.getSettings().getDestinationNickname() : client.toBase64().substring(0,4);
    245247            buf.append("<h3>Closest floodfills to the Routing Key for " + DataHelper.escapeHTML(name) + " (where we store our LS)</h3>");
     248            buf.append("<p><a href=\"/netdb?caps=f&amp;sybil=" + ls.getHash().toBase64() + "\">See all</a></p>");
    246249            renderRouterInfoHTML(out, buf, rkey, avgMinDist, ris, points);
    247250            nkey = rkgen.getNextRoutingKey(ls.getHash());
    248251            buf.append("<h3>Closest floodfills to Tomorrow's Routing Key for " + DataHelper.escapeHTML(name) + " (where we will store our LS)</h3>");
     252            buf.append("<p><a href=\"/netdb?caps=f&amp;sybil=" + ls.getHash().toBase64() + "\">See all</a></p>");
    249253            renderRouterInfoHTML(out, buf, nkey, avgMinDist, ris, points);
    250254        }
Note: See TracChangeset for help on using the changeset viewer.