On Fri, Apr 1, 2011 at 8:18 AM, Jonathan Sabo <jsabo(a)criminal.org> wrote:
On Fri, Apr 1, 2011 at 1:14 AM, James Cammarata <jimi(a)sngx.net>
wrote:
> Pushed to my github:
>
>
https://github.com/jimi1283/cobbler/commit/e038de105e4bc0752df55a370459a0...
>
> commit e038de105e4bc0752df55a370459a0b8aa65fa6d
> Author: James Cammarata <jimi(a)sngx.net>
> Date: Thu Mar 31 23:07:20 2011 -0500
>
> Yet another change to multiselect editing.
> Multiselects are now presented as side-by-side add/delete boxes,
> where values can be moved back and forth and only appear in one of the
> two boxes.
>
> This is all based on the jquery stuff illsci posted in IRC this
> evening
(
http://blog.jeremymartin.name/2008/02/easy-multi-select-transfer-with-jqu...).
> It was ridiculously easy and I feel this is the best method for
> multi-selects overall.
>
> There's still some cleanup to do, like remove all of the <<None>>
> stuff, and we need to figure out some method of using <<inherit>> with
> this too. Really, I think <<inherit>> should be an option to add, and
> the final result should be the union of the parent profile/distros
> data with whatever is selected in the current object, but that will
> require some changes to blender/utils I think.
>
> Enjoy!
> _______________________________________________
> cobbler-devel mailing list
> cobbler-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler-devel
>
You are the man. Can't wait to test this. Thank you.
Are we missing the following as well?
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index 1e6b315..8ccf434 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -56,9 +56,7 @@ FIELDS = [
["mtime",0,0,"",False,"",0,"int"],
["name_servers","SETTINGS:default_name_servers",[],"Name
Servers",True,"space delimited",0,"list"],
["name_servers_search","SETTINGS:default_name_servers_search",[],"Name
Servers Search Path",True,"space delimited",0,"list"],
- ["network_widget_c","",0,"Add Management
Class",True,"",0,"str"], #
not a real field, a marker for the web app
["mgmt_classes",[],'<<inherit>>',"Management
Classes",True,"For
external configuration management",0,"list"],
- ["network_widget_d","",0,"Remove Selected
Classes",True,"",0,"str"], # not a real field, a marker for the
web
app
["mgmt_parameters","<<inherit>>","<<inherit>>","Management
Parameters",True,"Parameters which will be handed to your management
application (Must be valid YAML dictionary)", 0,"str"],
["fetchable_files",{},'<<inherit>>',"Fetchable
Files",True,"Templates for tftp or wget",0,"dict"],
["template_files",{},'<<inherit>>',"Template
Files",True,"File
mappings for built-in config management",0,"dict"],
If you look at the profile menu you'll see General and Management repeated