0% found this document useful (0 votes)
57 views1 page

Void PasswordWebPage

The document describes two functions related to displaying a web page for password entry. The InputWebPage function takes in an Ethernet client and string parameters and generates HTML to display a form with a password field, submit, and cancel buttons. The PasswordWebPage function initializes a password entry web page.

Uploaded by

ali mohammed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views1 page

Void PasswordWebPage

The document describes two functions related to displaying a web page for password entry. The InputWebPage function takes in an Ethernet client and string parameters and generates HTML to display a form with a password field, submit, and cancel buttons. The PasswordWebPage function initializes a password entry web page.

Uploaded by

ali mohammed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

{ void PasswordWebPage(EthernetClient p_client, String p_host)

;CheckMinRAM("PasswordWebPage") //  
InitialiseWebPage(p_client,EPSR(E_INPUTPASSWORD_1289),"", p_host); //NULL  
Cookie
 
InputWebPage(p_client,EPSR(E_Password_Data_Entry_1303),EPSR(E_Enter_Passwor
;d__1323))
}

----------------------------------------------------------------------------------------------//

{ void InputWebPage(EthernetClient p_client, String p_form, String p_label)


;CheckMinRAM("InputWebPage") //  
;p_client.println(F("    <td style=\"vertical-align:top;\">"))  
;p_client.println(F("      <table border=1 style='width:250px'>"))  
;p_client.println(F("        <tr style=\"background-color:Khaki;\">"))  
;p_client.print(F("          <td><b>"))  
;p_client.print(               p_form)  
;p_client.println(F(           "</b></td>"))  
;p_client.println(F("        </tr>"))  
;p_client.println(F("        <tr>"))  
;p_client.print(F("            <td><b>"))  
;p_client.print(                 p_label)  
;p_client.println(F(             "</b><br>"))  
p_client.println(F(             "<input type='password' name='PASSWORD'  
;style='width:240px;height:28px;font-size:25px' value= ''>"))
;p_client.println(F("          </td>"))  
;p_client.println(F("        </tr>"))  
;p_client.println(F("        <tr>"))  
;p_client.println(F("          <td>"))  
p_client.println(F("            <input type='submit'  
;style='width:100px;height:40px;font-size:23px' value='Submit'>"))
p_client.println(F("            <input type='submit' formaction='/2WG/'  
;style='width:100px;height:40px;font-size:23px' value='Cancel'>"))
;p_client.println(F("          </td>"))  
;p_client.println(F("        </tr>"))  
;p_client.println(F("      </table>"))  
;p_client.println(F("    </td>"))  
;p_client.println(F("  </tr>"))  
;p_client.println(F("</table>"))  
;p_client.println(F("</form>"))  
;p_client.println(F("</body>"))  
;p_client.println(F("</html>"))  
}

You might also like