Fixing layout for proxies pref pane. r=rgoodger@ihug.co.nz

This commit is contained in:
mcafee%netscape.com 2000-01-05 04:52:20 +00:00
parent 8fa5608f44
commit 54d5d291b9

View File

@ -26,39 +26,34 @@
<window xmlns:html="http://www.w3.org/TR/REC-html40" <window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog" class="dialog"
onload="manualSelected();return StartUp('Proxies');" title="Sample Prefs Panel"> onload="manualSelected();return StartUp('Proxies');"
align="vertical" title="Sample Prefs Panel"
debug="false">
<html:script language="javascript" src="PrefsWindow.js"/> <html:script language="javascript" src="PrefsWindow.js"/>
<html:div flex="100%">
<box class="header" align="horizontal">
<box id="header" align="horizontal"> <titledbutton class="left-header-text" value="&lHeader;"/>
<spring style="width:20px"/> <spring class="header-spring" flex="1"/>
<html:div style="vertical-align: middle;"> <titledbutton class="right-header-text" value="&rHeader;"/>
<html:B>&lHeader;</html:B> </box>
</html:div>
<spring flex="100%"/><spring style="width:60px"/>
<html:div >&rHeader;</html:div><spring style="width:5px"/>
</box>
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<box align="vertical" style="width: 100%;">
<html:fieldset style="width: 100%;">
<!-- &networkHeader.label; Bug in boxes--> <!-- &networkHeader.label; Bug in boxes-->
<html:div> <html:div>
<html:input name="directManualOrAuto" type="radio" id="pref:0:int:network.proxy.type" /> <html:input name="directManualOrAuto" type="radio" id="pref:0:int:network.proxy.type" />
<html:label for="pref:0:int:network.proxy.type" accesskey="d" tabindex="0"> <html:label for="pref:0:int:network.proxy.type" accesskey="d" tabindex="0">
&directTypeRadio.label; &directTypeRadio.label;
</html:label> </html:label>
</html:div> </html:div>
<html:div> <html:div>
<html:input name="directManualOrAuto" type="radio" id="pref:1:int:network.proxy.type" /> <html:input name="directManualOrAuto" type="radio" id="pref:1:int:network.proxy.type" />
<html:label for="pref:1:int:network.proxy.type" accesskey="m" tabindex="0"> <html:label for="pref:1:int:network.proxy.type" accesskey="m" tabindex="0">
&manualTypeRadio.label; &manualTypeRadio.label;
</html:label> </html:label>
<titledbutton class="dialog push" value="&view.label;" align="left" onclick="openit();"/> <titledbutton class="dialog push" value="&view.label;" align="left" onclick="openit();"/>
</html:div> </html:div>
<html:div id="manual-proxy" style="display: none"> <html:div id="manual-proxy" style="display: none">
<html:table width="100%"> <html:table width="100%">
@ -102,7 +97,8 @@
</html:table> </html:table>
<!-- Not supporting gopher --> <!-- Not supporting gopher -->
<!-- <box align="horizontal"> <!--
<box align="horizontal">
<html:div> <html:div>
&gopher.label; &gopher.label;
</html:div> </html:div>
@ -113,7 +109,8 @@
</box> --> </box> -->
<!-- Not supporting wais right now --> <!-- Not supporting wais right now -->
<!-- <box align="horizontal"> <!--
<box align="horizontal">
<html:div> <html:div>
&wais.label; &wais.label;
</html:div> </html:div>
@ -124,7 +121,8 @@
</html:div> </html:div>
<html:input name="waisproxyport" type="text" id="pref:string:network.proxy.wais_port" size="5" /> <html:input name="waisproxyport" type="text" id="pref:string:network.proxy.wais_port" size="5" />
</box> --> </box> -->
<!-- <box align="put name="gopherproxy" type="text" id="pref:string:network.proxy.gopher" size="20" /> <!--
<box align="put name="gopherproxy" type="text" id="pref:string:network.proxy.gopher" size="20" />
<spring flex="100%"/> <spring flex="100%"/>
<html:dihorizontal"> <html:dihorizontal">
<html:div> <html:div>
@ -133,7 +131,8 @@
</box> --> </box> -->
<!-- No supporting at this point --> <!-- No supporting at this point -->
<!-- <box align="horizontal"> <!--
<box align="horizontal">
<html:div> <html:div>
&sockhost.label; &sockhost.label;
</html:div> </html:div>
@ -147,21 +146,19 @@
</html:div> </html:div>
<html:div> <html:div>
<html:input name="directManualOrAuto" type="radio" id="pref:2:int:network.proxy.type" /> <html:input name="directManualOrAuto" type="radio" id="pref:2:int:network.proxy.type" />
<html:label for="pref:2:int:network.proxy.type" accesskey="a" tabindex="0"> <html:label for="pref:2:int:network.proxy.type" accesskey="a" tabindex="0">
&autoTypeRadio.label; &autoTypeRadio.label;
</html:label> </html:label>
</html:div>
</html:div>
<html:div> <html:div>
&configAutoconfigText.label; &configAutoconfigText.label;
<html:input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url" /> <html:input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url" />
</html:div> </html:div>
<spring flex="1"/><titledbutton class="dialog push" value="&reload.label;" align="right"/> <spring flex="1"/><titledbutton class="dialog push" value="&reload.label;" align="right"/>
</html:fieldset> </html:fieldset>
</box> </box>
</html:div>
</window> </window>