osbridge / openconferenceware

OpenConferenceWare is an open source web application for events and conferences. This customizable, general-purpose platform provides proposals, sessions, schedules, tracks and more.
http://groups.google.com/group/openconferenceware
Other
271 stars 55 forks source link

Add wide layout #48

Open igal opened 13 years ago

igal commented 13 years ago

We need a wide layout to better view pages with a lot of columns, e.g. the selector votes, schedule, etc.

I propose modifying the bridgepdx theme's layout to add JavaScript controls to hide/show the sidebar. The Rails code should be able to inform the page, such as setting a class on the page body, to tell CSS to hide the sidebar initially on pages we know are going to be wide.

The with_voting branch contains an app/views/selector_votes/index.html.erb that has evil JavaScript that hides the sidebar. This gets the job done for this task, but needs to be replaced by a more elegant solution.