Source code

Revision control

Other Tools

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
3
- License, v. 2.0. If a copy of the MPL was not distributed with this
4
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
<!DOCTYPE html [
6
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
7
%globalDTD;
8
]>
9
<html xmlns="http://www.w3.org/1999/xhtml">
10
<head>
11
<title data-localization="manageAddressesTitle"/>
12
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css" />
13
<link rel="stylesheet" href="chrome://formautofill/content/manageDialog.css" />
15
</head>
16
<body dir="&locale.dir;">
17
<fieldset>
18
<legend data-localization="addressesListHeader"/>
19
<select id="addresses" size="9" multiple="multiple"/>
20
</fieldset>
21
<div id="controls-container">
22
<button id="remove" disabled="disabled" data-localization="removeBtnLabel"/>
23
<!-- Wrapper is used to properly compute the search tooltip position -->
24
<div>
25
<button id="add" data-localization="addBtnLabel"/>
26
</div>
27
<button id="edit" disabled="disabled" data-localization="editBtnLabel"/>
28
</div>
29
<script>
30
"use strict";
31
/* global ManageAddresses */
32
new ManageAddresses({
33
records: document.getElementById("addresses"),
34
controlsContainer: document.getElementById("controls-container"),
35
remove: document.getElementById("remove"),
36
add: document.getElementById("add"),
37
edit: document.getElementById("edit"),
38
});
39
</script>
40
</body>
41
</html>