Commit 82312a48f2d66271b6d5cd50d10f14b9df47d2d8

Authored by COMGED
1 parent 8cd48e18
Exists in master

Update sedf-theme to rails3.

categories.html.erb 0 → 100644
@@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
  1 +<ul id="cat_menu">
  2 + <% @environment.display_categories.each do |item| %>
  3 + <li id="category<%= item.display_color %>">
  4 + <%= item.name %>
  5 + </li>
  6 + <% end %>
  7 +</ul><!-- fim id="cat_menu" -->
categories.rhtml
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -<ul id="cat_menu">  
2 - <% @environment.display_categories.each do |item| %>  
3 - <li id="category<%= item.display_color %>">  
4 - <%= item.name %>  
5 - </li>  
6 - <% end %>  
7 -</ul><!-- fim id="cat_menu" -->  
footer.html.erb 0 → 100644
@@ -0,0 +1,56 @@ @@ -0,0 +1,56 @@
  1 +<script>
  2 + // Identificar Blocos de links com e sem título:
  3 + // TODO: Colocar isso no core do noosfero para qualquer bloco.
  4 + jQuery('.link-list-block').each(function(num, el) {
  5 + title = jQuery('.block-title', el).text().trim();
  6 + el.className += (title=='')? ' without-title' : ' with-title';
  7 + });
  8 +
  9 + // Identificar cabeçalho e rodabe vazios:
  10 + // TODO: Colocar isso no core do noosfero.
  11 + jQuery('#profile-header, #profile-footer').each(function(num, el) {
  12 + if ( jQuery(el).html().trim() == '' ) el.className += ' empty';
  13 + });
  14 +</script>
  15 +
  16 +<div id="footer-border">
  17 +<div id="footer-box">
  18 +<div id="footer-content">
  19 +
  20 +<a href="http://www.se.df.gov.br/" id="gdf"><span>SEDF</span></a>
  21 +
  22 +<ul id="footer-menu">
  23 + <li>Conheça
  24 + <ul>
  25 + <li><a href="/sumtec/quem-somos">Quem Somos</a></li>
  26 + <li><a href="/site/terms">Termos de Uso</a></li>
  27 + <li><a href="/doc">Documentação</a></li>
  28 + <!-- <li><a href="/profile/sumtec/plugin/custom_forms/show/2">Fale Conosco</a></li> -->
  29 + </ul>
  30 + </li>
  31 + <li>Colabore
  32 + <ul>
  33 + <li><a href="/ajuda/fale-conosco">Sugerir uma Notícia</a></li>
  34 + <li><a href="/ajuda/fale-conosco">Sugerir Melhorias</a></li>
  35 + <li><a href="/ajuda/fale-conosco">Fale Conosco</a></li>
  36 + <!-- <li><a href="/colabore/reporte-um-bug">Reportar um Bug</a></li> -->
  37 + <!-- <li><a href="/desenvolvimento">Desenvolvimento</a></li> -->
  38 + </ul>
  39 + </li>
  40 +
  41 +
  42 +</ul><!-- id="footer-menu" -->
  43 +<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
  44 +
  45 +<div id="copyright">
  46 + <p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US" target="_blank"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />Todo o conteúdo e dados da rede está disponível sob a licença <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US">Creative Commons Attribution 4.0 International License</a> exceto quando especificado em contrário e nos conteúdos replicados de outras fontes.</p>
  47 +
  48 + <p><a href="http://noosfero.org/" target="_blank">Noosfero</a>, <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a>, desenvolvido por <a href="http://colivre.coop.br/" target="_blank">Colivre</a>
  49 + </p>
  50 +
  51 +
  52 +</div><!-- id="copyright" -->
  53 +
  54 +</div><!-- id="footer-content" -->
  55 +</div><!-- id="footer-box" -->
  56 +</div><!-- id="footer-border" -->
