inscription.jsp 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib prefix="s" uri="/struts-tags"%>
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <meta charset="UTF-8">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  9. <link type="text/css" rel="stylesheet" href="css/material-icons.css" />
  10. <link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
  11. <link type="text/css" rel="stylesheet" href="css/style.min.css" media="screen,projection" />
  12. <link rel="icon" href="img/favicon.ico" />
  13. <title>Inscription - Microfolie Lens</title>
  14. <s:head />
  15. </head>
  16. <body class="grey lighten-3">
  17. <!-- Header -->
  18. <header class="navbar-fixed">
  19. <nav class="red">
  20. <div class="nav-wrapper">
  21. <a href="./" class="brand-logo center mtop-half hide-on-med-and-down"><img src="img/logo.png"
  22. title="Logo Microfolie" class="responsive-img" style="max-width: 128px;" /></a>
  23. <a href="./" class="brand-logo center hide-on-large-only">Microfolie Lens</a>
  24. <a href="#!" data-target="mobile-nav" class="sidenav-trigger"><i class="material-icons">menu</i></a>
  25. <div class="left mleft-2 hide-on-med-and-down">
  26. <a href="./">
  27. <h5>Microfolie Lens</h5>
  28. </a>
  29. </div>
  30. <ul class="right mright-2 hide-on-med-and-down">
  31. <li><a href="abonnes.html">Abonn&eacute;s</a></li>
  32. <li class="active"><a href="inscription.jsp">Inscription</a></li>
  33. <li><a href="settings">Param&eacute;trage espace</a></li>
  34. </ul>
  35. </div>
  36. </nav>
  37. </header>
  38. <!-- Header Mobile -->
  39. <ul class="sidenav" id="mobile-nav">
  40. <li class="center-align mtop-1">
  41. <img src="img/logo.png" title="Logo Microfolie" class="responsive-img" style="max-height: 150px;" />
  42. </li>
  43. <li class="center-align">
  44. <h4>Microfolie Lens</h4>
  45. <hr />
  46. </li>
  47. <li><a href="abonnes.html">Abonn&eacute;s</a></li>
  48. <li class="active"><a href="inscription.jsp">Inscription</a></li>
  49. <li><a href="settings">Param&eacute;trage espace</a></li>
  50. </ul>
  51. <div class="mtop-5 hide-on-med-and-down"></div>
  52. <!-- Main -->
  53. <main class="container">
  54. <div class="row">
  55. <div class="col s12 center-align">
  56. <h3>Inscription</h3>
  57. </div>
  58. </div>
  59. <div class="row">
  60. <s:debug />
  61. <s:form action="inscription" validate="true" class="col s12">
  62. <div class="row">
  63. <div class="input-field col m6 s12">
  64. <i class="material-icons prefix">person</i>
  65. <s:textfield id="pnom" name="prenom" label="Prenom*" class="validate" required="required" />
  66. <label for="pnom">Pr&eacute;nom*</label>
  67. <span class="helper-text"></span>
  68. <s:fielderror fieldName="prenom" class="field-error hide" />
  69. </div>
  70. <div class="input-field col m6 s12">
  71. <i class="material-icons prefix">account_circle</i>
  72. <s:textfield id="nom" name="nom" label="Nom*" class="validate" required="required" />
  73. <label for="nom">Nom*</label>
  74. <span class="helper-text"></span>
  75. <s:fielderror fieldName="nom" class="field-error hide" />
  76. </div>
  77. </div>
  78. <div class="row">
  79. <div class="input-field col m6 s12">
  80. <i class="material-icons prefix">wc</i>
  81. <s:select id="genre" nom="genre" label="Genre*" list="getGenres()" required="required" />
  82. <label for="genre">Genre*</label>
  83. <span class="helper-text"></span>
  84. <s:fielderror fieldName="genre" class="field-error hide" />
  85. </div>
  86. <div class="input-field col m6 s12">
  87. <i class="material-icons prefix">cake</i>
  88. <input id="naissance" type="text" class="datepicker">
  89. <label for="naissance">Date de naissance*</label>
  90. </div>
  91. </div>
  92. <div class="row">
  93. <div class="input-field col m6 s12">
  94. <i class="material-icons prefix">location_city</i>
  95. <input id="ville" type="text" class="validate">
  96. <label for="ville">Ville*</label>
  97. </div>
  98. <div class="input-field col m6 s12">
  99. <i class="material-icons prefix">work</i>
  100. <input id="situation" type="text" class="validate">
  101. <label for="situation">Situation*</label>
  102. </div>
  103. </div>
  104. <div class="row">
  105. <div class="input-field col m6 s12">
  106. <i class="material-icons prefix">email</i>
  107. <input id="email" type="email" class="validate">
  108. <label for="email">Email*</label>
  109. <span class="helper-text" data-error="L'email est invalide" data-success=""></span>
  110. </div>
  111. <div class="input-field col m6 s12">
  112. <i class="material-icons prefix">local_phone</i>
  113. <input id="tel" type="tel" class="validate">
  114. <label for="tel">T&eacute;l&eacute;phone*</label>
  115. </div>
  116. </div>
  117. <div class="row">
  118. <div class="input-field col m6 s12">
  119. <i class="material-icons prefix">healing</i>
  120. <input id="urgence" type="text" class="validate">
  121. <label for="urgence">Contact d'urgence*</label>
  122. </div>
  123. <div class="file-field input-field col m6 s12">
  124. <div class="waves-effect waves-light btn red">
  125. <i class="material-icons">cloud_upload</i>
  126. <input id="pj" type="file">
  127. </div>
  128. <div class="file-path-wrapper">
  129. <input class="file-path validate" type="text" placeholder="Pi&egrave;ce jointe">
  130. </div>
  131. </div>
  132. </div>
  133. <div class="row">
  134. <div class="col s12 center-align">
  135. <s:submit class="btn waves-effect waves-light btn red" value="Valider" />
  136. </div>
  137. </div>
  138. </s:form>
  139. </div>
  140. </main>
  141. <!-- Footer -->
  142. <footer class="page-footer red">
  143. <div class="container">
  144. <div class="row">
  145. <div class="col l6 s12">
  146. <h5 class="white-text">Microfolie Lens</h5>
  147. <p class="grey-text text-lighten-4">Bla bla bla ...</p>
  148. </div>
  149. <div class="col l4 offset-l2 s12">
  150. <h5 class="white-text">Liens utiles</h5>
  151. <ul>
  152. <li><a class="grey-text text-lighten-3" href="./">Accueil</a></li>
  153. <li><a class="grey-text text-lighten-3" href="#apropos">Qui somme nous</a></li>
  154. <li><a class="grey-text text-lighten-3" href="#mention">Mentions l&eacute;gales</a></li>
  155. <li><a class="grey-text text-lighten-3" href="#contact">Contact</a></li>
  156. </ul>
  157. </div>
  158. </div>
  159. </div>
  160. <div class="footer-copyright">
  161. <div class="container">
  162. © 2019 Copyright Text
  163. <a class="grey-text text-lighten-4 right" href="https://villedelens.fr" target="_blank">Ville de
  164. Lens</a>
  165. </div>
  166. </div>
  167. </footer>
  168. <!-- Script -->
  169. <script type="text/javascript" src="js/jquery.min.js"></script>
  170. <script type="text/javascript" src="js/materialize.min.js"></script>
  171. <script type="text/javascript" src="js/script.js"></script>
  172. </body>
  173. </html>