From 5cae5e79c2c55d50be1221a4a8dff4560e68a96b Mon Sep 17 00:00:00 2001 From: allo Date: Thu, 7 Jun 2007 23:11:13 +0000 Subject: [PATCH] nice +/- buttons git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3823 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/WatchWebStructure_p.html | 6 +++++- htroot/WatchWebStructure_p.java | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htroot/WatchWebStructure_p.html b/htroot/WatchWebStructure_p.html index 949e7832e..c71e8f312 100644 --- a/htroot/WatchWebStructure_p.html +++ b/htroot/WatchWebStructure_p.html @@ -39,7 +39,11 @@
size
 x 
nodes
-
+
+ + + +
 
diff --git a/htroot/WatchWebStructure_p.java b/htroot/WatchWebStructure_p.java index 6be4f2853..af1aae41e 100644 --- a/htroot/WatchWebStructure_p.java +++ b/htroot/WatchWebStructure_p.java @@ -50,6 +50,8 @@ public class WatchWebStructure_p { prop.put("width", width); prop.put("height", height); prop.put("nodes", nodes); + prop.put("nodesi", Math.min(1000, nodes + 50)); + prop.put("nodesd", Math.max(0, nodes - 50)); return prop; }