hide memory tables by default

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5020 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 17 years ago
parent 5f77f55ed7
commit f9fb2d0fee

@ -3,8 +3,9 @@
<head>
<title>YaCy '#[clientname]#': Performance Settings for Memory</title>
#%env/templates/metas.template%#
<script type="text/javascript" src="js/html.js"></script>
</head>
<body id="PerformanceMemory">
<body id="PerformanceMemory" onload="hide('memory_tables')">
<script type="text/javascript"><!--
function reloadGraph() {
if(document.forms["optionreloadGraph"].option.checked)
@ -16,8 +17,27 @@
#%env/templates/header.template%#
#%env/templates/submenuConfig.template%#
<h2>Performance Settings for Memory</h2>
<p><strong>Memory Usage:</strong></p>
<p><img src="PerformanceGraph.png" name="graph" alt="PerformanceGraph"/></p>
<p><form name="optionreloadGraph" action="" method="get"><input type="checkbox" name="option" /> auto-reload graph</form></p>
<form action="PerformanceMemory_p.html" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Memory Settings</legend>
<dl>
<dt><label for="Xmx">Memory reserved for JVM</label></dt>
<dd><input name="Xmx" id="Xmx" type="text" size="4" maxlength="4" value="#[Xmx]#" /> MByte&nbsp;
<input type="submit" name="setStartup" value="Set" />&nbsp;
#(setStartupCommit)#::<div class="commit">Accepted change. This will take effect after <strong>restart</strong> of YaCy</div>::<div class="error"></div>#(/setStartupCommit)#
</dd>
</dl>
</fieldset>
</form>
<a href="javascript:show('memory_tables')">show memory tables</a>
<div id="memory_tables">
<p><strong>Memory Usage:</strong></p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
<td>&nbsp;<br />Type</td>
@ -66,20 +86,6 @@
</tr>
</table>
<form action="PerformanceMemory_p.html" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Memory Settings</legend>
<dl>
<dt><label for="Xmx">Memory reserved for JVM</label></dt>
<dd><input name="Xmx" id="Xmx" type="text" size="4" maxlength="4" value="#[Xmx]#" /> MByte&nbsp;
<input type="submit" name="setStartup" value="Set" />&nbsp;
#(setStartupCommit)#::<div class="commit">Accepted change. This will take effect after <strong>restart</strong> of YaCy</div>::<div class="error"></div>#(/setStartupCommit)#
</dd>
</dl>
</fieldset>
</form>
<p><img src="PerformanceGraph.png" name="graph" alt="PerformanceGraph"/></p>
<p><form name="optionreloadGraph" action="" method="get"><input type="checkbox" name="option" /> auto-reload graph</form></p>
<p><strong>EcoTable RAM Index:</strong></p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
@ -239,6 +245,9 @@
<td>#[blacklistcache.size]#</td>
</tr>
</table>
</div>
#%env/templates/footer.template%#
</body>
</html>

@ -39,3 +39,11 @@ function radioValue(inputs) {
for (var i=0; i<inputs.length; i++) if (inputs[i].checked) return inputs[i].value;
return false;
}
function hide(id) {
document.getElementById(id).style.display = "none";
}
function show(id) {
document.getElementById(id).style.display = "inline";
}

@ -1465,7 +1465,8 @@ Memory Settings==Speicher Einstellungen
Memory reserved for JVM==F&uuml;r JVM reservierter Speicher
"Set"=="Setzen"
Accepted change. This will take effect after <strong>restart</strong> of YaCy==&Auml;nderung akzeptiert. Diese werden erst nach einem <strong>Neustart</strong> von YaCy wirksam
auto-reload graph==Graphik automatisch neuladen
auto-reload graph==Grafik automatisch neu laden
show memory tables==Zeige Speicher-Tabellen
EcoTable RAM Index:==EcoTabelle RAM Index:
>Size==>Gr&ouml;sse
>Key==>Schl&uuml;ssel

Loading…
Cancel
Save