summaryrefslogtreecommitdiff
path: root/htroot/Network.html
diff options
context:
space:
mode:
authorlotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542>2011-01-15 18:49:51 +0000
committerlotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542>2011-01-15 18:49:51 +0000
commitc9cd03b53244d1128c95224f50a508690b9ba6a3 (patch)
tree6cfc9c8737ad4679fdcc34b53d0119efe6cf2f5e /htroot/Network.html
parent930cb412dd5db10166d478cfcf87a1fc6d1ae021 (diff)
adding convenient option for contacting peer on network page 4. can be used on creating new network. this page is hidden from the interface (not linked).
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7435 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/Network.html')
-rw-r--r--htroot/Network.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/htroot/Network.html b/htroot/Network.html
index b8e19ff98..72e326ac2 100644
--- a/htroot/Network.html
+++ b/htroot/Network.html
@@ -357,6 +357,20 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
</tr>
</table>
</form>
+
+ <p>&nbsp;</p>
+
+ Contacting current peer from another:
+ <table>
+ <tr>
+ <td>ip:port</td>
+ <td><input id="otherPeerAddress" type="text" size="32" maxlength="128" value=":8080" /></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="button" value="contact current peer from this peer" onclick="top.location.href='http://' + document.getElementById('otherPeerAddress').value + '/Network.html?peerHash=#[my-hash]#&peerIP=#[my-ip]#&peerPort=#[my-port]#&page=4&addPeer=add+Peer'"/></td>
+ </tr>
+ </table>
#(/table)#
#%env/templates/footer.template%#
</body>