aulas.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {{left_sidebar_enabled,right_sidebar_enabled=False,('message' in globals())}}
  2. {{extend 'layout.html'}}
  3. {{block header}}
  4. <header class="container-fluid background">
  5. <div class="jumbotron text-center">
  6. {{if response.title:}}
  7. <h1>{{=response.title}}
  8. <small>{{=response.subtitle or ''}}</small></h1>
  9. {{pass}}
  10. </div>
  11. </header>
  12. {{end}}
  13. {{if 'message' in globals():}}
  14. <h2>{{=message}}</h2>
  15. {{elif 'content' in globals():}}
  16. {{=content}}
  17. {{else:}}
  18. <div id="exibir"></div>
  19. <div class="table-responsive">
  20. <table class="table table-striped table-bordered">
  21. <thead>
  22. <!-- <th>DATA DA POSTAGEM</th> -->
  23. <th>QUE AULA VC PODERIA DOAR EM UMA DAS ESCOLAS PÚBLICAS OCUPADAS PELO ESTUDANTES SECUNDARISTAS ?</th>
  24. <th>SUA AULA PRECISA DE ALGUMA CONDIÇÃO ESPECIAL PARA SE REALIZAR ?</th>
  25. <th>DURAÇÃO</th>
  26. <th>EM QUAL ESCOLA OCUPADA VC PODE APLICAR SUA ATIVIDADE ?</th>
  27. <!--
  28. <th>QUAL O SEU NOME OU O DO GRUPO QUE VC FAZ PARTE ?</th>
  29. <th>EMAIL</th>
  30. <th>TELEFONE</th>
  31. <th>TELEFONE 2</th>
  32. <th>OUTROS CONTATOS (FACEBOOK)</th>
  33. -->
  34. <th>CONTATO</th>
  35. </thead>
  36. <tbody>
  37. {{for aula in aulas:}}
  38. <tr>
  39. {{=TD(XML(aula['aula'], sanitize=True))}}
  40. {{=TD(XML(aula['condicao'], sanitize=True))}}
  41. {{=TD(XML(aula['duracao'], sanitize=True))}}
  42. {{=TD(XML(aula['escola'], sanitize=True))}}
  43. <td><form><input type="button" class="btn btn-success" value="contato" name="merda" onmouseover="ajax('{{=URL('escolas', 'default', 'contato')}}', ['name'], 'exibir')" /></form></td>
  44. </tr>
  45. {{pass}}
  46. </tbody>
  47. </table>
  48. </div>
  49. {{pass}}