1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 11:46:49 +00:00
webvirtcloud/instances/templates
catborise 575077c8ac fix(instances): adding or deleting a flavor keeps the unfinished VM form
The create page's flavor dialog posted its forms the normal way, and the
server sent a fresh page back: the VM's name, sizes, disk choices and MAC
edits were lost, and a refused flavor left the page for a bare form.

The dialog's forms are now posted from the page. The flavor views answer
such a post with the presets and the dialog body, rendered from the same
includes as the page, and the script swaps them in: a refused flavor shows
its errors in the dialog, and the focus stays in it. A post without the
script, or one whose request fails, still goes the normal way.

Fixes #173

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 11:12:07 +03:00
..
instances fix(templates): each confirmation says what its action does 2026-10-21 21:25:45 +03:00
add_instance_network_block.html fix(templates): pages parse without markup errors, element IDs are unique 2026-10-19 07:49:25 +03:00
add_instance_owner_block.html logger updates (#31) 2023-08-09 09:20:18 +03:00
add_instance_volume.html fix(templates): pages parse without markup errors, element IDs are unique 2026-10-19 07:49:25 +03:00
allinstances.html feat(instances): a new VM is made on one form in three steps 2026-10-23 23:26:28 +03:00
allinstances_index_grouped.html fix(templates): a wide table scrolls in its own box on a narrow screen 2026-10-21 12:57:26 +03:00
allinstances_index_nongrouped.html fix(templates): a wide table scrolls in its own box on a narrow screen 2026-10-21 12:57:26 +03:00
bottom_bar.html fix(instances): the VM page opens the tab a redirect points to, and host links are for administrators 2026-10-08 08:50:21 +03:00
create_flavors.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_flavors_reply.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_inst_block.html feat(instances): a new VM is made on one form in three steps 2026-10-23 23:26:28 +03:00
create_instance_w1.html feat(instances): a new VM is made on one form in three steps 2026-10-23 23:26:28 +03:00
create_instance_w2.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_presets.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_steps.html feat(instances): a new VM is made on one form in three steps 2026-10-23 23:26:28 +03:00
instance.html refactor(instances): the instance page drops scripts for console fields it no longer has 2026-10-19 20:12:26 +03:00
instance_actions.html fix(instances): the VM lists ask before a forced power off or power cycle 2026-10-21 21:01:25 +03:00
instance_state.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00