Elements for interleave in transfer_menu

This commit is contained in:
Emilia Allison 2023-05-22 13:55:23 -04:00
parent dbb13bde58
commit c3270d3c59
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
1 changed files with 12 additions and 0 deletions

View File

@ -59,12 +59,24 @@ pub fn TransferMenu() -> Html {
html! { html! {
<div class="transfer_menu"> <div class="transfer_menu">
<form> <form>
<div>
<label for="src_region">{"Source Region:"}</label> <label for="src_region">{"Source Region:"}</label>
<input type="text" name="src_region" <input type="text" name="src_region"
onchange={on_src_region_change} value={state.source_region.text.clone()}/> onchange={on_src_region_change} value={state.source_region.text.clone()}/>
</div>
<div>
<label for="dest_region">{"Destination Region:"}</label> <label for="dest_region">{"Destination Region:"}</label>
<input type="text" name="dest_region" <input type="text" name="dest_region"
onchange={on_dest_region_change} value={state.destination_region.text.clone()}/> onchange={on_dest_region_change} value={state.destination_region.text.clone()}/>
</div>
<div>
{"Interleave "}
<label for="interleave_x">{"X:"}</label>
<input type="number" name="interleave_x"/>
<label for="interleave_y">{"Y:"}</label>
<input type="number" name="interleave_y"/>
</div>
<input type="button" name="create_transfer" value={"Create"} />
</form> </form>
</div> </div>
} }