Commit c0cf8ea16de3a307a9188b5e2aa7910824471cd0

Authored by Victor Costa
1 parent e1da1211

rails3: rename theme files to .html.erb

Showing 68 changed files with 72 additions and 72 deletions   Show diff stats
public/designs/themes/aluminium/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/aluminium/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/aluminium/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/aluminium/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/aluminium/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/aluminium/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/base/footer.html.erb 0 → 100644
@@ -0,0 +1,7 @@ @@ -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) %>
public/designs/themes/base/footer.rhtml
@@ -1,7 +0,0 @@ @@ -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) %>  
public/designs/themes/base/header.html.erb 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +<!-- empty -->
public/designs/themes/base/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<!-- empty -->  
public/designs/themes/base/navigation.html.erb 0 → 100644
@@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
  1 +<li>
  2 + <%= search_people_menu %>
  3 +</li>
  4 +<li>
  5 + <%= search_communities_menu %>
  6 + </li>
  7 +<li>
  8 + <%= search_contents_menu %>
  9 +</li>
  10 +<li><a href="/search/events"><span class='icon-menu-events'><%= _('Events') %></span></a></li>
public/designs/themes/base/navigation.rhtml
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<li>  
2 - <%= search_people_menu %>  
3 -</li>  
4 -<li>  
5 - <%= search_communities_menu %>  
6 - </li>  
7 -<li>  
8 - <%= search_contents_menu %>  
9 -</li>  
10 -<li><a href="/search/events"><span class='icon-menu-events'><%= _('Events') %></span></a></li>  
public/designs/themes/butter/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/butter/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/butter/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/butter/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/butter/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/butter/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/chameleon/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/chameleon/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/chameleon/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/chameleon/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/chameleon/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/chameleon/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/chocolate/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/chocolate/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/chocolate/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/chocolate/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/chocolate/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/chocolate/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/noosfero/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/noosfero/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/noosfero/header.html.erb 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +<!-- empty -->
public/designs/themes/noosfero/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<!-- empty -->  
public/designs/themes/noosfero/navigation.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../base/navigation.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/noosfero/navigation.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../base/navigation.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/noosfero/site_title.html.erb 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +<%= link_to(image_tag("/designs/themes/noosfero/images/logo-noosfero.png"), environment.top_url) %>
public/designs/themes/noosfero/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -<%= link_to(image_tag("/designs/themes/noosfero/images/logo-noosfero.png"), environment.top_url) %>  
public/designs/themes/orange/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/orange/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/orange/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/orange/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/orange/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/orange/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/plum/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/plum/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/plum/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/plum/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/plum/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/plum/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/profile-base/footer.html.erb 0 → 100644
@@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
  1 +<div id="footer-content">
  2 + <p><%= _('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/') %></p>
  3 +</div>
public/designs/themes/profile-base/footer.rhtml
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<div id="footer-content">  
2 - <p><%= _('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/') %></p>  
3 -</div>  
public/designs/themes/profile-base/header.html.erb 0 → 100644
@@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
  1 +<div id="assets-menu">
  2 + <ul>
  3 + <%= generate_assets_menu %>
  4 + </ul>
  5 +</div><!-- fim id="assets-menu" -->
  6 +
  7 +<script type="text/javascript">
  8 + jQuery(function($) {
  9 + $("#site-title, #assets-menu").mouseover(function() {
  10 + clearTimeout( window.closeAssetsTimeout );
  11 + $("#assets-menu").slideDown(400);
  12 + });
  13 + $("#site-title, #assets-menu").mouseout(function() {
  14 + window.closeAssetsTimeout =
  15 + setTimeout( function() { $("#assets-menu").slideUp(400); }, 500 );
  16 + });
  17 + });
  18 +</script>
public/designs/themes/profile-base/header.rhtml
@@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
1 -<div id="assets-menu">  
2 - <ul>  
3 - <%= generate_assets_menu %>  
4 - </ul>  
5 -</div><!-- fim id="assets-menu" -->  
6 -  
7 -<script type="text/javascript">  
8 - jQuery(function($) {  
9 - $("#site-title, #assets-menu").mouseover(function() {  
10 - clearTimeout( window.closeAssetsTimeout );  
11 - $("#assets-menu").slideDown(400);  
12 - });  
13 - $("#site-title, #assets-menu").mouseout(function() {  
14 - window.closeAssetsTimeout =  
15 - setTimeout( function() { $("#assets-menu").slideUp(400); }, 500 );  
16 - });  
17 - });  
18 -</script>  
public/designs/themes/profile-base/site_title.html.erb 0 → 100644
@@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
  1 +<% if File.exists?(File.join(Rails.root, 'public', "/designs/themes/#{environment.theme}/images/thin-logo.png")) %>
  2 + <%= link_to(image_tag("/designs/themes/#{environment.theme}/images/thin-logo.png"), environment.top_url) %>
  3 +<% else %>
  4 + <%= link_to(image_tag("/designs/themes/noosfero/images/thin-logo.png"), environment.top_url) %>
  5 +<% end %>
public/designs/themes/profile-base/site_title.rhtml
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -<% if File.exists?(File.join(Rails.root, 'public', "/designs/themes/#{environment.theme}/images/thin-logo.png")) %>  
2 - <%= link_to(image_tag("/designs/themes/#{environment.theme}/images/thin-logo.png"), environment.top_url) %>  
3 -<% else %>  
4 - <%= link_to(image_tag("/designs/themes/noosfero/images/thin-logo.png"), environment.top_url) %>  
5 -<% end %>  
public/designs/themes/scarletred/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/scarletred/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/scarletred/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/scarletred/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/scarletred/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/scarletred/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/skyblue/footer.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/footer.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/skyblue/footer.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/footer.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/skyblue/header.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/header.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/skyblue/header.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/header.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file
public/designs/themes/skyblue/site_title.html.erb 0 → 120000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +../profile-base/site_title.html.erb
0 \ No newline at end of file 2 \ No newline at end of file
public/designs/themes/skyblue/site_title.rhtml
@@ -1 +0,0 @@ @@ -1 +0,0 @@
1 -../profile-base/site_title.rhtml  
2 \ No newline at end of file 0 \ No newline at end of file