~vcs-imports/elasticfox/trunk

« back to all changes in this revision

Viewing changes to src/chrome/content/ec2ui/dialog_purchase_offering.xul

  • Committer: jhatax
  • Date: 2009-05-21 23:27:40 UTC
  • Revision ID: vcs-imports@canonical.com-20090521232740-bi5hmpcscpub0ar4
In this Release:
- Reserved Instances support comes to Elasticfox

Bug fixes to/for:
- EBS volume attachment to an instance from both the instances and volumes view
- Strict Javascript warnings

M    trunk/src/chrome/locale/ec2ui/en-US/ec2ui.dtd
A    trunk/src/chrome/content/ec2ui/dialog_purchase_offering.xul
A    trunk/src/chrome/content/ec2ui/dialog_offering_details.xul
M    trunk/src/chrome/content/ec2ui/eipdetaildialog.js
M    trunk/src/chrome/content/ec2ui/controller.js
M    trunk/src/chrome/content/ec2ui/volumesview.js
M    trunk/src/chrome/content/ec2ui/securitygroupdetaildialog.js
M    trunk/src/chrome/content/ec2ui/dialog_volume_details.xul
M    trunk/src/chrome/content/ec2ui/utils.js
A    trunk/src/chrome/content/ec2ui/offeringdetaildialog.js
M    trunk/src/chrome/content/ec2ui/attachebsvolumedialog.js
A    trunk/src/chrome/content/ec2ui/dialog_reserved_instances_details.xul
M    trunk/src/chrome/content/ec2ui/client.js
M    trunk/src/chrome/content/ec2ui/bundletaskdetailsdialog.js
M    trunk/src/chrome/content/ec2ui/instancesview.js
A    trunk/src/chrome/content/ec2ui/reservedinstancesdetaildialog.js
M    trunk/src/chrome/content/ec2ui/dialog_new_volume.xul
M    trunk/src/chrome/content/ec2ui/permissiondetaildialog.js
M    trunk/src/chrome/content/ec2ui/keypairdetaildialog.js
A    trunk/src/chrome/content/ec2ui/purchaseofferingdialog.js
M    trunk/src/chrome/content/ec2ui/dialog_new_attachment.xul
M    trunk/src/chrome/content/ec2ui/dialog_snapshot_details.xul
A    trunk/src/chrome/content/ec2ui/reservedinstancesview.js
A    trunk/src/chrome/content/ec2ui/leaseofferingsview.js
AM   trunk/src/chrome/content/ec2ui/images/cash.png
M    trunk/src/chrome/content/ec2ui/dialog_attach_ebs_volume.xul
A    trunk/src/chrome/content/ec2ui/leases_tab_overlay.xul
M    trunk/src/chrome/content/ec2ui/snapshotdetaildialog.js
M    trunk/src/chrome/content/ec2ui/instancedetaildialog.js
M    trunk/src/chrome/content/ec2ui/volumedetaildialog.js
M    trunk/src/chrome/content/ec2ui/bundleInstanceDialog.js
M    trunk/src/chrome/content/ec2ui/session.js
M    trunk/src/chrome/content/ec2ui/ec2ui_main_window.xul
M    trunk/src/chrome/content/ec2ui/model.js

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
3
<!DOCTYPE window SYSTEM "chrome://ec2ui/locale/ec2ui.dtd">
 
4
 
 
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">
 
12
 
 
13
  <script type="application/x-javascript" src="chrome://ec2ui/content/purchaseofferingdialog.js" />
 
14
  <script type="application/x-javascript" src="chrome://ec2ui/content/model.js" />
 
15
 
 
16
  <vbox flex="1">
 
17
    <hbox>
 
18
      <image src="images/cash.png"/>
 
19
      <caption label="Review, Specify Number of Instances, and click Continue" />
 
20
  </hbox>
 
21
    <groupbox orient="vertical" pack="start" flex="1">
 
22
      <caption label="Information" />
 
23
      <grid flex="1" align="baseline">
 
24
        <columns>
 
25
          <column />
 
26
          <column />
 
27
          <column />
 
28
        </columns>
 
29
        <rows>
 
30
          <row>
 
31
            <label control="ec2ui.purchase.offering.id" value="&ec2ui.offerings.id.label;:" />
 
32
            <textbox id="ec2ui.purchase.offering.id" size="30" readonly="true" />
 
33
          </row>
 
34
          <row>
 
35
            <label control="ec2ui.purchase.offering.instType"
 
36
              value="&ec2ui.offerings.instType.label;:" />
 
37
            <textbox id="ec2ui.purchase.offering.instType" size="30" readonly="true" />
 
38
          </row>
 
39
          <row>
 
40
            <label control="ec2ui.offering.azone" value="&ec2ui.availabilityZone.label;:" />
 
41
            <textbox id="ec2ui.purchase.offering.azone" size="30" readonly="true" />
 
42
          </row>
 
43
          <row>
 
44
            <label control="ec2ui.offering.duration" value="&ec2ui.offerings.duration.label;:" />
 
45
            <textbox id="ec2ui.purchase.offering.duration" size="30" readonly="true" />
 
46
          </row>
 
47
          <row>
 
48
            <label control="ec2ui.purchase.offering.usagePrice" value="&ec2ui.offerings.usagePrice.label;:" />
 
49
            <textbox id="ec2ui.purchase.offering.usagePrice" size="30" readonly="true" />
 
50
          </row>
 
51
          <row>
 
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"/>
 
55
          </row>
 
56
        </rows>
 
57
      </grid>
 
58
    </groupbox>
 
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">
 
63
          <columns>
 
64
            <column />
 
65
            <column />
 
66
          </columns>
 
67
          <rows>
 
68
            <row>
 
69
              <label control="ec2ui.purchase.offering.fixedPrice" value="&ec2ui.offerings.fixedPrice.label;:" />
 
70
              <textbox id="ec2ui.purchase.offering.fixedPrice" size="10" readonly="true" />
 
71
            </row>
 
72
            <row>
 
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();" />
 
76
            </row>
 
77
            <row>
 
78
              <html:hr />
 
79
              <html:hr />
 
80
            </row>
 
81
            <row>
 
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"/>
 
84
            </row>
 
85
          </rows>
 
86
        </grid>
 
87
      </vbox>
 
88
    </groupbox>
 
89
  </vbox>
 
90
</dialog>