Forum: Ruby on Rails A layout generator that combines YUI Grids with Mollio templ

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8fec3199fc2e0c7a81a3484455b1f556?d=identicon&s=25 Lukhnos D. Liu (Guest)
on 2007-01-27 15:27
(Received via mailing list)
We have created a Rails generator that churns out good-looking
layouts (it's Mollio :) for your controllers:

Yullio Layout Generator (gem: layout_yullio_generator) is a layout
generator that combines the flexibility of YUI Grids [1] with Mollio
CSS/HTML templates [2]. Simply generate the layout with:

    script/generate layout_yullio <controller name here> [optional

And it places a copy of YUI Grids and Mollio CSS files in your
public/ directory, instantly giving your views a great look.

This generator is a continuation of Mollio Layout Generator [3].
Here we combine Mollio's good theme design with YUI Grids'
flexibility. It's very easy to change the layout of your views.
Just add the following lines in your controller:

   class MyController < ApplicationController
     yullio_page_width :doc2
     yullio_column_template :yui_t2

Here yullio_page_width is followed by YUI Grids page width styles,
currently :doc, :doc2 and :doc3 are supported. Column templates
follow the same naming rules. YUI calls them yui-t1 to -t7, here
we replace the dash with the underline for obvious reasons. The
two methods are implemented as a plug-in, which is of course copied
for you by the generator. :)

Simply type "script/generator layout_yullio" for usage and description.
We hope this generator will help you save time in creating layouts,
further speeding up the prototyping stage of Rails app development.

The combined "yullio" templates are prepared by Liang-bin Hsueh.


related links:
[1] YUI Grids,
[2] Mollio,
[3] layout_mollio_generator (gem),
This topic is locked and can not be replied to.