This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
/
dialog_manage_accountids.xul
47 lines (44 loc) · 1.97 KB
/
dialog_manage_accountids.xul
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://ec2ui/locale/ec2ui.dtd">
<dialog id="ec2ui.dialog.manageaccountids" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="extra2,extra1,cancel" ondialogcancel="return true;"
ondialogextra1="ec2ui_accountIdManager.saveAccount();"
ondialogextra2="ec2ui_accountIdManager.removeAccount();"
buttonlabelcancel="Close" buttonlabelextra1="Add" buttonlabelextra2="Remove"
defaultButton="extra1" buttonpack="end" buttonalign="end"
onload="ec2ui_accountIdManager.initDialog();" title="Manage Account IDs" >
<script type="application/x-javascript" src="chrome://ec2ui/content/preferences.js" />
<script type="application/x-javascript" src="chrome://ec2ui/content/model.js" />
<script type="application/x-javascript" src="chrome://ec2ui/content/accountid_manager.js" />
<script type="application/x-javascript" src="chrome://ec2ui/content/accountidsview.js" />
<script type="application/x-javascript" src="chrome://ec2ui/content/utils.js" />
<vbox flex="1">
<tree id="ec2ui.accountids.view"
onselect="ec2ui_accountIdManager.selectMapping();" flex="1" rows="5">
<treecols>
<treecol id="accountids.accountid" label="Account ID"
flex="1" persist="width ordinal hidden" />
<treecol id="accountids.displayname" label="Display Name"
flex="1" persist="width ordinal hidden" />
</treecols>
<treechildren />
</tree>
<grid>
<columns>
<column />
<column />
</columns>
<rows>
<row>
<label control="ec2ui.accountids.accountid" value="Account ID:" />
<textbox id="ec2ui.accountids.accountid" size="20" />
</row>
<row>
<label control="ec2ui.accountids.displayname" value="Display Name:" />
<textbox id="ec2ui.accountids.displayname" size="40" />
</row>
</rows>
</grid>
</vbox>
</dialog>