Le repo des sources pour le site web des JM2L
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

31 行
952 B

  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="/css/jm2l.css" />
  9. <!-- CSS adjustments for browsers with JavaScript disabled -->
  10. </%def>
  11. <h3 class="page-title">Accueil ${DisplayYear}</h3>
  12. <%
  13. DicForm = {
  14. 'year_uid': {'PlaceHolder':u"Mon Nom", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;"},
  15. 'description': {'PlaceHolder':u"Description", "FieldStyle":"width:95%;min-height:600px;", "ckeditor":"1"},
  16. }
  17. %>
  18. <div>
  19. <form action="" method="POST">
  20. ${helpers.DisplayForm(form, DicForm)}
  21. <br>
  22. <div class="center">
  23. <button type="submit" class="btn btn-large btn-primary" />
  24. <i class="icon-ok icon-white"></i> Enregistrer
  25. </button>
  26. </div>
  27. </form>
  28. </div>
  29. <br>