public
Description: A simple theme for web apps
Homepage:
Clone URL: git://github.com/pilu/web-app-theme.git
name age message
file .gitignore Sat Oct 17 17:34:40 -0700 2009 added gemspec [pilu]
file LICENSE Sat Jan 17 18:22:02 -0800 2009 added LICENSE and README [pilu]
file README.md Mon Nov 09 13:19:43 -0800 2009 added some documentation [pilu]
file Rakefile Sat Oct 17 17:34:40 -0700 2009 added gemspec [pilu]
file VERSION Sat Oct 17 17:34:40 -0700 2009 added gemspec [pilu]
directory features/ Sun Sep 27 08:12:38 -0700 2009 fixed typo [pilu]
directory images/ Sat Jan 17 16:26:00 -0800 2009 initial layout [pilu]
file index.html Mon Sep 07 09:29:48 -0700 2009 Added Warehouse style, based on http://warehous... [stas]
directory javascripts/ Tue Jan 20 17:46:11 -0800 2009 added scroll with jquery.scrollTo [pilu]
directory lib/ Sat Oct 17 17:34:40 -0700 2009 added gemspec [pilu]
directory rails_generators/ Thu Oct 22 07:52:13 -0700 2009 stylesheets cached [pilu]
directory stylesheets/ Mon Sep 07 11:59:53 -0700 2009 Some CSS fixes for input and textarea elements ... [stas]
directory test/ Fri Sep 18 15:26:27 -0700 2009 fixed resource name generation [pilu]
file web-app-theme.gemspec Sat Oct 17 17:35:05 -0700 2009 Regenerated gemspec for version 0.3.0 [pilu]
README.md

Web App Theme

A simple layout by Andrea Franz that you can use in your web applications. Inspired by cool themes like Lighthouse, Basecamp, RadiantCMS and others, it wants to be an idea to start developing a complete web application layout.

Installation

Install the gem with:

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

You can also install it as a rails plugin:

script/plugin install git://github.com/pilu/web-app-theme.git

Usage

Theme Generator

Used without parameters, it generates the layout inside the application.html.erb file using the default theme.

script/generate theme

You can specify the layout file name in the first parameter:

script/generate theme admin # it will generate a layout called `admin.html.erb`

If you want to use another theme, instead of the default, you can use the --theme option:

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

If you want to generate the stylesheets of a specific theme without changing the previously generated layout you can pass the --no-layout option:

script/generate theme --theme=bec --no_layout

You can specify the text used in the header with the --app-name option:

script/generate theme --app_name="My New Application"

If you need a layout for login and signup pages, you can use the --type option with sign as value. Ìf not specified, the default value is administration

script/generate theme --type=sign

Themed Generator

script/generate themed posts

script/generate themed items Post

script/generate themed admin/items Post

script/generate themed admin/gallery_pictures

script/generate themed homes --type=text

Contributing

  • Fork this repository.
  • Duplicate the 'themes/default' folder and rename it.
  • Modify the style.css file adding your favorite colors.
  • Add a link to your theme in the 'Switch Theme' block inside the index.html file.
  • Send a pull request.

Web App Theme screenshot

Contributors

Nelson Fernandez ('Bec' theme and refactoring)