bosko lekovic
/
EthToCom_11
nova proba
Diff: HTML/HTMLpage_copy.h
- Revision:
- 27:0772451fb880
diff -r c14d034d7459 -r 0772451fb880 HTML/HTMLpage_copy.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HTML/HTMLpage_copy.h Sun Jan 17 23:03:43 2021 +0100 @@ -0,0 +1,127 @@ + +const char HTMLpage[] = R"( +<html> + <head> +<link rel="icon" href="data:,"></link> + </head> + <body> + <form method="POST" action="#"> + <table align="center" border="1px"> + <tr> + <td colspan="2" align="center"><span>IP Adresa</span><br/> <input type="text" name="ip_adresa" value="192.168.1.20"></input></td> + <td colspan="2" align="center"><span>Netmask</span> <br/><input type="text" name="netmask" value="255.255.255.0"></input></td> + <td align="center"><span>Gateway</span> <br/><input type="text" name="gateway" value="192.168.1.1"></input></td> + </tr> + <tr> + <td colspan="2" align="center"> + <span>UDP</span> + <br/> + <span>Server port</span> + <input type="number" name="udp_server_port" value="13000"></input> + </td> + <td colspan="2" align="center"> + <span>TCP</span> + <br/> + <span>Server port</span> + <input type="number" name="tcp_server_port" value="12000"></input> + </td> + <td align="center"><span>Serial</span></td> + </tr> + <tr> + <td> + <span>IP adrese</span> + <hr/> + <input type="text" name="udp_ip_1" value="192.168.1.26"></input> + <hr/> + <input type="text" name="udp_ip_2" value=""></input> + <hr/> + <input type="text" name="udp_ip_3" value=""></input> + <hr/> + <input type="text" name="udp_opseg_od" value=""></input> + <input type="text" name="udp_opseg_do" value=""></input> + </td> + <td> + <span>Port</span> + <hr/> + <input type="number" name="udp_port_1" value="11000"></input> + <hr/> + <input type="number" name="udp_port_2" value="11000"></input> + <hr/> + <input type="number" name="udp_port_3" value="11000"></input> + <hr/> + <input type="number" name="udp_port_opseg" value="11000"></input> + </td> + <td> + <span>IP adrese</span> + <hr/> + <input type="text" name="tcp_ip_1" value=""></input> + <hr/> + <input type="text" name="tcp_ip_2" value=""></input> + <hr/> + <input type="text" name="tcp_ip_3" value=""></input> + <hr/> + <input type="text" name="tcp_opseg_od" value=""></input> + <input type="text" name="tcp_opseg_do" value=""></input> + </td> + <td> + <span>Port</span> + <hr/> + <input type="number" name="tcp_port_1" value="12000"></input> + <hr/> + <input type="number" name="tcp_port_2" value="12001"></input> + <hr/> + <input type="number" name="tcp_port_3" value="12002"></input> + <hr/> + <input type="number" name="tcp_port_opseg" value="12003"></input> + </td> + <td align="center"> + <span>Baud rate</span> + <br/> + <select name="baud_rate" id="baud_rate"> + <option value="2400">2400</option> + <option value="4800">4800</option> + <option value="7200">7200</option> + <option value="9600">9600</option> + <option value="14400">14400</option> + <option value="19200">19200</option> + <option value="38400" selected="1">38400</option> + <option value="57600">57600</option> + <option value="115200">115200</option> + </select> + <hr/> + <span>Parity</span> + <br/> + <select name="parity" id="parity"> + <option value="none">None</option> + <option value="odd">Odd</option> + <option value="even">Even</option> + <option value="mark">Mark</option> + <option value="space">Space</option> + </select> + <hr/> + <span>Data bits</span> + <br/> + <select name="data_bits" id="data_bits"> + <option value="5">5</option> + <option value="6">6</option> + <option value="7">7</option> + <option value="8" selected="1">8</option> + </select> + <hr/> + <span>Stop bits</span> + <br/> + <select name="stop_bits" id="stop_bits"> + <option value="1">1</option> + <option value="1.5">1.5</option> + <option value="2">2</option> + </select> + </td> + </tr> + <tr> + <td colspan="5" align="center"><input type="submit" value="Sacuvaj"></input></td> + </tr> + </table> + </form> + </body> +</html> +)";