2
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3
<!DOCTYPE window SYSTEM "chrome://ec2ui/locale/ec2ui.dtd">
5
<dialog id="ec2ui.dialog.purchase.offering"
6
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7
xmlns:html="http://www.w3.org/1999/xhtml"
8
buttons="accept,cancel" ondialogcancel="return true;"
9
ondialogaccept="return ec2_OfferingPurchaser.purchase();"
10
buttonlabelaccept="Continue"
11
onload="ec2_OfferingPurchaser.init();" title="Purchase Reserved Instances">
13
<script type="application/x-javascript" src="chrome://ec2ui/content/purchaseofferingdialog.js" />
14
<script type="application/x-javascript" src="chrome://ec2ui/content/model.js" />
18
<image src="images/cash.png"/>
19
<caption label="Review, Specify Number of Instances, and click Continue" />
21
<groupbox orient="vertical" pack="start" flex="1">
22
<caption label="Information" />
23
<grid flex="1" align="baseline">
31
<label control="ec2ui.purchase.offering.id" value="&ec2ui.offerings.id.label;:" />
32
<textbox id="ec2ui.purchase.offering.id" size="30" readonly="true" />
35
<label control="ec2ui.purchase.offering.instType"
36
value="&ec2ui.offerings.instType.label;:" />
37
<textbox id="ec2ui.purchase.offering.instType" size="30" readonly="true" />
40
<label control="ec2ui.offering.azone" value="&ec2ui.availabilityZone.label;:" />
41
<textbox id="ec2ui.purchase.offering.azone" size="30" readonly="true" />
44
<label control="ec2ui.offering.duration" value="&ec2ui.offerings.duration.label;:" />
45
<textbox id="ec2ui.purchase.offering.duration" size="30" readonly="true" />
48
<label control="ec2ui.purchase.offering.usagePrice" value="&ec2ui.offerings.usagePrice.label;:" />
49
<textbox id="ec2ui.purchase.offering.usagePrice" size="30" readonly="true" />
52
<label control="ec2ui.purchase.offering.description" value="&ec2ui.offerings.description.label;:" />
53
<textbox id="ec2ui.purchase.offering.description" multiline="true" cols="50" rows="3"
54
wrap="true" style="font-family: monospace;" readonly="true"/>
59
<groupbox orient="horizontal" pack="center" align="baseline" flex="1">
60
<caption label="One-time Payment Details" />
61
<vbox flex="1" pack="center" align="center">
62
<grid flex="1" align="baseline">
69
<label control="ec2ui.purchase.offering.fixedPrice" value="&ec2ui.offerings.fixedPrice.label;:" />
70
<textbox id="ec2ui.purchase.offering.fixedPrice" size="10" readonly="true" />
73
<label control="ec2ui.purchase.offering.count" value="&ec2ui.rsvdInst.count.label;:" />
74
<textbox id="ec2ui.purchase.offering.count" size="10"
75
onkeypress="ec2_OfferingPurchaser.calculateTotalCosts();" />
82
<label control="ec2ui.purchase.offering.totalPrice" value="Total One-time Payment (Due Now):" />
83
<textbox id="ec2ui.purchase.offering.totalPrice" size="10" readonly="true"/>