2021-02-06 16:13:47 +01:00
< html >
< head >
< title > USSD Session emulator< / title >
< script src = './ussd.js' language = 'javascript' > < / script >
< style type = "text/css" >
#monitor {
width: 100%;
height: 90%;
}
div#session {
display: none;
}
< / style >
< / head >
< body >
< textarea id = "monitor" disabled = "1" > < / textarea >
< div id = "login" >
< label for = "user" > API username< / label >
2021-03-06 23:50:43 +01:00
< input type = "text" id = "user" name = "user" / >
2021-02-06 16:13:47 +01:00
< label for = "user" > API password< / label >
2021-03-06 23:50:43 +01:00
< input type = "text" id = "pass" name = "pass" / > < br / >
< label for = "host" > API host< / label >
< input type = "text" id = "host" name = "host" / >
< label for = "host" > API port< / label >
< input type = "text" id = "port" name = "port" / >
< label for = "host" > SSL< / label >
< input type = "checkbox" id = "ssl" name = "ssl" checked = "1" / > < br / >
2021-02-06 16:13:47 +01:00
< hr / >
< input type = "text" id = "phone" / > < button onclick = "setPhone(document.getElementById('phone').value);" id = "send_phone" > set phone number< / button >
< / div >
< div id = "session" >
< input type = "text" id = "input" / > < button onclick = "send(document.getElementById('input').value);" id = "send_input" > send as < / button > < button onclick = 'abort();' > abort< / button >
< / div >
< / body >
< / html >