Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

Commit

Permalink
add example application.html.erb to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
breckenedge committed Jun 11, 2013
1 parent 44ba4d0 commit 6177ccd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,29 @@ There's also an optional CSS stylesheet containing the barebones styles you'll n

*= require snap

A barebones `application.html.erb` might look like this:

...
<body>
<div class="snap-drawers" style="position: absolute">
<div class="snap-drawer snap-drawer-left">
<!-- Left Drawer Content -->
</div>
<div class="snap-drawer snap-drawer-right">
<!-- Right Drawer Content -->
</div>
</div>
<div id="content" class="snap-content">
<div id="toolbar">
<!-- Toolbar Content -->
</div>
<%= yield %>
</div>
</body>
...

Refer to [Snap.js](https://github.com/jakiestfu/Snap.js) for more options.

## Contributing

1. Fork it
Expand Down

0 comments on commit 6177ccd

Please sign in to comment.