juju/juju-gui — pull request #375 by kadams54 (2014-06-10 18:30:56+00:00)
Title: Create machine

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

A continuation of https://github.com/juju/juju-gui/pull/366

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