nice +/- buttons

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3823 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 18 years ago
parent 8f00c1e896
commit 5cae5e79c2

@ -39,7 +39,11 @@
<dt>size</dt>
<dd><input type="text" name="width" value="#[width]#" size="4" maxlength="4" />&nbsp;x&nbsp;<input type="text" name="height" value="#[height]#" size="4" maxlength="4" /></dd>
<dt>nodes</dt>
<dd><input type="text" name="nodes" value="#[nodes]#" size="4" maxlength="4" /></dd>
<dd>
<a href="WatchWebStructure_p.html?host=#[host]#&depth=#[depth]#&width=#[width]#&height=#[height]#&nodes=#[nodesd]#"><img src="env/grafics/minus.gif" /></a>
<input type="text" name="nodes" value="#[nodes]#" size="4" maxlength="4" />
<a href="WatchWebStructure_p.html?host=#[host]#&depth=#[depth]#&width=#[width]#&height=#[height]#&nodes=#[nodesi]#"><img src="env/grafics/plus.gif" /></a>
</dd>
<dt>&nbsp;</dt>
<dd><input type="submit" value="change" /></dd>
</dl>

@ -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;
}

Loading…
Cancel
Save