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.
 
 
 
 
 

37 lines
1.4 KiB

  1. <%inherit file="jm2l:templates/layout.mako"/>
  2. <%namespace name="helpers" file="jm2l:templates/helpers.mako"/>
  3. <%def name="jsAddOn()">
  4. <script src="/js/jm2l.js"></script>
  5. <script src="/vendor/ckeditor/ckeditor.js"></script>
  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. <!-- CSS adjustments for browsers with JavaScript disabled -->
  12. <noscript><link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-noscript.css"></noscript>
  13. <noscript><link rel="stylesheet" href="/vendor/fileupload/css/jquery.fileupload-ui-noscript.css"></noscript>
  14. </%def>
  15. <h3 class="page-title">Dossier de presse ${DisplayYear}</h3>
  16. <%
  17. DicForm = {
  18. 'year_uid': {'PlaceHolder':u"Mon Nom", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;"},
  19. 'doss_presse': {'PlaceHolder':u"Dossier de presse", "FieldStyle":"width:95%;min-height:600px;", "ckeditor":"1"},
  20. }
  21. %>
  22. <div>
  23. <form action="" method="POST">
  24. ${helpers.DisplayForm(form, DicForm)}
  25. <br>
  26. <div class="center">
  27. <button type="submit" class="btn btn-large btn-primary" />
  28. <i class="icon-ok icon-white"></i> Enregistrer
  29. </button>
  30. </div>
  31. </form>
  32. </div>
  33. <div class="center">
  34. ${helpers.uploader("presse", form.year_uid.data, u"Fichier" )}
  35. </div>