diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-02-25 17:35:28 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-02-25 17:35:28 +0000 |
commit | 5ff760648e7c54ddc616e5b47a30c05126fd1af3 (patch) | |
tree | bacc831f6f3fe540f6e8f445702fe896ecb3e976 /lib |
initial commit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/alavetelitheme.rb | 7 | ||||
-rw-r--r-- | lib/views/general/custom_css.rhtml | 8 | ||||
-rw-r--r-- | lib/views/help/about.es.rhtml | 8 | ||||
-rw-r--r-- | lib/views/help/about.rhtml | 9 |
4 files changed, 32 insertions, 0 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb new file mode 100644 index 0000000..fa2749c --- /dev/null +++ b/lib/alavetelitheme.rb @@ -0,0 +1,7 @@ +class ActionController::Base + before_filter :set_view_paths + + def set_view_paths + self.prepend_view_path File.join(File.dirname(__FILE__), "views") + end +end diff --git a/lib/views/general/custom_css.rhtml b/lib/views/general/custom_css.rhtml new file mode 100644 index 0000000..53fc399 --- /dev/null +++ b/lib/views/general/custom_css.rhtml @@ -0,0 +1,8 @@ + +#header #tagline { + color: red; +} + +h1 { + color: blue ! important; +} diff --git a/lib/views/help/about.es.rhtml b/lib/views/help/about.es.rhtml new file mode 100644 index 0000000..4e25a09 --- /dev/null +++ b/lib/views/help/about.es.rhtml @@ -0,0 +1,8 @@ +<% @title = "Sobre" %> + +<%= render :partial => 'sidebar' %> + +<h1>¡Bonjiorno amis!</h1> + +<p>Esta sito tu aidare a faire los requestio</p> + diff --git a/lib/views/help/about.rhtml b/lib/views/help/about.rhtml new file mode 100644 index 0000000..1868910 --- /dev/null +++ b/lib/views/help/about.rhtml @@ -0,0 +1,9 @@ +<% @title = "About" %> + +<%= render :partial => 'sidebar' %> + +<h1 id="introduction">Introduction to WhatDoTheyKnow <a href="#introduction">#</a> </h1> + +<p>This is a custom "about" page</p> + + |