mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 1521285 - Remove XUL grid layout from toolkit/mozapps/preferences/changemp.xul. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17051 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
5bbd684165
commit
cbfb044695
@ -23,35 +23,29 @@
|
||||
|
||||
<description control="pw1" data-l10n-id="master-password-description"></description>
|
||||
|
||||
<grid>
|
||||
<columns>
|
||||
<column flex="1"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label control="oldpw" data-l10n-id="set-password-old-password"></label>
|
||||
<textbox id="oldpw" type="password"/>
|
||||
<!-- This textbox is inserted as a workaround to the fact that making the 'type'
|
||||
& 'disabled' property of the 'oldpw' textbox toggle between ['password' &
|
||||
'false'] and ['text' & 'true'] - as would be necessary if the menu has more
|
||||
than one tokens, some initialized and some not - does not work properly. So,
|
||||
either the textbox 'oldpw' or the textbox 'message' would be displayed,
|
||||
depending on the state of the token selected
|
||||
-->
|
||||
<textbox id="message" disabled="true" />
|
||||
</row>
|
||||
<row>
|
||||
<label control="pw1" data-l10n-id="set-password-new-password"></label>
|
||||
<textbox id="pw1" type="password"
|
||||
oninput="setPasswordStrength(); checkPasswords();"/>
|
||||
</row>
|
||||
<row>
|
||||
<label control="pw2" data-l10n-id="set-password-reenter-password"></label>
|
||||
<textbox id="pw2" type="password" oninput="checkPasswords();"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<label flex="1" control="oldpw" data-l10n-id="set-password-old-password"></label>
|
||||
<textbox id="oldpw" type="password"/>
|
||||
<!-- This textbox is inserted as a workaround to the fact that making the 'type'
|
||||
& 'disabled' property of the 'oldpw' textbox toggle between ['password' &
|
||||
'false'] and ['text' & 'true'] - as would be necessary if the menu has more
|
||||
than one tokens, some initialized and some not - does not work properly. So,
|
||||
either the textbox 'oldpw' or the textbox 'message' would be displayed,
|
||||
depending on the state of the token selected
|
||||
-->
|
||||
<textbox id="message" disabled="true" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label flex="1" control="pw1" data-l10n-id="set-password-new-password"></label>
|
||||
<textbox id="pw1" type="password"
|
||||
oninput="setPasswordStrength(); checkPasswords();"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label flex="1" control="pw2" data-l10n-id="set-password-reenter-password"></label>
|
||||
<textbox id="pw2" type="password" oninput="checkPasswords();"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<html:label for="pwmeter" style="display: -moz-box;" data-l10n-id="set-password-meter"></html:label>
|
||||
<html:progress id="pwmeter" value="0" max="100"/>
|
||||
|
Loading…
Reference in New Issue
Block a user