mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
61 lines
2.1 KiB
XML
61 lines
2.1 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE prompt [
|
|
<!ENTITY % promptDTD SYSTEM "chrome://browser/locale/prompt.dtd">
|
|
<!ENTITY % commonDialogDTD SYSTEM "chrome://global/locale/commonDialog.dtd">
|
|
%promptDTD;
|
|
%commonDialogDTD;
|
|
]>
|
|
|
|
<dialog id="prompt-password-dialog"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="document.getElementById('prompt-password-user').focus()"
|
|
onclose="this.PromptHelper.onClosePassword(this)"
|
|
script="chrome://browser/content/prompt/prompt.js">
|
|
|
|
<keyset>
|
|
<key keycode="VK_RETURN" command="cmd_ok"/>
|
|
<key keycode="VK_ESCAPE" command="cmd_cancel"/>
|
|
</keyset>
|
|
|
|
<commandset>
|
|
<command id="cmd_ok" oncommand="document.getElementById('prompt-password-dialog').PromptHelper.closePassword(true)"/>
|
|
<command id="cmd_cancel" oncommand="document.getElementById('prompt-password-dialog').PromptHelper.closePassword(false)"/>
|
|
</commandset>
|
|
|
|
<vbox class="prompt-header" flex="1">
|
|
<label id="prompt-password-title" class="prompt-title" crop="center" flex="1"/>
|
|
|
|
<scrollbox orient="vertical" class="prompt-message" flex="1">
|
|
<description id="prompt-password-message"/>
|
|
</scrollbox>
|
|
|
|
<grid>
|
|
<columns>
|
|
<column flex="1"/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&editfield0.label;"/>
|
|
<textbox id="prompt-password-user"/>
|
|
</row>
|
|
<row align="center">
|
|
<label value="&editfield1.label;"/>
|
|
<textbox type="password" id="prompt-password-password"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<button id="prompt-password-checkbox" type="checkbox" class="button-checkbox" collapsed="true" pack="start" flex="1">
|
|
<image class="button-image-icon"/>
|
|
<description id="prompt-password-checkbox-label" class="prompt-checkbox-label" flex="1"/>
|
|
</button>
|
|
</vbox>
|
|
|
|
<hbox class="prompt-buttons">
|
|
<button class="prompt-button" label="&ok.label;" command="cmd_ok"/>
|
|
<button class="prompt-button" label="&cancel.label;" command="cmd_cancel"/>
|
|
</hbox>
|
|
</dialog>
|