зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7271448df4
Коммит
85e78f6671
|
@ -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();"/>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче