2 differents layout for my app

2013-12-10 Thread Francois Sery
(re)bonjour, is there a simple / elegant way to have 2 differents layouts for my app. All the solutions i think of seems unmanageable and not very smart. (re)merci ___ Camping-list mailing list Camping-list@rubyforge.org

Re: 2 differents layout for my app

2013-12-10 Thread deveritt
If the markup is semantic and nicely-structured, I'd simply do a CSS switch that uses local storage to persist between visits, as I've done here for the colour theme (http://ee.ecoconsulting.co.uk/ switch, top right) but expanded to div widths, etc. Is that what you meant? - DaveE

Re: 2 differents layout for my app

2013-12-10 Thread Francois Sery
@deveritt: i dont want to switch css. My app has a front end and an admin . The front end is the public face of my app and th e'admin' is where i manage the content. the visual design of these 2 part are very different and it would be nice to have 2 independant layout . maybe, i don't even know