Does anyone have an alternate CSS for the default scaffold that makes it look decent? Would you be willing to share it? Eventually I''ll create my own scaffold generator but in the mean time, I''d like to be able to demo Rails to folks without the forms looking so 1994. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
heh... now that I''m trying to do it myself I realize I was asking the impossible. Let me change my question: Has anyone created an updated scaffold generator (designed to be actually used as a generator, as opposed to ActiveScaffold and its ilk) with more CSS-friendly output? On Mar 21, 1:06 pm, "Mark Thomas" <r...-gkTqyYPWbQbz1n+OaKNE4w@public.gmane.org> wrote:> Does anyone have an alternate CSS for the default scaffold that makes > it look decent? Would you be willing to share it? Eventually I''ll > create my own scaffold generator but in the mean time, I''d like to be > able to demo Rails to folks without the forms looking so 1994.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Mark, Mark Thomas wrote:> Has anyone created an updated scaffold generator > (designed to be actually used as a generator, as > opposed to ActiveScaffold and its ilk) with more > CSS-friendly output?Have you seen Richard White''s Ajax Scaffold Generator? It''s at http://rubyforge.org/projects/ajaxscaffold/. There''s a short review / tutorial at http://www.height1percent.com/articles/2006/02/21/on-the-new-ajax-scaffold-generator. I haven''t used it yet but it looks very interesting. hth, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 22, 9:44 am, "Bill Walton" <bill.wal...-xwVYE8SWAR3R7s880joybQ@public.gmane.org> wrote:> Hi Mark, > > Mark Thomas wrote: > > Has anyone created an updated scaffold generator > > (designed to be actually used as a generator, as > > opposed to ActiveScaffold and its ilk) with more > > CSS-friendly output? > > Have you seen Richard White''s Ajax Scaffold Generator?Yes, AjaxScaffold is being replaced by ActiveScaffold. I''ve used it and it''s great as a drop-in admin console. But it''s not meant to be used as a generator--it''s big and complicated, not easy to go in and modify. I was really looking for something in the spirit of this: http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/ except more CSS-friendly with a nice CSS stylesheet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
If you want to use the haml plugin, there are a couple of generators at: http://groups.google.com/group/haml/files one, ''haml_dry_scaffold'' has CSS imported from Ed Moss''s DryScaffold. -Larry On 3/22/07, Mark Thomas <ruby-gkTqyYPWbQbz1n+OaKNE4w@public.gmane.org> wrote:> > > > > On Mar 22, 9:44 am, "Bill Walton" <bill.wal...-xwVYE8SWAR3R7s880joybQ@public.gmane.org> wrote: > > Hi Mark, > > > > Mark Thomas wrote: > > > Has anyone created an updated scaffold generator > > > (designed to be actually used as a generator, as > > > opposed to ActiveScaffold and its ilk) with more > > > CSS-friendly output? > > > > Have you seen Richard White''s Ajax Scaffold Generator? > > Yes, AjaxScaffold is being replaced by ActiveScaffold. I''ve used it > and it''s great as a drop-in admin console. But it''s not meant to be > used as a generator--it''s big and complicated, not easy to go in and > modify. > > I was really looking for something in the spirit of this: > http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/ > except more CSS-friendly with a nice CSS stylesheet. > > > > > >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
the templates used by the scaffold generator are located here: rails-1.2.2/lib/rails_generator/generators/components/scaffold/templates you could just modify the rhtml and css files. one layout, 6 (very small) views and 1 css. you could probably whip something up in short order. don''t forget to backup the originals :) On 3/22/07, Larry Kelly <ldk2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you want to use the haml plugin, there are a couple of generators at: > http://groups.google.com/group/haml/files > one, ''haml_dry_scaffold'' has CSS imported from Ed Moss''s DryScaffold. > -Larry > > On 3/22/07, Mark Thomas <ruby-gkTqyYPWbQbz1n+OaKNE4w@public.gmane.org> wrote: > > > > > > > > On Mar 22, 9:44 am, "Bill Walton" <bill.wal...-xwVYE8SWAR3R7s880joybQ@public.gmane.org> wrote: > > > Hi Mark, > > > > > > Mark Thomas wrote: > > > > Has anyone created an updated scaffold generator > > > > (designed to be actually used as a generator, as > > > > opposed to ActiveScaffold and its ilk) with more > > > > CSS-friendly output? > > > > > > Have you seen Richard White''s Ajax Scaffold Generator? > > > > Yes, AjaxScaffold is being replaced by ActiveScaffold. I''ve used it > > and it''s great as a drop-in admin console. But it''s not meant to be > > used as a generator--it''s big and complicated, not easy to go in and > > modify. > > > > I was really looking for something in the spirit of this: > > > http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/ > > except more CSS-friendly with a nice CSS stylesheet. > > > > > > > > > > > > > > > > -- > Best Regards, > -Larry > "Work, work, work...there is no satisfactory alternative." > --- E.Taft Benson > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 22, 2:14 pm, "Chris Hall" <christopher.k.h...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> the templates used by the scaffold generator are located here: > > rails-1.2.2/lib/rails_generator/generators/components/scaffold/templates > > you could just modify the rhtml and css files. one layout, 6 (very > small) views and 1 css. you could probably whip something up in short > order.Yes, this is my backup plan. I was hoping someone would have done this already and made it available to others. I''m surprised nobody seems to have done this. - Mark. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---