Commit 7bd5e4f50a67b3c6409d1108ae7ea2ad4310c13d

Authored by Lucas Kanashiro
1 parent 9d502253
Exists in header_footer

First version of SPB footer

It's broken.
colab/static/css/footer.css 0 → 100644
... ... @@ -0,0 +1,64 @@
  1 +.footer-content{
  2 + background: rgb(213,213,213);
  3 + padding: 20px 0;
  4 + font-family: 'Open Sans';
  5 +}
  6 +
  7 +.footer-links > ul > li > a{
  8 + color:#2c66ce;
  9 + padding: 0;
  10 + font-size: 13px;
  11 + line-height: 1.7em;
  12 +}
  13 +
  14 +.footer-links > ul > li > a:hover{
  15 + background: none;
  16 + text-decoration: underline;
  17 +}
  18 +
  19 +.footer-links{
  20 + color:#2c66ce;
  21 + border-left:1px dotted #2c66ce;
  22 +}
  23 +
  24 +.footer-links h2{
  25 + font-size: 18px;
  26 + font-weight: bold;
  27 + padding: 0;
  28 + line-height: 1.3em;
  29 + margin-top: 0;
  30 +}
  31 +
  32 +.footer-logos{
  33 + background: #0042b2;
  34 + padding: 2em 0;
  35 + height: 49px;
  36 +}
  37 +
  38 +.footer-logos .logo-acesso {
  39 + background: transparent url(../img/acesso-a-informacao.png) center center no-repeat;
  40 + width: 107px;
  41 +}
  42 +
  43 +.footer-logos .logo-brasil {
  44 + background: transparent url(../img/brasil.png) center center no-repeat;
  45 + width: 153px;
  46 +}
  47 +
  48 +.footer-logos .logo-sgpr {
  49 + background: transparent url(../img/sgpr.png) center center no-repeat;
  50 + width: 187px;
  51 + margin-right: 30px;
  52 +}
  53 +
  54 +.footer-logos span{
  55 + color: transparent;
  56 +}
  57 +
  58 +.footer-logos a:hover{
  59 + text-decoration: none;
  60 +}
  61 +
  62 +.footer-logos a{
  63 + min-height: 49px;
  64 +}
