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.
 
 
 

107 lines
4.1 KiB

  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>Home</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>
  15. <jsp:include page="nav.jsp"></jsp:include>
  16. <%
  17. String messaggio = (String) request.getAttribute("messaggio");
  18. if (messaggio != null) {
  19. out.print("<h4>" + messaggio + "</h4>");
  20. }
  21. %>
  22. <div style="margin: 25px">
  23. <h4>Cerca contatto</h4>
  24. <form action="contatti-ctrl" method="post">
  25. <div class="form-group">
  26. <label>Numero di telefono</label> <input type="number"
  27. name="telefono" class="form-control form-control-sm" required>
  28. </div>
  29. <input type="hidden" name="azione" value="cerca">
  30. <button type="submit" class="btn btn-light btn-sm">Cerca</button>
  31. </form>
  32. <hr>
  33. <h4>Aggiungi nuovo contatto</h4>
  34. <form action="contatti-ctrl" method="post">
  35. <div class="cinquanta">
  36. <div class="form-group">
  37. <label>Nome*</label> <input type="text" name="nome"
  38. class="form-control form-control-sm" required>
  39. </div>
  40. <div class="form-group">
  41. <label>Cognome*</label> <input type="text" name="cognome"
  42. class="form-control form-control-sm" required>
  43. </div>
  44. <!-- <div class="form-group"> -->
  45. <!-- <label>Servizio sociale</label> <input type="text" -->
  46. <!-- name="servizioSociale" class="form-control form-control-sm" value="-"> -->
  47. <!-- </div> -->
  48. <div class="form-group">
  49. <label>Quartiere*</label> <select name="area"
  50. class="form-control form-control-sm">
  51. <option value="Calvairate/Molise">Calvairate/Molise</option>
  52. <option value="Corvetto">Corvetto</option>
  53. <option value="Mecenate">Mecenate</option>
  54. </select>
  55. </div>
  56. <div class="form-group">
  57. <label>Indirizzo*</label> <input type="text" name="indirizzo"
  58. class="form-control form-control-sm" required>
  59. </div>
  60. <div class="form-group">
  61. <label>Numero di telefono*</label> <input type="number"
  62. name="telefono" class="form-control form-control-sm" required>
  63. </div>
  64. <div class="form-group">
  65. <label>Email</label> <input type="email" name="email"
  66. class="form-control form-control-sm">
  67. </div>
  68. </div>
  69. <div class="cinquanta">
  70. <div class="form-group">
  71. <p>Composizione nucleo abitativo*</p>
  72. <div class="form-group">
  73. <label>Neonat_ (0-3 anni)</label> <input type="number"
  74. name="neonat" value="0" required
  75. class="form-control form-control-sm number"><br> <label>Bambin_
  76. (3-12 anni)</label> <input type="number" name="bambin" value="0"
  77. class="form-control form-control-sm number" required><br> <label>Adult_</label>
  78. <input type="number" name="adult" value="0"
  79. class="form-control form-control-sm number" required><br> <label>Anzian_ (>65 anni)</label>
  80. <input type="number" name="anzian" value="0"
  81. class="form-control form-control-sm number" required><br>
  82. </div>
  83. <div class="form-group">
  84. <label style="vertical-align: top">Note sacchetto (allergie, diete, necessità...)</label>
  85. <textarea name="noteSacchetto"
  86. class="form-control form-control-sm"></textarea>
  87. </div>
  88. </div>
  89. </div>
  90. <input type="hidden" name="azione" value="aggiungi"><br>
  91. <button type="submit" class="btn btn-light btn-sm">Aggiungi</button>
  92. </form>
  93. </div>
  94. <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
  95. integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
  96. crossorigin="anonymous"></script>
  97. <script
  98. src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
  99. integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
  100. crossorigin="anonymous"></script>
  101. <script
  102. src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
  103. integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
  104. crossorigin="anonymous"></script>
  105. </body>
  106. </html>