Le repo des sources pour le site web des JM2L
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.
 
 
 
 
 

78 lines
2.9 KiB

  1. # -*- coding: utf-8 -*-
  2. <%inherit file="jm2l:templates/layout.mako"/>
  3. <%namespace name="helpers" file="jm2l:templates/helpers.mako"/>
  4. <%namespace name="h" file="jm2l:templates/helpers.mako"/>
  5. <%def name="jsAddOn()">
  6. </%def>
  7. <%def name="cssAddOn()">
  8. <link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload.css">
  9. <link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-ui.css">
  10. <link rel="stylesheet" href="/css/jm2l.css" />
  11. <link rel="stylesheet" href="/vendor/select2/css/select2.css" type="text/css" media="screen" />
  12. <!-- CSS adjustments for browsers with JavaScript disabled -->
  13. <noscript><link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-noscript.css"></noscript>
  14. <noscript><link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-ui-noscript.css"></noscript>
  15. </%def>
  16. <div class="row-fluid">
  17. <div class="span10 offset1">
  18. <h3>Liste des justificatifs</h3>
  19. <table class="table table-striped table-bordered table-hover">
  20. <thead>
  21. <tr>
  22. <th colspan="3" style="text-align:center;">
  23. Liste des Frais
  24. </th>
  25. </tr>
  26. <tr>
  27. <th style="text-align:center;">
  28. Nom
  29. </th>
  30. <th style="text-align:center;">
  31. Justificatif
  32. </th>
  33. <th style="text-align:center;">
  34. RIB
  35. </th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. % if len(found)==0:
  40. <tr>
  41. <td colspan="3" style="text-align:center;">
  42. <i>Aucun justificatif trouvé</i>
  43. </td>
  44. </tr>
  45. % endif
  46. % for item, one_dic in found.iteritems():
  47. <tr>
  48. <td>
  49. <a href="/user/${item}">
  50. <span class="name">${one_dic["User"]["prenom"]} ${one_dic["User"]["nom"]}</span>
  51. </a>
  52. </td>
  53. % if one_dic.has_key("Justif"):
  54. <td style="text-align:center;">
  55. ${h.uploader("Justif", one_dic["User"]["uid"], "Justif_"+one_dic["User"]["slug"], True)}
  56. </td>
  57. % else:
  58. <td style="text-align:center;"><i>Rien</i></td>
  59. % endif
  60. % if one_dic.has_key("RIB"):
  61. <td style="text-align:center;">
  62. ${h.uploader("RIB", one_dic["User"]["uid"], "RIB_"+one_dic["User"]["slug"], True)}
  63. </td>
  64. % else:
  65. <td style="text-align:center;"><i>Rien</i></td>
  66. % endif
  67. </tr>
  68. % endfor
  69. </tbody>
  70. </table>
  71. </div>
  72. </div>