]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[form] Add support for dynamically created interactive forms
authorMichael Brown <mcb30@ipxe.org>
Fri, 31 May 2024 09:10:53 +0000 (10:10 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 20 Jun 2024 23:28:46 +0000 (16:28 -0700)
commitf417f0b6a56956137d75c77f344d798f6b30a27c
treec87b523ab9f64a267555f20e8ffef84d40c6c87d
parent1c3c5e2b22ca31bbf77c39aef51671d0b6e95767
[form] Add support for dynamically created interactive forms

Add support for presenting a dynamic user interface as an interactive
form, alongside the existing support for presenting a dynamic user
interface as a menu.

An interactive form may be used to allow a user to input (or edit)
values for multiple settings on a single screen, as a user-friendly
alternative to prompting for setting values via the "read" command.

In the present implementation, all input fields must fit on a single
screen (with no scrolling), and the only supported widget type is an
editable text box.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/config.c
src/config/general.h
src/hci/commands/dynui_cmd.c
src/hci/tui/form_ui.c [new file with mode: 0644]
src/include/ipxe/dynui.h
src/include/ipxe/errfile.h