... ...
colab/static/css/screen.css
  1 +@import url(footer.css);
  2 +@import url(http://fonts.googleapis.com/css?family=Open+Sans);
1 3  
2 4 body {
3 5 padding-top: 57px;
... ...
colab/static/img/acesso-a-informacao.png 0 → 100644

3.75 KB

colab/static/img/brasil.png 0 → 100644

14 KB

colab/static/img/sgpr.png 0 → 100644

4.13 KB

colab/templates/base.html
... ... @@ -54,7 +54,7 @@
54 54 </head>
55 55  
56 56 <!-- data-no-turbolink will disable Rails TurboLinks for all pages under Colab -->
57   - <body class="container" data-no-turbolink>
  57 + <body data-no-turbolink>
58 58 {% if BROWSERID_ENABLED %}
59 59 {% browserid_info %}
60 60 {% endif %}
... ... @@ -95,7 +95,7 @@
95 95 </div>
96 96 {% endblock %}
97 97  
98   - <div id="main-content">
  98 + <div id="main-content" class="container">
99 99 {% block main-content %}{% endblock %}
100 100 </div>
101 101  
... ...
colab/templates/footer.html
1 1 {% load i18n browserid conversejs gravatar proxy %}
2 2 {% load static from staticfiles %}
3 3  
4   -<div class="footer row">
5   - {% if user.is_staff %}
6   - <p class="col-lg-12 text-center">{% trans "Last email imported at" %} {{ last_imported_message.received_time|date:'DATETIME_FORMAT' }}</p>
7   - {% endif %}
8   - <p class="col-lg-12 text-center">
9   - <a href="{% url 'opendata' %}"><img src="{% static 'img/opendata3.png' %}"/></a>
10   - <a href="http://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR"><img src="{% static 'img/cc_by_sa.png' %}"/></a>
11   - </p>
12   - <p class="col-lg-12 text-center">
13   - {% trans "The contents of this site is published under license" %}:
14   - <br>
15   - <a href="http://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR">
16   - {% trans "Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual" %}.
17   - </a>
18   - </p>
  4 +<div class="row footer-gov">
  5 +
  6 + <div class="col-lg-12 footer-content">
  7 + <div class="container">
  8 + <div class="row">
  9 + <div class="col-md-2 col-md-offset-1 footer-links">
  10 + <h2>Assuntos</h2>
  11 + <ul class="nav">
  12 + <li><a href="http://www.softwarepublico.gov.br/O_que_e_o_SPB" title="SPB">SPB</a></li>
  13 + <li><a href="http://pagina.softwarepublico.gov.br/sisp" title="SISP-SPB">SISP-SPB </a></li>
  14 + <li><a href="http://www.softwarepublico.gov.br/5cqualibr/avaliaspb/wiki/Sobre" title="AvaliaSPB">AvaliaSPB</a></li>
  15 + <li><a href="http://www.softwarepublico.gov.br/4cmbr/xowiki/Principal" title="4CMBr">4CMBr</a></li>
  16 + <li><a href="http://www.softwarepublico.gov.br/5cqualibr/xowiki/" title="5cQualiBr" href="#">5cQualiBr</a></li>
  17 + </ul>
  18 + </div>
  19 + <div class="col-md-2 footer-links">
  20 + <h2>Serviços</h2>
  21 + <ul class="nav">
  22 + <li class="portalservicos-item">
  23 + <a title="Perguntas frequentes" href="#">Perguntas frequentes</a>
  24 + </li>
  25 + <li class="portalservicos-item">
  26 + <a title="Contato" href="#">Contato</a>
  27 + </li>
  28 + <li class="portalservicos-item">
  29 + <a title="Serviços da [Denominação]" href="#">Serviços da [Denominação]</a>
  30 + </li>
  31 + <li class="portalservicos-item">
  32 + <a title="Dados abertos" href="#">Dados abertos</a>
  33 + </li>
  34 + <li class="portalservicos-item">
  35 + <a title="Área de imprensa" href="#">Área de imprensa</a>
  36 + </li>
  37 + </ul>
  38 + </div>
  39 + <div class="col-md-2 footer-links">
  40 + <h2>Redes Sociais</h2>
  41 + <ul class="nav">
  42 + <li class="portalredes-item"><a title="Twitter" href="https://twitter.com/twitter">
  43 + Twitter</a>
  44 + </li>
  45 + <li class="portalredes-item"><a title="YouTube" href="http://youtube.com/youtube">
  46 + Youtube</a>
  47 + </li>
  48 + <li class="portalredes-item"><a title="Facebook" href="http://facebook.com/facebook">
  49 + Facebook</a>
  50 + </li>
  51 + <li class="portalredes-item"><a title="Flickr" href="http://flickr.com/flickr">
  52 + Flickr</a>
  53 + </li>
  54 + </ul>
  55 + </div>
  56 + <div class="col-md-2 footer-links">
  57 + <h2>RSS</h2>
  58 + <ul class="nav">
  59 + <li><a href="#" title="O que é?">O que é?</a></li>
  60 + <li><a href="#" title="Assine">Assine</a></li>
  61 + </ul>
  62 + </div>
  63 + <div class="col-md-2 footer-links">
  64 + <h2>Navegação</h2>
  65 + <ul class="nav">
  66 + <li><a href="#">Acessibilidade</a></li>
  67 + <li><a href="#">Mapa do site</a></li>
  68 + <li><a href="#">Versión en Español</a></li>
  69 + <li><a href="#">English version</a></li>
  70 + </ul>
  71 + </div>
  72 + </div>
  73 + </div>
  74 + </div>
  75 +
  76 + <div class="row footer-logos">
  77 + <div class="container">
  78 + <div class="col-md-8">
  79 + <a class="logo-acesso" href="http://www.acessoainformacao.gov.br/" target="_blank"><span>Acesso a Informação</span></a>
  80 + </div>
  81 + <div class="col-md-4 institucionais">
  82 + <a class="logo-sgpr" href="http://www.secretariageral.gov.br/" target="_blank"><span>Secretaria-geral da Presidência da República</span></a>
  83 + <a class="logo-brasil" href="http://www.brasil.gov.br/" target="_blank"><span>Brasil - Governo Federal</span></a>
  84 + </div>
  85 + </div>
  86 + </div>
  87 +
  88 + <div class="footer row col-lg-12">
  89 + {% if user.is_staff %}
  90 + <p class="col-lg-12 text-center">{% trans "Last email imported at" %} {{ last_imported_message.received_time|date:'DATETIME_FORMAT' }}</p>
  91 + {% endif %}
  92 + <p class="col-lg-12 text-center">
  93 + <a href="{% url 'opendata' %}"><img src="{% static 'img/opendata3.png' %}"/></a>
  94 + <a href="http://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR"><img src="{% static 'img/cc_by_sa.png' %}"/></a>
  95 + </p>
  96 + <p class="col-lg-12 text-center">
  97 + {% trans "The contents of this site is published under license" %}:
  98 + <br>
  99 + <a href="http://creativecommons.org/licenses/by-sa/4.0/deed.pt_BR">
  100 + {% trans "Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual" %}.
  101 + </a>
  102 + </p>
  103 + </div>
  104 +
  105 +
19 106 </div>
... ...
colab/templates/header.html
... ... @@ -21,16 +21,8 @@
21 21 <a href="{% url 'thread_list' %}">{% trans "Groups" %}</a>
22 22 </li>
23 23  
24   - {% if feedzilla %}
25   - <li>
26   - <a href="{% url "feedzilla_index" %}">{% trans "Blogs" %}</a>
27   - </li>
28   - {% endif %}
29   -
30 24 {% proxy_menu %}
31 25  
32   - <li><a href="/paste">{% trans "Paste" %}</a></li>
33   -
34 26 <li class="hidden-lg hidden-md">
35 27 <a href="{% url 'haystack_search' %}?q=">{% trans "Search" %}</a>
36 28 </li>
... ...