Gestionale per il centralino della brigata di zona 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

46 lines
1.4 KiB

  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>Login</title>
  8. <link rel="stylesheet"
  9. href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
  10. integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
  11. crossorigin="anonymous">
  12. <link rel="stylesheet" href="css/stile.css">
  13. </head>
  14. <body style="background-size: 100%">
  15. <h2>Login</h2>
  16. <%
  17. String messaggio = (String) request.getAttribute("messaggio");
  18. if (messaggio != null) {
  19. %>
  20. <p><%=messaggio%></p>
  21. <%
  22. }
  23. %>
  24. <form action="utente-servlet" method="post" name="modulo">
  25. <div>Nickname</div>
  26. <input type="text" name="nickname" required><br>
  27. <div>Password</div>
  28. <input type="password" name="password" required><br>
  29. <input type="hidden" name="azione" value="login">
  30. <input type="submit" value="Login">
  31. </form>
  32. <hr>
  33. <h2>Registrazione</h2>
  34. <form action="utente-servlet" method="post" name="modulo">
  35. <div>Nickname</div>
  36. <input type="text" name="nickname" required>
  37. <div>Password</div>
  38. <input type="password" name="password" required>
  39. <div>Conferma password</div>
  40. <input type="password" name="conferma" required>
  41. <input type="hidden" name="azione" value="registrazione"><br><input
  42. type="submit" value="Registrati" class="bottone bottone-small">
  43. </form>
  44. </body>
  45. </html>