An open API service indexing awesome lists of open source software.

https://github.com/tf/pageflow-horizontal-navigation-bar

A Pageflow navigation bar widget aligned along the top
https://github.com/tf/pageflow-horizontal-navigation-bar

Last synced: 9 months ago
JSON representation

A Pageflow navigation bar widget aligned along the top

Awesome Lists containing this project

README

          

# Pageflow Horizontal Navigation Bar

[![Gem Version](https://badge.fury.io/rb/pageflow-horizontal-navigation-bar.svg)](http://badge.fury.io/rb/pageflow-horizontal-navigation-bar)

A navigation bar aligned along the top.

## Installation

Add this line to your application's `Gemfile`:

gem 'pageflow-horizontal-navigation-bar'

Register the widget type inside the configure block in `config/initializers/pageflow.rb`

Pageflow.configure do |config|
config.widget_types.register(Pageflow::HorizontalNavigationBar.widget_type)
end

Include javascripts and stylesheets:

# app/assets/javascripts/pageflow/application.js
//= require pageflow/horizontal_navigation_bar

# app/assets/stylesheets/pageflow/application.css.scss
@import "pageflow/horizontal_navigation_bar";

# Adding basic style to your theme
# app/assets/stylesheets/pageflow/themes/default.css.scss
@import "pageflow/horizontal_navigation_bar/themes/default";

Execute `bundle install` Restart the application server.

## Troubleshooting

If you run into problems while installing the page type, please also refer to the
[Troubleshooting](https://github.com/codevise/pageflow/wiki/Troubleshooting) wiki
page in the [Pageflow repository](https://github.com/codevise/pageflow). If that
doesn't help, consider
[filing an issue](https://github.com/codevise/pageflow-horizontal-navigation-bar/issues).

## Contributing Locales

Edit the translations directly on the
[pageflow-horizontal-navigation-bar](http://www.localeapp.com/projects/public?search=tf/pageflow-horizontal-navigation-bar)
locale project.