Please find attached the patch for the generic and configurable list in the webui. For the moment it already works for distro/profile/system.
Configuration is read from /etc/cobbler/setting. The following example works and lists only the name and IP address of eth0 in the systems list:
web_system_list_columns: ["name","interfaces::eth0::ip_address"]
The item_system.get_field() is almost complete including the generic edit. I've only started the interfaces with a fields subkey for the name and ip_address. This needs to be extended as it is known how it will be implemented for the generic edit.
Next steps: - Finish item_system.get_field for interfaces and make the system work with generic edit - Add URL support to field info (click to edit profile etc.) - Add support for network/images/repos and replace the original list - Make the delete/copy/rename generic
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
cobbler-devel@lists.fedorahosted.org