fix for dl/fieldset problem in Safari

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3444 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 5741701b59
commit 70cd391ea1

@ -33,7 +33,7 @@
</li> </li>
<li> <li>
#(statusPassword)#<img src="/env/grafics/warning.png" alt="warning" />&nbsp;Please set a password for your peer to protect your settings (> 3 characters); if this is successful you will be asked to log in with these values immediately.::<img src="/env/grafics/ok.png" height="32px" width="32px" alt="ok" />&nbsp;Password is set#(/statusPassword)#<br /> #(statusPassword)#<img src="/env/grafics/warning.png" alt="warning" />&nbsp;Please set a password for your peer to protect your settings (> 3 characters); if this is successful you will be asked to log in with these values immediately.::<img src="/env/grafics/ok.png" height="32px" width="32px" alt="ok" />&nbsp;Password is set#(/statusPassword)#<br />
<fieldset><table border="0"><tr><td> <fieldset>
<dl class="userConfig"> <dl class="userConfig">
<dt><label for="adminuser">Peer User:</label></dt> <dt><label for="adminuser">Peer User:</label></dt>
<dd><input type="text" name="adminuser" id="adminuser" value="#[defaultUser]#" size="16" maxlength="32" /></dd> <dd><input type="text" name="adminuser" id="adminuser" value="#[defaultUser]#" size="16" maxlength="32" /></dd>
@ -42,22 +42,22 @@
<dt><label for="adminpw2">Peer Password:</label></dt> <dt><label for="adminpw2">Peer Password:</label></dt>
<dd><input type="password" name="adminpw2" id="adminpw2" value="" size="16" maxlength="32" /> (repeat same password)</dd> <dd><input type="password" name="adminpw2" id="adminpw2" value="" size="16" maxlength="32" /> (repeat same password)</dd>
</dl> </dl>
</td></tr></table></fieldset> </fieldset>
</li> </li>
<li> <li>
#(statusName)#<img src="/env/grafics/warning.png" alt="warning" />&nbsp;Your peer name has not been customized; please set your own peer name::<img src="/env/grafics/ok.png" height="32px" width="32px" alt="ok" />&nbsp;You have a nice peer name#(/statusName)#<br /> #(statusName)#<img src="/env/grafics/warning.png" alt="warning" />&nbsp;Your peer name has not been customized; please set your own peer name::<img src="/env/grafics/ok.png" height="32px" width="32px" alt="ok" />&nbsp;You have a nice peer name#(/statusName)#<br />
<fieldset><table border="0"><tr><td> <fieldset>
<dl> <dl>
<dt><label for="peername">Peer Name: </label></dt> <dt><label for="peername">Peer Name: </label></dt>
<dd> <dd>
<input type="text" name="peername" id="peername" value="#[defaultName]#" size="20" maxlength="32" /> <input type="text" name="peername" id="peername" value="#[defaultName]#" size="20" maxlength="32" />
</dd> </dd>
</dl> </dl>
</td></tr></table></fieldset> </fieldset>
</li> </li>
<li> <li>
#(statusPort)#<img src="/env/grafics/warning.png" alt="warning" />&nbsp;Your peer cannot be reached from outside (what is not fatal, but would be good for the YaCy network); please open your firewall for this port and/or set a virtual server option in your router to allow connections on this port.::<img src="/env/grafics/ok.png" height="32px" width="32px" alt="ok" />&nbsp;Your peer can be reached by other peers#(/statusPort)#<br /> #(statusPort)#<img src="/env/grafics/warning.png" alt="warning" />&nbsp;Your peer cannot be reached from outside (what is not fatal, but would be good for the YaCy network); please open your firewall for this port and/or set a virtual server option in your router to allow connections on this port.::<img src="/env/grafics/ok.png" height="32px" width="32px" alt="ok" />&nbsp;Your peer can be reached by other peers#(/statusPort)#<br />
<fieldset><table border="0"><tr><td> <fieldset>
<dl> <dl>
<dt><label for="port">Peer Port: </label></dt> <dt><label for="port">Peer Port: </label></dt>
<dd> <dd>
@ -70,7 +70,7 @@
<input type="checkbox" name="enableUpnp" id="enableUpnp" align="top" #(enabled)#::checked="checked"#(/enabled)# /> <input type="checkbox" name="enableUpnp" id="enableUpnp" align="top" #(enabled)#::checked="checked"#(/enabled)# />
</dd>#(/upnp)# </dd>#(/upnp)#
</dl> </dl>
</td></tr></table></fieldset> </fieldset>
</li> </li>
</ol> </ol>
<fieldset>&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="set" value="Set Configuration" /></fieldset> <fieldset>&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="set" value="Set Configuration" /></fieldset>

@ -61,18 +61,13 @@
<form action="PerformanceMemory_p.html" method="post" enctype="multipart/form-data"> <form action="PerformanceMemory_p.html" method="post" enctype="multipart/form-data">
<fieldset> <fieldset>
<legend>Memory Settings</legend> <legend>Memory Settings</legend>
<table border="0" cellpadding="2" cellspacing="1" width="60%"> <dl>
<colgroup><col width="20%" /><col width="40%" /></colgroup> <dt><label for="Xmx">Memory reserved for JVM</label></dt>
<tr> <dd><input name="Xmx" id="Xmx" type="text" size="4" maxlength="4" value="#[Xmx]#" /> MByte&nbsp;
<td class="TableCellDark" align="right"><label for="Xmx">Memory reserved for JVM</label>&nbsp;</td> <input type="submit" name="setStartup" value="Set" />&nbsp;
<td class="TableCellLight" align="left">&nbsp;<input name="Xmx" id="Xmx" type="text" size="4" maxlength="4" value="#[Xmx]#" /> MByte</td> #(setStartupCommit)#::<div class="commit">Accepted change. This will take effect after <strong>restart</strong> of YaCy</div>::<div class="error"></div>#(/setStartupCommit)#
</tr> </dd>
<tr> </dl>
<td class="TableCellLight" align="right"><input type="submit" name="setStartup" value="Set" /></td>
<td #(setStartupCommit)#class="TableCellLight"::class="commit"::class="error"#(/setStartupCommit)# align="left">&nbsp;#(setStartupCommit)#::Accepted change. This will take effect after <strong>restart</strong> of YaCy#(/setStartupCommit)#
</td>
</tr>
</table>
</fieldset> </fieldset>
</form> </form>

@ -37,6 +37,13 @@
font-family:/*Helvetica, Arial, */sans-serif; font-family:/*Helvetica, Arial, */sans-serif;
} }
/* the following dl style is needed to patch a bug in Safari
which occurs when definition lists appears inside of fieldsets */
dl {
display:inline-block;
width:96%;
}
body { body {
margin:0; margin:0;
padding:0; padding:0;

Loading…
Cancel
Save