My favorites | Sign in
Project Home Issues Source
Project Information
Members
Links

Description

Plugin name: table_styles

Up to 42 table css styles, which is specially useful for your admin pages.

Original from CSS Table Gallery

Created by Xiaobo On Rails

Blog posts about this plugin: http://xiaoboonrails.blogspot.com/search/label/table_styles

Installation

script/plugin install http://rails-plugin-table-styles.googlecode.com/svn/trunk/table_styles

Usage

Use the demo to find one of your favorable style.

  1. Start your server: >script/server
  2. Visit http://localhost:3000/table_styles_demo/
  3. Remember to add map.connect :controller/:action in your routes.rb

Choose one of table styles in your layout header, use "tagbox" as an example.

<%= table_stylesheet_link_tag "tagbox" %>

Use it in your view

<table>....</table>

Use form helper if you want to let admin user to choose table style in user preferences page.

table_style_select or table_style_options_for_select

Powered by Google Project Hosting