Merge lp:~blake-rouse/maas/add-system-to-node-html-js 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: | 2384 | ||||
Proposed branch: | lp:~blake-rouse/maas/add-system-to-node-html-js | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Prerequisite: | lp:~blake-rouse/maas/add-osystem-to-node-form-api | ||||
Diff against target: |
546 lines (+456/-2) 8 files modified
src/maasserver/context_processors.py (+1/-0) src/maasserver/static/js/node_add.js (+19/-1) src/maasserver/static/js/os_distro_select.js (+155/-0) src/maasserver/static/js/tests/test_os_distro_select.html (+38/-0) src/maasserver/static/js/tests/test_os_distro_select.js (+198/-0) src/maasserver/templates/maasserver/node_edit.html (+9/-1) src/maasserver/templates/maasserver/settings.html (+32/-0) src/maasserver/templates/maasserver/snippets.html (+4/-0) |
||||
To merge this branch: | bzr merge lp:~blake-rouse/maas/add-system-to-node-html-js | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+219526@code.launchpad.net |
Commit message
Add html and js to show operating system in WebUI. Release field is not dependent on the selected operating system field.
Description of the change
This replaces the large merge of add-osystem-
In the WebUI you can select an operating system and release version from the dropdowns. The release versions change based on the selected operating system, so it looks correct, and removes the possibility to select an operating system with an incorrect release.
Note: osystem was used throughout the code instead of os, as the python os module would conflict throughout the code base.
To post a comment you must log in.
Good stuff. Well-documented, well-factored, and the description gives a nice perspective. The smaller branches are appreciated. Most of my review notes are about comments, so no biggies.
This is my first time trying Launchpad's inline comments... no idea how they will turn out. I'm trying not to nitpick on impulse. That's an easy trap to fall into when you can just double-click some code and start typing. :-)