Commit 74da1743f3b8d09e75956e61a2cea89631c9d870
1 parent
34cd8622
Exists in
master
and in
2 other branches
rename rhtml files
Showing
10 changed files
with
164 additions
and
164 deletions
Show diff stats
... | ... | @@ -0,0 +1,7 @@ |
1 | +<div id="footer-links"> | |
2 | + <a id="link-to-doc" class='icon-help'><%= link_to _('Manual'), '/doc' %></a> | |
3 | +</div><!-- end id="footer-links" --> | |
4 | +<div id="copyright"> | |
5 | + <p><%= _('This social network 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/') %></p> | |
6 | +</div><!-- end id="copyright" --> | |
7 | +<%= language_chooser(environment) %> | ... | ... |
footer.rhtml
... | ... | @@ -1,7 +0,0 @@ |
1 | -<div id="footer-links"> | |
2 | - <a id="link-to-doc" class='icon-help'><%= link_to _('Manual'), '/doc' %></a> | |
3 | -</div><!-- end id="footer-links" --> | |
4 | -<div id="copyright"> | |
5 | - <p><%= _('This social network 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/') %></p> | |
6 | -</div><!-- end id="copyright" --> | |
7 | -<%= language_chooser(environment) %> |
... | ... | @@ -0,0 +1,65 @@ |
1 | +<%= theme_include "user_menu" %> | |
2 | + | |
3 | +<!-- Nova Barra de usuário --> | |
4 | + | |
5 | +<div id="barra-psocial" class="top" > | |
6 | + <div class="btn_control_panel btn_control" title="Painel de Controle" alt="menu"> | |
7 | + <div class="layout_user"> | |
8 | + <%= render :partial => 'layouts/user' %> | |
9 | + </div> | |
10 | +</div> | |
11 | + | |
12 | +<div class="btn_control_panel btn_tasks" title="Pedências" alt="pendências"> | |
13 | + <span>20</span> | |
14 | +</div> | |
15 | +<!-- | |
16 | +<div class="btn_control_panel btn_msg" title="Mensagens" alt="mensagens"> | |
17 | + <span>362</span> | |
18 | +</div> | |
19 | +--> | |
20 | + | |
21 | +<!-- | |
22 | + <div id="categories_menu"> | |
23 | + <%= theme_include 'categories' %> | |
24 | + </div> | |
25 | + --> | |
26 | + <div id="participa-languages"> | |
27 | + <ul> | |
28 | + <li> | |
29 | + <a href="?lang=pt" class="flag flag-pt" title="Português"><span>Português</span></a> | |
30 | + </li> | |
31 | + <li> | |
32 | + <a href="?lang=en" class="flag flag-en" title="English"><span>English</span></a> | |
33 | + </li> | |
34 | + <li class="btn_home" title="Página Inicial"><a href="<%=environment.top_url%>">Logo do Portal</a></li> | |
35 | + </ul> | |
36 | + | |
37 | + </div> | |
38 | +</div> | |
39 | +<!-- FIM Nova Barra de usuário --> | |
40 | + | |
41 | + | |
42 | +<%= theme_include 'task_list' %> | |
43 | +<%#= theme_include 'message_list' %> | |
44 | + | |
45 | + | |
46 | + | |
47 | +<!-- *************** Painel de controle da comunidade ************** --> | |
48 | +<div class="btn_control_panel_bar"> | |
49 | + <a href="#" id="btn_open_control_panel" class="btn_open"> | |
50 | + <span> </span><!-- <span>Painel de Controle</span> --> | |
51 | + <ul> | |
52 | + <li id="btn_content">Conteúdo</li> | |
53 | + <li id="btn_aparence">Aparência</li> | |
54 | + <li id="btn_settings">Configurações</li> | |
55 | + </ul> | |
56 | + </a> | |
57 | + | |
58 | +<div id="control_panel_bar" class="menu_content controller-profile_editor"> </div> | |
59 | +<div id="control_panel_bar" class="menu_aparence controller-profile_editor"> </div> | |
60 | +<div id="control_panel_bar" class="menu_settings controller-profile_editor"> </div> | |
61 | + | |
62 | +</div> | |
63 | + | |
64 | + | |
65 | +<!-- *************** FIM Painel de controle da comunidade ************** --> | ... | ... |
header.rhtml
... | ... | @@ -1,65 +0,0 @@ |
1 | -<%= theme_include "user_menu" %> | |
2 | - | |
3 | -<!-- Nova Barra de usuário --> | |
4 | - | |
5 | -<div id="barra-psocial" class="top" > | |
6 | - <div class="btn_control_panel btn_control" title="Painel de Controle" alt="menu"> | |
7 | - <div class="layout_user"> | |
8 | - <%= render :partial => 'layouts/user' %> | |
9 | - </div> | |
10 | -</div> | |
11 | - | |
12 | -<div class="btn_control_panel btn_tasks" title="Pedências" alt="pendências"> | |
13 | - <span>20</span> | |
14 | -</div> | |
15 | -<!-- | |
16 | -<div class="btn_control_panel btn_msg" title="Mensagens" alt="mensagens"> | |
17 | - <span>362</span> | |
18 | -</div> | |
19 | ---> | |
20 | - | |
21 | -<!-- | |
22 | - <div id="categories_menu"> | |
23 | - <%= theme_include 'categories' %> | |
24 | - </div> | |
25 | - --> | |
26 | - <div id="participa-languages"> | |
27 | - <ul> | |
28 | - <li> | |
29 | - <a href="?lang=pt" class="flag flag-pt" title="Português"><span>Português</span></a> | |
30 | - </li> | |
31 | - <li> | |
32 | - <a href="?lang=en" class="flag flag-en" title="English"><span>English</span></a> | |
33 | - </li> | |
34 | - <li class="btn_home" title="Página Inicial"><a href="<%=environment.top_url%>">Logo do Portal</a></li> | |
35 | - </ul> | |
36 | - | |
37 | - </div> | |
38 | -</div> | |
39 | -<!-- FIM Nova Barra de usuário --> | |
40 | - | |
41 | - | |
42 | -<%= theme_include 'task_list' %> | |
43 | -<%#= theme_include 'message_list' %> | |
44 | - | |
45 | - | |
46 | - | |
47 | -<!-- *************** Painel de controle da comunidade ************** --> | |
48 | -<div class="btn_control_panel_bar"> | |
49 | - <a href="#" id="btn_open_control_panel" class="btn_open"> | |
50 | - <span> </span><!-- <span>Painel de Controle</span> --> | |
51 | - <ul> | |
52 | - <li id="btn_content">Conteúdo</li> | |
53 | - <li id="btn_aparence">Aparência</li> | |
54 | - <li id="btn_settings">Configurações</li> | |
55 | - </ul> | |
56 | - </a> | |
57 | - | |
58 | -<div id="control_panel_bar" class="menu_content controller-profile_editor"> </div> | |
59 | -<div id="control_panel_bar" class="menu_aparence controller-profile_editor"> </div> | |
60 | -<div id="control_panel_bar" class="menu_settings controller-profile_editor"> </div> | |
61 | - | |
62 | -</div> | |
63 | - | |
64 | - | |
65 | -<!-- *************** FIM Painel de controle da comunidade ************** --> |
... | ... | @@ -0,0 +1,91 @@ |
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>"> | |
3 | + <head> | |
4 | + <title><%= h page_title %></title> | |
5 | + <%= yield(:feeds) %> | |
6 | + <!--<meta http-equiv="refresh" content="1"/>--> | |
7 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
8 | + <meta name="description" content="<%= @environment.name %>" /> | |
9 | + | |
10 | + <!-- Twitter Card --> | |
11 | + <meta name="twitter:card" value="summary"> | |
12 | + <meta name="twitter:title" content="<%= h page_title %>"> | |
13 | + <meta name="twitter:description" content="<%= meta_description_tag(@page) %>"> | |
14 | + | |
15 | + <!-- Open Graph --> | |
16 | + <meta property="og:type" content="<%= @page ? 'article' : 'website' %>"> | |
17 | + <meta property="og:url" content="<%= @page ? url_for(@page.url) : @environment.top_url %>"> | |
18 | + <meta property="og:title" content="<%= h page_title %>"> | |
19 | + <meta property="og:site_name" content="<%= profile ? profile.name : @environment.name %>"> | |
20 | + <meta property="og:description" content="<%= @page ? truncate(strip_tags(@page.body.to_s), :length => 200) : @environment.name %>"> | |
21 | + | |
22 | + <% if @page %> | |
23 | + <meta property="article:published_time" content="<%= show_date(@page.published_at) %>"> | |
24 | + <% @page.body_images_paths.each do |img| %> | |
25 | + <meta name="twitter:image" content="<%= img.to_s %>"> | |
26 | + <meta property="og:image" content="<%= img.to_s %>"> | |
27 | + <% end %> | |
28 | + <% end %> | |
29 | + | |
30 | + <link rel="shortcut icon" href="<%= image_path(theme_favicon) %>" type="image/x-icon" /> | |
31 | + <%= noosfero_javascript %> | |
32 | + <%= noosfero_stylesheets %> | |
33 | + | |
34 | + <%# Add custom tags/styles/etc via content_for %> | |
35 | + <%= yield :head %> | |
36 | + <%= | |
37 | + @plugins.dispatch(:head_ending).collect do |content| | |
38 | + content.respond_to?(:call) ? content.call : content | |
39 | + end.join("\n") | |
40 | + %> | |
41 | + | |
42 | + <script type='text/javascript'> | |
43 | + DEFAULT_LOADING_MESSAGE = <%="'#{ _('loading...') }'" %>; | |
44 | + </script> | |
45 | + </head> | |
46 | + <body class="<%= h body_classes %>"> | |
47 | + <a href="#content" id="link-go-content"><span><%= _("Go to the content") %></span></a> | |
48 | + | |
49 | + <%= | |
50 | + @plugins.dispatch(:body_beginning).collect do |content| | |
51 | + content.respond_to?(:call) ? content.call : content | |
52 | + end.join("\n") | |
53 | + %> | |
54 | + | |
55 | + | |
56 | + | |
57 | + <div id="wrap-1"> | |
58 | + | |
59 | +<!-- cabecalho --> | |
60 | + <div id='theme-header'> | |
61 | + <%= theme_header %> | |
62 | + </div> | |
63 | +<!-- FIM cabecalho --> | |
64 | + | |
65 | + <div id="wrap-2"> | |
66 | + | |
67 | + | |
68 | +<!-- título da comunidade/empreendimento/perfil --> | |
69 | + <h1 id="site-title"> | |
70 | + <%= theme_site_title %> | |
71 | + </h1> | |
72 | + | |
73 | + | |
74 | + | |
75 | + <div id="content"> | |
76 | + <div id="content-inner"> | |
77 | + <%= insert_boxes(yield) %> | |
78 | + <br style='clear: both'/> | |
79 | + </div><!-- end id="content-inner" --> | |
80 | + </div><!-- end id="content" --> | |
81 | + </div><!-- end id="wrap-2" --> | |
82 | + </div><!-- end id="wrap-1" --> | |
83 | + <%= render_environment_features(:logged_in) %> | |
84 | + <div id="theme-footer"> | |
85 | + <%= theme_footer %> | |
86 | + </div><!-- end id="theme-footer" --> | |
87 | + <%= noosfero_layout_features %> | |
88 | + <%= theme_javascript_ng %> | |
89 | + <%= addthis_javascript %> | |
90 | + </body> | |
91 | +</html> | ... | ... |
index.rhtml
... | ... | @@ -1,91 +0,0 @@ |
1 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>"> | |
3 | - <head> | |
4 | - <title><%= h page_title %></title> | |
5 | - <%= yield(:feeds) %> | |
6 | - <!--<meta http-equiv="refresh" content="1"/>--> | |
7 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
8 | - <meta name="description" content="<%= @environment.name %>" /> | |
9 | - | |
10 | - <!-- Twitter Card --> | |
11 | - <meta name="twitter:card" value="summary"> | |
12 | - <meta name="twitter:title" content="<%= h page_title %>"> | |
13 | - <meta name="twitter:description" content="<%= meta_description_tag(@page) %>"> | |
14 | - | |
15 | - <!-- Open Graph --> | |
16 | - <meta property="og:type" content="<%= @page ? 'article' : 'website' %>"> | |
17 | - <meta property="og:url" content="<%= @page ? url_for(@page.url) : @environment.top_url %>"> | |
18 | - <meta property="og:title" content="<%= h page_title %>"> | |
19 | - <meta property="og:site_name" content="<%= profile ? profile.name : @environment.name %>"> | |
20 | - <meta property="og:description" content="<%= @page ? truncate(strip_tags(@page.body.to_s), :length => 200) : @environment.name %>"> | |
21 | - | |
22 | - <% if @page %> | |
23 | - <meta property="article:published_time" content="<%= show_date(@page.published_at) %>"> | |
24 | - <% @page.body_images_paths.each do |img| %> | |
25 | - <meta name="twitter:image" content="<%= img.to_s %>"> | |
26 | - <meta property="og:image" content="<%= img.to_s %>"> | |
27 | - <% end %> | |
28 | - <% end %> | |
29 | - | |
30 | - <link rel="shortcut icon" href="<%= image_path(theme_favicon) %>" type="image/x-icon" /> | |
31 | - <%= noosfero_javascript %> | |
32 | - <%= noosfero_stylesheets %> | |
33 | - | |
34 | - <%# Add custom tags/styles/etc via content_for %> | |
35 | - <%= yield :head %> | |
36 | - <%= | |
37 | - @plugins.dispatch(:head_ending).collect do |content| | |
38 | - content.respond_to?(:call) ? content.call : content | |
39 | - end.join("\n") | |
40 | - %> | |
41 | - | |
42 | - <script type='text/javascript'> | |
43 | - DEFAULT_LOADING_MESSAGE = <%="'#{ _('loading...') }'" %>; | |
44 | - </script> | |
45 | - </head> | |
46 | - <body class="<%= h body_classes %>"> | |
47 | - <a href="#content" id="link-go-content"><span><%= _("Go to the content") %></span></a> | |
48 | - | |
49 | - <%= | |
50 | - @plugins.dispatch(:body_beginning).collect do |content| | |
51 | - content.respond_to?(:call) ? content.call : content | |
52 | - end.join("\n") | |
53 | - %> | |
54 | - | |
55 | - | |
56 | - | |
57 | - <div id="wrap-1"> | |
58 | - | |
59 | -<!-- cabecalho --> | |
60 | - <div id='theme-header'> | |
61 | - <%= theme_header %> | |
62 | - </div> | |
63 | -<!-- FIM cabecalho --> | |
64 | - | |
65 | - <div id="wrap-2"> | |
66 | - | |
67 | - | |
68 | -<!-- título da comunidade/empreendimento/perfil --> | |
69 | - <h1 id="site-title"> | |
70 | - <%= theme_site_title %> | |
71 | - </h1> | |
72 | - | |
73 | - | |
74 | - | |
75 | - <div id="content"> | |
76 | - <div id="content-inner"> | |
77 | - <%= insert_boxes(yield) %> | |
78 | - <br style='clear: both'/> | |
79 | - </div><!-- end id="content-inner" --> | |
80 | - </div><!-- end id="content" --> | |
81 | - </div><!-- end id="wrap-2" --> | |
82 | - </div><!-- end id="wrap-1" --> | |
83 | - <%= render_environment_features(:logged_in) %> | |
84 | - <div id="theme-footer"> | |
85 | - <%= theme_footer %> | |
86 | - </div><!-- end id="theme-footer" --> | |
87 | - <%= noosfero_layout_features %> | |
88 | - <%= theme_javascript_ng %> | |
89 | - <%= addthis_javascript %> | |
90 | - </body> | |
91 | -</html> |
navigation.rhtml
... | ... | @@ -0,0 +1 @@ |
1 | +<%= link_to(image_tag("/designs/themes/noosfero/images/logo-noosfero.png"), environment.top_url) %> | ... | ... |
site_title.rhtml
... | ... | @@ -1 +0,0 @@ |
1 | -<%= link_to(image_tag("/designs/themes/noosfero/images/logo-noosfero.png"), environment.top_url) %> |