Merge lp:~blake-rouse/maas/networks-edit-ui into lp:~maas-committers/maas/trunk
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | no longer in the source branch. |
Merged at revision: | 4992 |
Proposed branch: | lp:~blake-rouse/maas/networks-edit-ui |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
81 lines (+7/-14) 3 files modified
src/maasserver/static/partials/networks-list.html (+3/-10) src/maasserver/static/partials/nodes-list.html (+3/-3) src/maasserver/websockets/handlers/tests/test_subnet.py (+1/-1) |
To merge this branch: | bzr merge lp:~blake-rouse/maas/networks-edit-ui |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Approve | ||
Review via email: mp+293445@code.launchpad.net |
Commit message
Add the maasObjForm directive and use it to allow editing fabrics, vlans, spaces, and subnets.
The maasObjForm directive gives the ability to modify any object that is provided over the websocket. Provide the directive with the object you want to edit and the manager for that object. Define the fields in you want to be able to edit and profit! This follows the design that losing focus on the field causes it to save.
To post a comment you must log in.
Want to go ahead and get a review. I need to still add tests for allowing the "update" method on the websocket handlers. I am also waiting on Rich to get back to me with the CSS fix.