cloudstack/ui
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
..
css CLOUDSTACK-4242: Fix 'disabled' style for multi-edit actions 2013-08-12 10:30:11 -07:00
images UI: Add initial UCS section to infrastructure page 2013-07-09 13:48:48 -07:00
lib Add plugin loading functionality and basic framework 2012-12-19 15:47:25 -08:00
modules CLOUDSTACK-2569: UI > Infrastructure > zone > physical network > VNMC provider > fix a bug that queryAsyncJobResult API kept being called even after the async job was finished. 2013-08-02 14:39:41 -07:00
plugins rat: Fix license for file from recent ui-plugins merge 2013-02-14 17:18:22 +05:30
scripts UI form dialog: Support dynamic unit conversion for fields 2013-08-13 15:33:31 -07:00
tests License header updates for the UI folder 2012-08-03 12:45:47 -04:00
dictionary.jsp CLOUDSTACK-4077: Fix refresh issue; localization labels 2013-08-05 15:26:12 -07:00
index.jsp CLOUDSTACK-4124: Add affinity group list to review step 2013-08-07 16:41:33 -07:00