gecko/mobile/chrome/content/prompt/promptPassword.xul

45 lines
1.6 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE dialog [
<!ENTITY % promptDTD SYSTEM "chrome://browser/locale/prompt.dtd">
<!ENTITY % commonDialogDTD SYSTEM "chrome://global/locale/commonDialog.dtd">
%promptDTD;
%commonDialogDTD;
]>
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="prompt-password-dialog"
onclose="this.PromptHelper.onClosePassword(this)"
onload="document.getElementById('prompt-password-user').focus()"
script="chrome://browser/content/prompt/prompt.js">
<label id="prompt-password-title"/>
<scrollbox orient="vertical">
<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>
<hbox id="prompt-password-checkbox-box" collapsed="true" align="center">
<checkbox class="toggle-dark" id="prompt-password-checkbox"/>
<label id="prompt-password-checkbox-msg"/>
</hbox>
<hbox pack="center" id="prompt-password-button-box">
<button class="button-dark" label="&ok.label;"
oncommand="document.getElementById('prompt-password-dialog').PromptHelper.closePassword(true)"/>
<button class="button-dark" label="&cancel.label;"
oncommand="document.getElementById('prompt-password-dialog').PromptHelper.closePassword(false)"/>
</hbox>
</dialog>