Commit c0cf8ea16de3a307a9188b5e2aa7910824471cd0
1 parent
e1da1211
Exists in
master
and in
29 other branches
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.rhtml
public/designs/themes/aluminium/header.rhtml
public/designs/themes/aluminium/site_title.rhtml
@@ -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) %> |
@@ -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.rhtml
public/designs/themes/butter/footer.rhtml
public/designs/themes/butter/header.rhtml
public/designs/themes/butter/site_title.rhtml
public/designs/themes/chameleon/footer.rhtml
public/designs/themes/chameleon/header.rhtml
public/designs/themes/chameleon/site_title.rhtml
public/designs/themes/chocolate/footer.rhtml
public/designs/themes/chocolate/header.rhtml
public/designs/themes/chocolate/site_title.rhtml
public/designs/themes/noosfero/footer.rhtml
@@ -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.rhtml
@@ -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.rhtml
public/designs/themes/orange/header.rhtml
public/designs/themes/orange/site_title.rhtml
public/designs/themes/plum/footer.rhtml
public/designs/themes/plum/header.rhtml
public/designs/themes/plum/site_title.rhtml
@@ -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> |
@@ -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> |
@@ -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.rhtml
public/designs/themes/scarletred/header.rhtml
public/designs/themes/scarletred/site_title.rhtml
public/designs/themes/skyblue/footer.rhtml
public/designs/themes/skyblue/header.rhtml
public/designs/themes/skyblue/site_title.rhtml