- changed grammar in ViewProfile.html to comply with peer-names ending on i.e. 's'

- removed restart-button on non-Windows platforms (until start-script is adjusted)
- margin for <dt>s with more than one line 

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3209 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
karlchenofhell 18 years ago
parent aedb34a988
commit 06152cdf6d

@ -12,8 +12,8 @@
<p>Welcome to YaCy!</p>
<form action="Steering.html" method="get" class="PeerControl">
<fieldset>
<input type="submit" name="restart" value="Restart (only Windows)" />
<fieldset>#(restartEnabled)#::
<input type="submit" name="restart" value="Restart" />#(/restartEnabled)#
<input type="submit" name="shutdown" value="Shutdown" />
</fieldset>
</form>

@ -143,6 +143,10 @@ public class Status {
prop.put("protection", 1); // protected
}
// if running on Windows, enable restart button
// (remove from servlet when Linux start-script is capable, too)
prop.put("restartEnabled", (System.getProperty("os.name").toLowerCase().startsWith("win")) ? 1 : 0);
// version information
prop.put("versionpp", yacy.combined2prettyVersion(env.getConfig("version","0.1")));
double thisVersion = Double.parseDouble(env.getConfig("version","0.1"));

@ -23,7 +23,7 @@
::
<p class="error">The peer #[peername]# is not online.</p>
::
<h3>This is #[peername]#'s Profile:</h3>
<h3>This is the Profile of #[peername]#:</h3>
<dl class="pairs">
<dt>Name</dt>

@ -350,7 +350,7 @@ form dt, dl.pairs dt {
float:left;
clear:left;
width:17em;
margin:0 2px;
margin:0 2px 0.5em 2px;
padding:0.2em 0.5em;
text-align:right;
}

Loading…
Cancel
Save