juju/juju-gui — pull request #366 by huwshimi (2014-06-05 02:56:06+00:00)
Title: Display constraints when creating a machine

This adds the ability to select the constraints before creating a new machine.

QA:
- open the machine view
- click "Add machine"
- a constraints form should appear
- if you wish fill in some constraints
- click create
- a new machine token "new0" should appear

To test cancel with unplaced units:
- drag a service to the canvas
- open the machine view
- drag the unplaced unit to "Create new machine"
- the unplaced unit token should have been removed and a constraints form should appear
- click cancel
- the unplaced unit token should reappear