cloudstack/ui/scripts
Brian Federle 8f34dc192f UI form dialog: Support dynamic unit conversion for fields
Adds a new dialog field type called 'has_units'. This field has an
input box side by side with a select box. The select box is populated
with predefined units (MB, GB, TB, for example) and uses (also
predefined) conversion functions to allow automatic updating of the
input box value when the units select box is changed.

Original author: Chris Suich <chris.suich@netapp.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>

Example:

fields: {
    ...
    size: {
        ...
        has_units: true,
        units: [
            {
                id: 'gb',
                text: 'GB',
                fromBase: function(val) { ... return val; },
                toBase: function(val) { ... return val; }
            },
            ...
        ]
    }
}
2013-08-13 15:33:31 -07:00
..
ui UI form dialog: Support dynamic unit conversion for fields 2013-08-13 15:33:31 -07:00
ui-custom CLOUDSTACK-4302: Instance wizard: Support readonly checkbox selection 2013-08-13 14:27:34 -07:00
accounts.js CLOUDSTACK-4269: UI > account page > hide Setting tab for regular-user/domain-admin since they don't have access to listConfigurations API. 2013-08-12 16:35:09 -07:00
affinity.js CLOUDSTACK-3254: Allow admin to see and modify user affinity groups 2013-07-18 14:31:26 -07:00
autoscaler.js CLOUDSTACK-3811: Autoscale UI: Use templatefilter=executable fix apply button for non-admins 2013-07-25 11:54:03 -07:00
cloud.core.callbacks.js Format JS 2013-07-18 12:34:20 -04:00
cloudStack.js Format JS 2013-07-18 12:34:20 -04:00
configuration.js CLOUDSTACK-3487: Add egress default policy to network offering UI 2013-07-30 12:55:42 -07:00
dashboard.js Format JS 2013-07-18 12:34:20 -04:00
docs.js CLOUDSTACK-4077: Fix tooltips for events/alert section actions 2013-08-12 10:30:12 -07:00
domains.js Format JS 2013-07-18 12:34:20 -04:00
events.js CLOUDSTACK-4077: Fix refresh issue; localization labels 2013-08-05 15:26:12 -07:00
globalSettings.js CLOUDSTACK-3344: revert e03f7f4db3 2013-08-01 11:43:27 -07:00
installWizard.js Format JS 2013-07-18 12:34:20 -04:00
instanceWizard.js CLOUDSTACK-4302: Instance wizard: Selected affinity group is readonly 2013-08-13 14:36:28 -07:00
instances.js CLOUDSTACK-4102: UI > change label of scaleUp/changeServiceOffering action from "Scale Up" to "Change Service Offering" for both running VM and stopped VM. 2013-08-09 15:12:28 -07:00
lbStickyPolicy.js Format JS 2013-07-18 12:34:20 -04:00
network.js CLOUDSTACK-4111: UI > IP Address page > Associate New IP dialog - show/hide cross zone dropdown upon region "Local" in listRegions API response. 2013-08-13 15:13:28 -07:00
plugins.js UI plugin framework: Support plugin internationalization 2013-08-13 15:32:08 -07:00
projects.js Format JS 2013-07-18 12:34:20 -04:00
regions.js CLOUDSTACK-2334: UI > Regions > GSLB > remove lb rule from GSLB - fix a bug that passed wrong parameter to API call. 2013-07-29 13:52:01 -07:00
sharedFunctions.js CLOUDSTACK-3531: Add isrouting checkbox to register template dialog 2013-07-30 11:09:47 -07:00
storage.js CLOUDSTACK-4188: UI > volumes > download volume action - do not decode URL returned from API call. 2013-08-11 21:05:35 -07:00
system.js CLOUDSTACK-4127: UI > Infrastructure > clusters > create cluster dialog > not pass value in vSwitchPublicType, vSwitchPublicName, vSwitchGuestType, vSwitchGuestName to addCluster API call since the 4 fields are hidden. 2013-08-13 13:55:24 -07:00
templates.js CLOUDSTACK-4054: Fix conditional fields not showing on first load 2013-08-07 16:24:21 -07:00
vm_snapshots.js fix UI display bug for vmsnapshot, detailView of vmsnapshot always show the same one 2013-08-01 12:46:20 +08:00
vpc.js CLOUDSTACK-4142: UI > remove fieldPreFilter which is no longer in use. 2013-08-12 17:07:21 -07:00
zoneWizard.js CLOUDSTACK-4266: UI > zone wizard > cluster step > make Nexus 1000v fields optional. 2013-08-13 13:17:59 -07:00