nova proba

HTML/HTMLpage2.h

Committer:
Bosko Lekovic
Date:
2021-01-17
Revision:
27:0772451fb880

File content as of revision 27:0772451fb880:


const char HTMLpage[] = R"(
<html>
    <head>

 </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=""></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.14"></input>
          <hr/> 
          <input type="text" name="udp_ip_2" value="192.168.1.15"></input>
          <hr/> 
          <input type="text" name="udp_ip_3" value="192.168.1.16"></input>
          <hr/> 
          <input type="text" name="udp_opseg_od" value="192.168.1.17"></input>
          <input type="text" name="udp_opseg_do" value="192.168.1.18"></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="192.168.1.24"></input>
          <hr/> 
          <input type="text" name="tcp_ip_2" value="192.168.1.25"></input>
          <hr/> 
          <input type="text" name="tcp_ip_3" value="192.168.1.26"></input>
          <hr/>
          <input type="text" name="tcp_opseg_od" value="192.168.1.27"></input>
          <input type="text" name="tcp_opseg_do" value="192.168.1.28"></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" selected="1">9600</option>
           <option value="14400">14400</option>
           <option value="19200">19200</option>
           <option value="38400">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>
)";