Skip to content

Using the Quick Access Menu

Rodrigo Figueroa edited this page Apr 29, 2015 · 3 revisions

You can include the quick access menu to give users immediate access to the Storytime dashboard from anywhere on your site. The collapsed menu appears as a button in the top left corner of your site, and only appears to Storytime users that are logged in.

To do so, add the following:

app/assets/stylesheets/application.css

@import 'storytime/application';

app/assets/javascripts/application.js

//= require storytime/application

in your layout file

<%= render 'storytime/application/storytime/navigation', storytime_button_classes: "dark rounded" %>

If you remove the "dark" class, the button will be white. If you remove the "rounded" class, it will have square corners.