An example theme for alaveteli
Ruby CSS
Pull request Compare This branch is 13 commits ahead, 177 commits behind mysociety:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lib
locale-theme/en
test
.gitignore
MIT-LICENSE
README.md
Rakefile
init.rb
install.rb
logo.png
post_install.rb
uninstall.rb

README.md

Alavetelitheme

This is a "hello world" type theme package for Alaveteli.

The intention is to support simple overlaying of templates and resources without the need to touch the core Alaveteli software.

Typical usage should be limited to:

  • Putting CSS-based customisations in public/stylesheets/custom.css

  • Creating your own versions of non-functional pages (like "about us", at lib/views/help/about.rhtml -- and/or localised versions at lib/views/help/about.es.rhtml)

To install::

./script/plugin install git://github.com/vitorbaptista/queremossabertheme.git

Look in the lib/ folder of the plugin to see how the overrides happen.

Note that the install.rb plugin point sets up a symlink to include local resource files within the Rails public/ directory.

Copyright (c) 2011 mySociety, released under the MIT license