footer.rhtml
@@ -1,56 +0,0 @@ @@ -1,56 +0,0 @@
1 -<script>  
2 - // Identificar Blocos de links com e sem título:  
3 - // TODO: Colocar isso no core do noosfero para qualquer bloco.  
4 - jQuery('.link-list-block').each(function(num, el) {  
5 - title = jQuery('.block-title', el).text().trim();  
6 - el.className += (title=='')? ' without-title' : ' with-title';  
7 - });  
8 -  
9 - // Identificar cabeçalho e rodabe vazios:  
10 - // TODO: Colocar isso no core do noosfero.  
11 - jQuery('#profile-header, #profile-footer').each(function(num, el) {  
12 - if ( jQuery(el).html().trim() == '' ) el.className += ' empty';  
13 - });  
14 -</script>  
15 -  
16 -<div id="footer-border">  
17 -<div id="footer-box">  
18 -<div id="footer-content">  
19 -  
20 -<a href="http://www.se.df.gov.br/" id="gdf"><span>SEDF</span></a>  
21 -  
22 -<ul id="footer-menu">  
23 - <li>Conheça  
24 - <ul>  
25 - <li><a href="/sumtec/quem-somos">Quem Somos</a></li>  
26 - <li><a href="/site/terms">Termos de Uso</a></li>  
27 - <li><a href="/doc">Documentação</a></li>  
28 - <!-- <li><a href="/profile/sumtec/plugin/custom_forms/show/2">Fale Conosco</a></li> -->  
29 - </ul>  
30 - </li>  
31 - <li>Colabore  
32 - <ul>  
33 - <li><a href="/ajuda/fale-conosco">Sugerir uma Notícia</a></li>  
34 - <li><a href="/ajuda/fale-conosco">Sugerir Melhorias</a></li>  
35 - <li><a href="/ajuda/fale-conosco">Fale Conosco</a></li>  
36 - <!-- <li><a href="/colabore/reporte-um-bug">Reportar um Bug</a></li> -->  
37 - <!-- <li><a href="/desenvolvimento">Desenvolvimento</a></li> -->  
38 - </ul>  
39 - </li>  
40 -  
41 -  
42 -</ul><!-- id="footer-menu" -->  
43 -<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>  
44 -  
45 -<div id="copyright">  
46 - <p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US" target="_blank"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />Todo o conteúdo e dados da rede está disponível sob a licença <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US">Creative Commons Attribution 4.0 International License</a> exceto quando especificado em contrário e nos conteúdos replicados de outras fontes.</p>  
47 -  
48 - <p><a href="http://noosfero.org/" target="_blank">Noosfero</a>, <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a>, desenvolvido por <a href="http://colivre.coop.br/" target="_blank">Colivre</a>  
49 - </p>  
50 -  
51 -  
52 -</div><!-- id="copyright" -->  
53 -  
54 -</div><!-- id="footer-content" -->  
55 -</div><!-- id="footer-box" -->  
56 -</div><!-- id="footer-border" -->  
footer_old.html.erb 0 → 100644
@@ -0,0 +1,56 @@ @@ -0,0 +1,56 @@
  1 +<script>
  2 + // Identificar Blocos de links com e sem título:
  3 + // TODO: Colocar isso no core do noosfero para qualquer bloco.
  4 + jQuery('.link-list-block').each(function(num, el) {
  5 + title = jQuery('.block-title', el).text().trim();
  6 + el.className += (title=='')? ' without-title' : ' with-title';
  7 + });
  8 +
  9 + // Identificar cabeçalho e rodabe vazios:
  10 + // TODO: Colocar isso no core do noosfero.
  11 + jQuery('#profile-header, #profile-footer').each(function(num, el) {
  12 + if ( jQuery(el).html().trim() == '' ) el.className += ' empty';
  13 + });
  14 +</script>
  15 +
  16 +<div id="footer-border">
  17 +<div id="footer-box">
  18 +<div id="footer-content">
  19 +
  20 +<a href="http://sedf.cdtc.gdf.br" id="gdf"><span>SABERES</span></a>
  21 +
  22 +<ul id="footer-menu">
  23 + <li>Conheça
  24 + <ul>
  25 + <li><a href="/portal/quem-somos">Quem Somos</a></li>
  26 + <li><a href="/termo-de-uso.html">Termos de Uso</a></li>
  27 + <li><a href="/doc">Documentação</a></li>
  28 + <li><a href="/contact/portal/new">Fale Conosco</a></li>
  29 + </ul>
  30 + </li>
  31 + <li>Colabore
  32 + <ul>
  33 + <li><a href="/myprofile/portal/cms/suggest_an_article">Sugerir uma Notícia</a></li>
  34 + <li><a href="/colabore/sugerir-melhorias">Sugerir Melhorias</a></li>
  35 + <li><a href="/colabore/reporte-um-bug">Reportar um Bug</a></li>
  36 + <li><a href="/desenvolvimento">Desenvolvimento</a></li>
  37 + </ul>
  38 + </li>
  39 +
  40 +
  41 +</ul><!-- id="footer-menu" -->
  42 +<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
  43 +
  44 +<div id="copyright">
  45 + <p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />Todo o conteúdo e dados da rede está disponível sob a licença <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US">Creative Commons Attribution 4.0 International License</a> exceto quando especificado em contrário e nos conteúdos replicados de outras fontes.</p>
  46 +
  47 + <p id="dev-info"><a href="http://www.gnu.org/licenses/agpl.html"><img alt="AGPL License" style="border-width:0" src="http://www.gnu.org/graphics/agplv3-88x31.png" /></a><br/><%= _('This site uses <a href="http://noosfero.org/">Noosfero</a>, developed by %s and licensed under the <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a> version 3 or any later version.') % link_to('Colivre', 'http://colivre.coop.br/') %>
  48 + </p>
  49 +
  50 +
  51 +</div><!-- id="copyright" -->
  52 +
  53 +</div><!-- id="footer-content" -->
  54 +</div><!-- id="footer-box" -->
  55 +</div><!-- id="footer-border" -->
  56 +
