TimelineRailsHelper
The TimelineRailsHelper provides a timeline_molecules_tag helper to draw a vertical time line usable with vanilla CSS.
See It Work
Installation
Prerequisites
Stacks
Add this line to your application's Gemfile:
gem "timeline_rails_helper"
And then execute:
$ bundle
Or install it yourself as:
$ gem install timeline_rails_helper
Usage
QQTW (Quickest Quick-start in The West)
<div id="time_line_rails_helper">
<%= timeline_molecules_tag [{title: (DateTime.now - 3.days).strftime('%Y-%m-%d'),
body: 'This is a test'},
{title: DateTime.now.strftime('%Y-%m-%d'),
body: 'This is a test'}] %>
</div>
timeline_molecules_tag [{title: (DateTime.now - 3.days).strftime('%Y-%m-%d'),
body: 'This is a test'},
{title: DateTime.now.strftime('%Y-%m-%d'),
body: 'This is a test'}]
Development
Test
bin/test
Changelog
TimelineRailsHelper's changelog is available here.
Contributing
Bug reports and pull requests are welcome on Github at https://github.com/smapira/timeline_rails_helper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the timeline_rails_helper project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
You may enjoy owning other libraries and my company.
Acknowledgments