2023-05-15 15:35:11 +01:00
< div id = " modal-backdrop " class = " modal-backdrop fade show " style = " display:block; " ></ div >
< div id = " modal " class = " modal fade show " tabindex = " -1 " style = " display:block; " >
2025-10-10 14:54:50 +01:00
< form hx - post = " <?php echo base_url();?>index.php/qso/cwmacrosave " hx - target = " #save-response " hx - swap = " innerHTML " >
2026-05-15 16:17:51 +01:00
< div class = " modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable " >
2023-05-15 15:35:11 +01:00
< div class = " modal-content " >
< div class = " modal-header " >
< h5 class = " modal-title " > Winkey Macros </ h5 >
2026-05-15 16:17:51 +01:00
< button type = " button " class = " btn-close " onclick = " closeModal() " aria - label = " Close " ></ button >
2023-05-15 15:35:11 +01:00
</ div >
2023-07-31 15:52:32 +01:00
2023-05-15 15:35:11 +01:00
< div class = " modal-body " >
2026-05-15 16:17:51 +01:00
< div id = " save-response " ></ div >
< div class = " alert alert-light border small py-2 mb-3 " role = " note " >
< strong > Macro tokens :</ strong > < code > [ MYCALL ] </ code > , < code > [ CALL ] </ code > , < code > [ RSTS ] </ code >
</ div >
< div class = " row g-2 align-items-end mb-2 small text-muted fw-bold " >
< div class = " col-12 col-md-2 " > Key </ div >
< div class = " col-12 col-md-3 " > Button Label </ div >
< div class = " col-12 col-md-7 " > Macro Text </ div >
</ div >
< div class = " row g-2 align-items-end mb-3 " >
< div class = " col-12 col-md-2 " >< span class = " badge text-bg-warning " > F1 </ span ></ div >
< div class = " col-12 col-md-3 " >< input name = " function1_name " type = " text " class = " form-control " id = " function1_name " maxlength = " 6 " placeholder = " CQ " ></ div >
< div class = " col-12 col-md-7 " >< input name = " function1_macro " type = " text " class = " form-control " id = " function1_macro " placeholder = " CQ CQ CQ DE [MYCALL] [MYCALL] K " ></ div >
</ div >
< div class = " row g-2 align-items-end mb-3 " >
< div class = " col-12 col-md-2 " >< span class = " badge text-bg-warning " > F2 </ span ></ div >
< div class = " col-12 col-md-3 " >< input name = " function2_name " type = " text " class = " form-control " id = " function2_name " maxlength = " 6 " placeholder = " REPT " ></ div >
< div class = " col-12 col-md-7 " >< input name = " function2_macro " type = " text " class = " form-control " id = " function2_macro " placeholder = " [CALL] DE [MYCALL] [RSTS] [RSTS] K " ></ div >
</ div >
< div class = " row g-2 align-items-end mb-3 " >
< div class = " col-12 col-md-2 " >< span class = " badge text-bg-warning " > F3 </ span ></ div >
< div class = " col-12 col-md-3 " >< input name = " function3_name " type = " text " class = " form-control " id = " function3_name " maxlength = " 6 " placeholder = " TU " ></ div >
< div class = " col-12 col-md-7 " >< input name = " function3_macro " type = " text " class = " form-control " id = " function3_macro " placeholder = " [CALL] TU 73 DE [MYCALL] K " ></ div >
</ div >
< div class = " row g-2 align-items-end mb-3 " >
< div class = " col-12 col-md-2 " >< span class = " badge text-bg-warning " > F4 </ span ></ div >
< div class = " col-12 col-md-3 " >< input name = " function4_name " type = " text " class = " form-control " id = " function4_name " maxlength = " 6 " placeholder = " QRZ " ></ div >
< div class = " col-12 col-md-7 " >< input name = " function4_macro " type = " text " class = " form-control " id = " function4_macro " placeholder = " QRZ DE [MYCALL] K " ></ div >
</ div >
< div class = " row g-2 align-items-end " >
< div class = " col-12 col-md-2 " >< span class = " badge text-bg-warning " > F5 </ span ></ div >
< div class = " col-12 col-md-3 " >< input name = " function5_name " type = " text " class = " form-control " id = " function5_name " maxlength = " 6 " placeholder = " TEST " ></ div >
< div class = " col-12 col-md-7 " >< input name = " function5_macro " type = " text " class = " form-control " id = " function5_macro " placeholder = " TEST DE [MYCALL] K " ></ div >
</ div >
2023-05-15 15:35:11 +01:00
</ div >
< div class = " modal-footer " >
2023-05-17 21:19:18 +01:00
< button type = " submit " class = " btn btn-primary " > Save </ button >
< button type = " button " class = " btn btn-secondary " onclick = " closeModal() " > Close </ button >
2023-05-15 15:35:11 +01:00
</ div >
</ div >
</ div >
2023-05-17 21:19:18 +01:00
</ form >
</ div >