header.html.erb 0 → 100644
@@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
  1 +<!-- <div id="barra-psocial">
  2 + <div id="assets-menu">
  3 + <ul>
  4 + <%= generate_assets_menu %>
  5 + </ul>
  6 +</div>
  7 +
  8 +<script type="text/javascript">
  9 + jQuery(function($) {
  10 + $("#site-title, #assets-menu").mouseover(function() {
  11 + clearTimeout( window.closeAssetsTimeout );
  12 + $("#assets-menu").slideDown(400);
  13 + });
  14 + $("#site-title, #assets-menu").mouseout(function() {
  15 + window.closeAssetsTimeout =
  16 + setTimeout( function() { $("#assets-menu").slideUp(400); }, 500 );
  17 + });
  18 + });</script>
  19 +</div> fim id="assets-menu" -->
  20 +<div id="nav"><a href="/assets/articles"><span class="icon-menu-articles"></span>Artigos</a> | <a href="/assets/people">Pessoas</a> | <a href="/assets/communities">Comunidades</a> | <a href="/assets/events">Eventos</strong></a></div>
header.rhtml
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -<!-- <div id="barra-psocial">  
2 - <div id="assets-menu">  
3 - <ul>  
4 - <%= generate_assets_menu %>  
5 - </ul>  
6 -</div>  
7 -  
8 -<script type="text/javascript">  
9 - jQuery(function($) {  
10 - $("#site-title, #assets-menu").mouseover(function() {  
11 - clearTimeout( window.closeAssetsTimeout );  
12 - $("#assets-menu").slideDown(400);  
13 - });  
14 - $("#site-title, #assets-menu").mouseout(function() {  
15 - window.closeAssetsTimeout =  
16 - setTimeout( function() { $("#assets-menu").slideUp(400); }, 500 );  
17 - });  
18 - });</script>  
19 -</div> fim id="assets-menu" -->  
20 -<div id="nav"><a href="/assets/articles"><span class="icon-menu-articles"></span>Artigos</a> | <a href="/assets/people">Pessoas</a> | <a href="/assets/communities">Comunidades</a> | <a href="/assets/events">Eventos</strong></a></div>  
site_title.html.erb 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +<%= link_to(image_tag("/designs/themes/sedf-theme/images/thin-logo.png"), environment.top_url) %>
site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<%= link_to(image_tag("/designs/themes/sedf-theme/images/thin-logo.png"), environment.top_url) %>