Commit Graph

6 Commits

Author SHA1 Message Date
Thomas Lamprecht
a8fbe0ff55 add Finished UI² message
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-20 21:02:53 +02:00
Christoph Heiss
0c4590e073 UI: turn on autoflush for STDOUT
Otherwise, when STDOUT is connected to a pipe, it will not get flushed
completely after each message, which might than hangs the installer UI.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
2023-06-20 16:07:15 +02:00
Thomas Lamprecht
3f46361562 UI: add progress and process_events helper
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-19 21:49:00 +02:00
Thomas Lamprecht
0903eb5cf8 UI: add and use display_html helper
This is used often, among other things also for some abort code, so
move the essence to the UI.

Allows to drop one global variable for proxinstall, which is a nice
side effect.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-19 21:49:00 +02:00
Thomas Lamprecht
5c6ca00a12 UI: add ISO env on setup
can be useful for UI's to get resources or the like

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-19 21:49:00 +02:00
Thomas Lamprecht
bc05a8fc6b add basic UI plugin infrastructure
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-19 21:49:00 +02:00