Le repo des sources pour le site web des JM2L
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

131 linhas
5.0 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. <%namespace name="profil" file="jm2l:templates/Profil/Profil.mako"/>
  3. <%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mako"/>
  4. <%namespace name="intendance" file="jm2l:templates/Logistique/Logistique.mako"/>
  5. <%
  6. from pyramid.security import authenticated_userid
  7. user_id = authenticated_userid(request)
  8. %>
  9. <div class="row" style="padding:30px">
  10. <div class="tabbable" id="main_tab">
  11. <ul class="nav nav-tabs">
  12. <li class="active"><a href="#Profil" id="Map_Profil" data-toggle="tab">Mon Profil</a></li>
  13. <li><a href="#Sejour" id="Map_Sejour" data-toggle="tab">Mon S&eacute;jour</a></li>
  14. <li><a href="#Interventions" id="Map_Interventions" data-toggle="tab">Mes Interventions</a></li>
  15. <li><a href="#Intendance" id="Map_Itendance" data-toggle="tab">Les Echanges</a></li>
  16. <li><a href="#Frais" id="Map_Frais" data-toggle="tab">Mes Frais</a></li>
  17. </ul>
  18. <div class="tab-content">
  19. <div class="tab-pane fade active in" id="Profil">
  20. ${profil.profil_wrapper()}
  21. </div>
  22. <div class="tab-pane fade" id="Sejour">
  23. ${sejour.sejour_wrapper()}
  24. </div>
  25. <div class="tab-pane fade" id="Interventions">
  26. <div class="tabbable tabs-left" id="Interventions_tab">
  27. <ul class="nav nav-tabs navbar" style="margin-bottom:0;">
  28. <li class="active"> <a href="#Conference" data-toggle="tab">Conf&eacute;rence</a> </li>
  29. <li> <a href="#Stand" data-toggle="tab">Stand</a> </li>
  30. <li> <a href="#Atelier" data-toggle="tab">Atelier</a> </li>
  31. <li> <a href="#TableRonde" data-toggle="tab">Table Ronde</a> </li>
  32. </ul>
  33. <div class="tab-content">
  34. <div class="tab-pane fade active in" id="Conference">
  35. <table>
  36. <tr>
  37. <td>
  38. </td>
  39. </tr>
  40. </table>
  41. </div>
  42. <div class="tab-pane fade" id="Stand"> </div>
  43. <div class="tab-pane fade" id="Atelier"> </div>
  44. <div class="tab-pane fade" id="TableRonde"> </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="tab-pane fade" id="Intendance">
  49. <div class="tabbable tabs-left" id="Intendance_tab">
  50. <ul class="nav nav-tabs navbar" style="margin-bottom:0;">
  51. <li class="active"> <a href="#Route" data-toggle="tab">Resum&eacute;</a> </li>
  52. <li> <a href="#Covoiturage" data-toggle="tab">Covoiturage</a> </li>
  53. <li> <a href="#Hebergement" data-toggle="tab">H&eacute;bergement</a> </li>
  54. <li> <a href="#Materiel" data-toggle="tab">Mat&eacute;riel</a> </li>
  55. </ul>
  56. <div class="tab-content">
  57. <div class="tab-pane fade active in" id="Route">${intendance.Route_wrapper()}</div>
  58. <div class="tab-pane fade" id="Covoiturage">${intendance.Covoiturage_wrapper()}</div>
  59. <div class="tab-pane fade" id="Hebergement">${intendance.Hebergement_wrapper()}</div>
  60. <div class="tab-pane fade" id="Materiel">${intendance.Materiel_wrapper()}</div>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="tab-pane fade" id="Frais">
  65. * Uploader Mon RIB
  66. * Uploader mon ticket (Train/Avion/Péage/Bus)
  67. Récapitulatif des frais
  68. Pris en charge (ou pas)
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. % if user_id:
  74. Welcome <strong>${user_id}</strong> ::
  75. <a href="/sign/out">Sign Out</a>
  76. %else:
  77. <form action="/sign/in" method="post">
  78. <label>User</label><input type="text" name="username">
  79. <label>Password</label><input type="password" name="password">
  80. <input type="submit" value="Sign in">
  81. </form>
  82. %endif
  83. % if paginator.items:
  84. ${paginator.pager()}
  85. <h2>Blog entries</h2>
  86. <ul>
  87. % for entry in paginator.items:
  88. <li>
  89. <a href="${request.route_url('blog', id=entry.id, slug=entry.slug)}">
  90. ${entry.title}</a>
  91. </li>
  92. % endfor
  93. </ul>
  94. ${paginator.pager()}
  95. % else:
  96. <p>No blog entries found.</p>
  97. %endif
  98. <p><a href="${request.route_url('blog_action',action='create')}">
  99. Create a new blog entry</a></p>
  100. <div id="ActiveList"></div>