mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-08-28 08:50:08 +02:00
68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<!-- DON'T localize: strres test cases -->
|
||
|
|
||
|
|
||
|
<!DOCTYPE window>
|
||
|
<!-- padding 0px is just a workaround for windows not displaying paddings correctly
|
||
|
take it out once this works! -->
|
||
|
|
||
|
<window style=" padding: 0px; width: 100%; height: 100%"
|
||
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||
|
title="Open File or Location"
|
||
|
onload="onLoad()"
|
||
|
class="dialog">
|
||
|
|
||
|
<html:script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||
|
|
||
|
<!--html:script type="application/x-javascript" src="resource:/res/strres-test.js" charset="Shift_JIS" / -->
|
||
|
<html:script type="application/x-javascript" src="resource:/res/strres-test.js" />
|
||
|
|
||
|
<hbox flex="100%" style="width:30em;">
|
||
|
|
||
|
<html:div style="width: 45px; margin: 5px;">
|
||
|
<html:img src="chrome://navigator/skin/questionl.gif" width="32" height="32" border="0"/>
|
||
|
</html:div>
|
||
|
|
||
|
<vbox flex="100%" style="height: 100%;">
|
||
|
|
||
|
<html:div style="width: 100%;">Enter the World Wide Web location (URL) you would like to open or
|
||
|
</html:div>
|
||
|
<html:div style="width: 100%; margin-bottom: 0.5em;">use the Choose File... button to select a local file:
|
||
|
</html:div>
|
||
|
|
||
|
<hbox>
|
||
|
<html:input id="dialog.input" flex="100%" onkeyup="onTyping(event.keyCode)"/>
|
||
|
<button onclick="choose()" label="Choose File..." align="left"/>
|
||
|
</hbox>
|
||
|
|
||
|
<hbox style="margin-bottom: 1em;">
|
||
|
<html:input type="checkbox" id="dialog.newWindow"/>
|
||
|
<html:label for="dialog.newWindow">Open in new window</html:label>
|
||
|
<spacer flex="100%"/>
|
||
|
</hbox>
|
||
|
<hbox style="margin-bottom: 1em;">
|
||
|
<spacer flex="100%"/>
|
||
|
<html:label id = "labelPrompt">Strres Test: </html:label>
|
||
|
<html:label id = "testLabel">to be set!!</html:label>
|
||
|
|
||
|
<spacer flex="100%"/>
|
||
|
</hbox>
|
||
|
|
||
|
<spacer flex="100%"/>
|
||
|
|
||
|
<hbox>
|
||
|
<spacer flex="100%"/>
|
||
|
<button id="dialog.ok" label="ok" onclick="open()" align="left"/>
|
||
|
<button id="dialog.test" value="test" onclick="strresTest()" align="left"/>
|
||
|
<button id="dialog.cancel" label="cancel: ??" onclick="cancel()" align="left"/>
|
||
|
<spacer flex="100%"/>
|
||
|
</hbox>
|
||
|
|
||
|
</vbox>
|
||
|
|
||
|
</hbox>
|
||
|
|
||
|
|
||
|
</window>
|