PageRenderTime 50ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/radarlegislativo/website/templates/website/content.html

https://gitlab.com/codingrights/radarlegislativo
HTML | 51 lines | 49 code | 2 blank | 0 comment | 0 complexity | 98aa740ae79c84e8a7ef820607441af3 MD5 | raw file
  1. {% load static %}
  2. {% load projeto_tags %}
  3. {% load website_tags %}
  4. <div id="pageContent" class="container">
  5. <div class="row filters">
  6. <div class="col-sm-2 filters-title">
  7. Navegar por
  8. </div>
  9. <div class="col-sm-3 origem">
  10. <p><strong>Origem:</strong>
  11. <a href="#" id="mostrar-camara">Câmara</a> /
  12. <a href="#" id="mostrar-senado">Senado</a> /
  13. <a href="#" id="mostrar-tudo">Tudo</a>
  14. </p>
  15. </div>
  16. <div class="col-sm-7 categoria">
  17. <p><strong>Categoria:</strong>
  18. {% get_cached_tags as tags %}
  19. {% for tag in tags %}
  20. <a href="#" id="mostrar-{{ tag.slug }}">
  21. <img src={% if tag.icon %}{{ tag.icon.url }}{% else %}{% static "img/icone-"|add:tag.slug|add:".svg" %}{% endif %} width="25" width="35" alt="ícone de {{ tag.nome }}" />
  22. {{ tag.nome }}
  23. </a> /
  24. {% endfor %}
  25. </p>
  26. </div>
  27. </div>
  28. <div class="projetos-de-lei row">
  29. {% for projeto in projetos %}
  30. {% show_projeto projeto %}
  31. {% endfor %}
  32. </div>
  33. <div class="after-projetos text-center">
  34. <p>Feeds RSS das tramitações: <em><a href="https://duckduckgo.com/?q=o+que+são+feeds">(o que são feeds?)</a></em><br />
  35. <a href="feed/todos.xml">
  36. Todos os projetos
  37. </a> /
  38. {% get_cached_tags as tags %}
  39. {% for tag in tags %}
  40. <a href="feed/{{ tag.slug }}.xml">
  41. <img src={% if tag.icon %}{{ tag.icon.url }}{% else %}{% static "img/icone-"|add:tag.slug|add:".svg" %}{% endif %} width="25" width="35" alt="ícone de {{ tag.nome }}" />
  42. {{ tag.nome }}
  43. </a> /
  44. {% endfor %}
  45. </p>
  46. <hr />
  47. <p>Dados extraídos do <a href="http://www2.camara.leg.br/transparencia/dados-abertos/dados-abertos-legislativo">WebServices da Câmara</a>, do serviço de <a href="http://dadosabertos.senado.gov.br/">Dados Abertos</a> do Senado<br /> e através de raspagem / <em>scraping</em> de alguns dados indisponíveis nos serviços.</p>
  48. </div>
  49. </div>