Bug 1562811 - Replace XUL textboxes with HTML inputs in security/manager/pki/resources/content/load_device.xul. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D36564

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tim Nguyen 2019-09-26 16:31:15 +00:00
Родитель 7271448df4
Коммит 85e78f6671
1 изменённых файлов: 15 добавлений и 5 удалений

Просмотреть файл

@ -17,22 +17,32 @@
<html:link rel="localization" href="security/certificates/deviceManager.ftl"/> <html:link rel="localization" href="security/certificates/deviceManager.ftl"/>
</linkset> </linkset>
<script src="chrome://global/content/globalOverlay.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
<script src="chrome://pippki/content/pippki.js"/> <script src="chrome://pippki/content/pippki.js"/>
<script src="chrome://pippki/content/load_device.js"/> <script src="chrome://pippki/content/load_device.js"/>
<html:style>
#device_name,
#device_path {
-moz-box-flex: 1;
}
</html:style>
<description data-l10n-id="load-device-info"></description> <description data-l10n-id="load-device-info"></description>
<hbox align="center"> <hbox align="center">
<label data-l10n-id="load-device-modname" <label data-l10n-id="load-device-modname"
control="device_name"/> control="device_name"/>
<textbox id="device_name" flex="1" <html:input id="device_name"
data-l10n-id="load-device-modname-default" data-l10n-id="load-device-modname-default"
data-l10n-attrs="value" data-l10n-attrs="value"
onchange="validateModuleName();"/> onchange="validateModuleName();"/>
</hbox> </hbox>
<hbox align="center"> <hbox align="center">
<label data-l10n-id="load-device-filename" <label data-l10n-id="load-device-filename"
control="device_path"/> control="device_path"/>
<textbox id="device_path" flex="1"/> <html:input id="device_path" />
<button id="browse" flex="1" <button id="browse" flex="1"
data-l10n-id="load-device-browse" data-l10n-id="load-device-browse"
oncommand="onBrowseBtnPress();"/> oncommand="onBrowseBtnPress();"/>