"Web App Theme"で、とりあえず体裁を整える

とりあえずアプリの見た目を、手っ取り早く見せられるレベルまで整えるために、"Web App Theme"を使いました。

環境

Rails 2.3.5
Ruby 1.8.7
web-app-theme 0.5.2

GitHub - gravityblast/web-app-theme: A simple theme for web apps

cssとapplication.html.erbを作ってくれるプラグインです。

テーマのサンプル

http://pilu.github.com/web-app-theme/

インストール

sudo gem install web-app-theme -s http://gemcutter.org

テーマの設定方法

web-app-theme/README.md at master · gravityblast/web-app-theme · GitHubに書いてあるとおりです。

基本は"theme"コマンドの実行です。テーマを指定します。

script/generate theme --theme="drastic-dark"

デザインの適用方法

divタグのclassやidをサンプルを参考に自アプリにも適用していきます。

その他

locale、will_paginateにも対応しています。