From 35e897520b36dd457b5357c9e02cd1171a507c87 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 28 Mar 2015 22:49:31 +0100 Subject: [PATCH] Dead code for displaying ajax info on ASses --- bgpdata/templates/bgpdata/map.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bgpdata/templates/bgpdata/map.html b/bgpdata/templates/bgpdata/map.html index 6366df5..20c58a5 100644 --- a/bgpdata/templates/bgpdata/map.html +++ b/bgpdata/templates/bgpdata/map.html @@ -164,7 +164,7 @@ $('svg g').tipsy({ state = 'Never seen'; content = 'AS '+d.asnumber+'
'; - content += ''; + content += '
'; content += ''; if(d.lastSeen) { content += ''; @@ -173,6 +173,15 @@ $('svg g').tipsy({ content += ''; } content += '
State'+state+'
Last seenCrawl '+d.lastSeen+'
'+d.lastSeenDate+'
NoteDirectly crawled
'; + + //(function(node) { + // $.ajax({url: "/map/api/borderrouter/?crawl={{crawl.id}}&AS="+node.id, success: function(result) { + // $('#node-popup-'+node.id).append("JavascriptI FUCKING HATE IT"); + // console.log($('#node-popup-'+node.id)); + // console.log(result); + // } + // }); + //})(d); } return content; }