Le repo des sources pour le site web des JM2L
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

58 lignes
1.9 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. <style type="text/css">
  3. .navbar {
  4. margin-bottom: 0px;
  5. }
  6. .form-signin {
  7. max-width: 300px;
  8. padding: 19px 29px 29px;
  9. margin: 0 auto 20px;
  10. background-color: #f5f5f5;
  11. border: 1px solid #e5e5e5;
  12. -webkit-border-radius: 5px;
  13. -moz-border-radius: 5px;
  14. border-radius: 5px;
  15. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  16. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  17. box-shadow: 0 1px 2px rgba(0,0,0,.05);
  18. }
  19. .form-signin,
  20. .form-signin .checkbox {
  21. margin-bottom: 10px;
  22. }
  23. .form-signin-heading {
  24. margin: -15px;
  25. text-align:center;
  26. }
  27. .form-signin input[type="text"],
  28. .form-signin input[type="password"] {
  29. font-size: 16px;
  30. height: auto;
  31. width:100%;
  32. margin-bottom: 15px;
  33. padding: 7px 9px;
  34. }
  35. </style>
  36. <br>
  37. <div class="container">
  38. % if forgot:
  39. <form class="form-signin" action="/sign/forgot" method="post">
  40. <h3 class="form-signin-heading">Mes identifiants</h3>
  41. <hr>
  42. <input name="mail" type="text" class="input-block-level" placeholder="Mon adresse email">
  43. <button class="btn btn-primary btn-block" type="submit">Me renvoyer mes identifiants</button>
  44. </form>
  45. % else:
  46. <form class="form-signin" action="/sign/in" method="post">
  47. <h3 class="form-signin-heading">Me connecter</h3>
  48. <hr>
  49. <input name="username" type="text" class="input-block-level" placeholder="Nom">
  50. <input name="password" type="password" class="input-block-level" placeholder="Mot de passe">
  51. <center><button class="btn btn-large btn-primary btn-block" type="submit">S'identifier</button></center>
  52. <br>
  53. <a href="/sign/forgot">Je ne me souviens plus de mon mot de passe</a>
  54. </form>
  55. % endif
  56. </div>