table_beet2 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.rspec +2 -0
- data/.rubocop.yml +28 -0
- data/.travis.yml +20 -0
- data/Gemfile +6 -0
- data/Guardfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +111 -0
- data/Rakefile +8 -0
- data/bin/table_beet +6 -0
- data/gemfiles/rspec-3.5.x.gemfile +8 -0
- data/gemfiles/rspec-3.6.x.gemfile +8 -0
- data/gemfiles/rspec-3.7.x.gemfile +8 -0
- data/lib/table_beet.rb +17 -0
- data/lib/table_beet/cli.rb +48 -0
- data/lib/table_beet/formatters.rb +6 -0
- data/lib/table_beet/formatters/base_formatter.rb +14 -0
- data/lib/table_beet/formatters/html_formatter.rb +52 -0
- data/lib/table_beet/formatters/html_template/data/css/font-awesome-ie7.min.css +22 -0
- data/lib/table_beet/formatters/html_template/data/css/groundwork-ie.css +52 -0
- data/lib/table_beet/formatters/html_template/data/css/groundwork.css +5802 -0
- data/lib/table_beet/formatters/html_template/data/css/no-svg.css +1 -0
- data/lib/table_beet/formatters/html_template/data/css/placeholder_polyfill.css +32 -0
- data/lib/table_beet/formatters/html_template/data/favicon.ico +0 -0
- data/lib/table_beet/formatters/html_template/data/font/FontAwesome.otf +0 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.eot +0 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.svg +284 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.ttf +0 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.woff +0 -0
- data/lib/table_beet/formatters/html_template/data/images/black_linen_v2.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/groundwork-logo.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/groundwork-logo.svg +1 -0
- data/lib/table_beet/formatters/html_template/data/images/kitchen-sink.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-1.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-2.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-3.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-4.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-5.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/bullets.jpg +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/left-arrow.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/loading.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/mask-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/pause-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/right-arrow.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/rotator-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/timer-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px.svg +62 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme.svg +42 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn.svg +14 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android.svg +30 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple.svg +19 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance.svg +48 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket.svg +36 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall.svg +21 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud.svg +48 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble.svg +28 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox.svg +73 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote.svg +62 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook.svg +15 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr.svg +14 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare.svg +43 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus.svg +52 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5.svg +29 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud.svg +26 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram.svg +166 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm.svg +44 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin.svg +28 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail.svg +27 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi.svg +32 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn.svg +44 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut.svg +23 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa.svg +48 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest.svg +42 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora.svg +20 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio.svg +18 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren.svg +79 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss.svg +18 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype.svg +25 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud.svg +60 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow.svg +32 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn.svg +25 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent.svg +16 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor.svg +30 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr.svg +16 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo.svg +20 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo.svg +54 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows.svg +26 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress.svg +50 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing.svg +16 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp.svg +54 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube.svg +106 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion.svg +54 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply.svg +20 -0
- data/lib/table_beet/formatters/html_template/data/js/groundwork.js +847 -0
- data/lib/table_beet/formatters/html_template/data/js/jquery.quicksearch.js +181 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/boxsizing.htc +501 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/html5shiv.js +299 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/html5shiv.min.js +8 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/jquery-1.8.2.min.js +2 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/modernizr-2.6.2.min.js +4 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/placeholder_polyfill.jquery.js +212 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.modals.coffee +162 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.popover.coffee +198 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.popover.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveTables.coffee +56 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveTables.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveText.coffee +32 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveText.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.tooltip.coffee +121 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.tooltip.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.modals.js +185 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.orbit-1.4.0.js +919 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.popover.js +206 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.responsiveTables.js +63 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.responsiveText.js +45 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.tooltip.js +118 -0
- data/lib/table_beet/formatters/html_template/index.erb +147 -0
- data/lib/table_beet/formatters/oneline_formatter.rb +17 -0
- data/lib/table_beet/formatters/text_formatter.rb +19 -0
- data/lib/table_beet/loader.rb +39 -0
- data/lib/table_beet/reporter.rb +35 -0
- data/lib/table_beet/runner.rb +25 -0
- data/lib/table_beet/step.rb +27 -0
- data/lib/table_beet/version.rb +5 -0
- data/lib/table_beet/world.rb +42 -0
- data/spec/fixtures/steps/global_steps.rb +9 -0
- data/spec/fixtures/steps/test_steps.rb +24 -0
- data/spec/formatters/html_formatter_spec.rb +48 -0
- data/spec/loader_spec.rb +62 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/step_spec.rb +29 -0
- data/spec/world_spec.rb +31 -0
- data/table_beet.gemspec +29 -0
- metadata +485 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="456 256 48 48" enable-background="new 456 256 48 48" xml:space="preserve">
|
|
4
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="351.3662" y1="312.875" x2="351.3662" y2="301.375" gradientTransform="matrix(4.1667 0 0 -4.1667 -983.9935 1559.6541)">
|
|
5
|
+
<stop offset="0" style="stop-color:#057272"/>
|
|
6
|
+
<stop offset="1" style="stop-color:#035B5B"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<path fill="url(#SVGID_1_)" d="M504,297.928c0,3.307-2.683,5.989-5.989,5.989h-35.938c-3.308,0-5.99-2.683-5.99-5.989V261.99
|
|
9
|
+
c0-3.307,2.682-5.99,5.99-5.99h35.938c3.307,0,5.989,2.683,5.989,5.99V297.928z"/>
|
|
10
|
+
<polygon fill="#035B5B" points="487.434,265.136 478.227,281.226 484.484,293.024 489.758,293.024 483.769,281.494 493.333,265.136
|
|
11
|
+
"/>
|
|
12
|
+
<polygon fill="#035B5B" points="476.081,270.32 479.299,275.684 474.472,283.907 469.02,283.907 473.668,275.773 470.629,270.32 "/>
|
|
13
|
+
<polygon fill="#CDD618" points="487.434,266.821 478.227,282.911 484.484,294.71 489.758,294.71 483.769,283.18 493.333,266.821 "/>
|
|
14
|
+
<polygon fill="#FFFFFF" points="476.081,272.005 479.299,277.369 474.472,285.593 469.02,285.593 473.668,277.458 470.629,272.005
|
|
15
|
+
"/>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="176 76 48 48" enable-background="new 176 76 48 48" xml:space="preserve">
|
|
4
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="71.3662" y1="132.875" x2="71.3662" y2="121.375" gradientTransform="matrix(4.1667 0 0 -4.1667 -97.3177 629.646)">
|
|
5
|
+
<stop offset="0" style="stop-color:#F93C2D"/>
|
|
6
|
+
<stop offset="1" style="stop-color:#D32D20"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<path fill="url(#SVGID_1_)" d="M224,117.928c0,3.307-2.683,5.989-5.989,5.989h-35.938c-3.308,0-5.99-2.683-5.99-5.989V81.99
|
|
9
|
+
c0-3.307,2.682-5.99,5.99-5.99h35.938c3.307,0,5.989,2.683,5.989,5.99V117.928z"/>
|
|
10
|
+
<g>
|
|
11
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#CD2D20" d="M200.462,89.261c0,1.92-0.019,3.841,0.01,5.762
|
|
12
|
+
c0.011,0.766-0.176,1.481-0.988,1.499c-0.548,0.012-1.295-0.308-1.628-0.733c-1.356-1.731-2.583-3.562-3.862-5.354
|
|
13
|
+
c-0.865-1.213-1.717-2.437-2.609-3.63c-1.189-1.591-0.895-2.594,1.032-3.172c1.828-0.549,3.669-1.054,5.518-1.53
|
|
14
|
+
c1.54-0.396,2.46,0.328,2.471,1.893c0.012,1.755,0.002,3.51,0.002,5.265C200.426,89.261,200.444,89.261,200.462,89.261z"/>
|
|
15
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#CD2D20" d="M186.789,101.04c0.182-1.318,0.28-2.401,0.494-3.462
|
|
16
|
+
c0.22-1.091,1.261-1.536,2.289-1.115c2.239,0.917,4.517,1.748,6.723,2.737c0.537,0.241,1.03,0.897,1.237,1.471
|
|
17
|
+
c0.262,0.727-0.308,1.204-0.996,1.436c-1.411,0.473-2.823,0.938-4.237,1.399c-1.074,0.351-2.159,0.667-3.227,1.039
|
|
18
|
+
c-0.724,0.254-1.643-0.089-1.815-0.828C187.033,102.765,186.915,101.785,186.789,101.04z"/>
|
|
19
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#CD2D20" d="M213.985,107.02c-0.211,0.417-0.475,1.253-0.989,1.882
|
|
20
|
+
c-0.881,1.076-1.882,2.064-2.903,3.013c-0.693,0.645-1.562,0.542-2.062-0.239c-1.432-2.239-2.784-4.531-4.214-6.772
|
|
21
|
+
c-0.417-0.649-0.217-1.234,0.202-1.594c0.391-0.334,1.117-0.63,1.559-0.494c2.575,0.791,5.115,1.701,7.654,2.604
|
|
22
|
+
C214.024,105.7,214.03,105.782,213.985,107.02z"/>
|
|
23
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#CD2D20" d="M204.498,99.61c-0.295-0.235-0.946-0.524-1.177-1.012
|
|
24
|
+
c-0.173-0.362,0.072-1.072,0.353-1.472c1.306-1.873,2.65-3.722,4.058-5.521c1.332-1.705,1.834-1.745,3.238-0.19
|
|
25
|
+
c1.13,1.25,1.937,2.809,2.786,4.287c0.538,0.935,0.135,1.577-0.934,1.871c-1.728,0.474-3.438,1.011-5.171,1.459
|
|
26
|
+
C206.735,99.27,205.787,99.38,204.498,99.61z"/>
|
|
27
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#CD2D20" d="M200.421,109.715c0,1.292,0.01,2.585-0.003,3.877
|
|
28
|
+
c-0.01,0.933-0.635,1.546-1.554,1.385c-1.874-0.33-3.724-0.738-5.361-1.818c-1.254-0.827-1.46-1.688-0.506-2.779
|
|
29
|
+
c1.535-1.756,3.075-3.508,4.642-5.237c0.545-0.603,1.138-1.027,2.069-0.545c0.545,0.282,0.722,0.601,0.719,1.144
|
|
30
|
+
c-0.007,1.325-0.002,2.649-0.002,3.975C200.424,109.715,200.422,109.715,200.421,109.715z"/>
|
|
31
|
+
</g>
|
|
32
|
+
<g>
|
|
33
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M200.462,91.3c0,1.92-0.019,3.841,0.01,5.761
|
|
34
|
+
c0.011,0.766-0.176,1.481-0.988,1.5c-0.548,0.012-1.295-0.308-1.628-0.734c-1.356-1.731-2.583-3.562-3.862-5.354
|
|
35
|
+
c-0.865-1.213-1.717-2.437-2.609-3.63c-1.189-1.591-0.895-2.594,1.032-3.172c1.828-0.548,3.669-1.054,5.518-1.529
|
|
36
|
+
c1.54-0.396,2.46,0.327,2.471,1.893c0.012,1.755,0.002,3.51,0.002,5.266C200.426,91.3,200.444,91.3,200.462,91.3z"/>
|
|
37
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M186.789,103.079c0.182-1.318,0.28-2.401,0.494-3.462
|
|
38
|
+
c0.22-1.091,1.261-1.536,2.289-1.115c2.239,0.917,4.517,1.749,6.723,2.737c0.537,0.241,1.03,0.896,1.237,1.472
|
|
39
|
+
c0.262,0.727-0.308,1.204-0.996,1.436c-1.411,0.473-2.823,0.938-4.237,1.399c-1.074,0.351-2.159,0.667-3.227,1.039
|
|
40
|
+
c-0.724,0.254-1.643-0.09-1.815-0.828C187.033,104.803,186.915,103.823,186.789,103.079z"/>
|
|
41
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M213.985,109.058c-0.211,0.418-0.475,1.254-0.989,1.883
|
|
42
|
+
c-0.881,1.076-1.882,2.063-2.903,3.013c-0.693,0.644-1.562,0.541-2.062-0.239c-1.432-2.239-2.784-4.531-4.214-6.772
|
|
43
|
+
c-0.417-0.65-0.217-1.234,0.202-1.594c0.391-0.334,1.117-0.63,1.559-0.495c2.575,0.792,5.115,1.702,7.654,2.604
|
|
44
|
+
C214.024,107.739,214.03,107.82,213.985,109.058z"/>
|
|
45
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M204.498,101.648c-0.295-0.235-0.946-0.523-1.177-1.012
|
|
46
|
+
c-0.173-0.362,0.072-1.072,0.353-1.472c1.306-1.873,2.65-3.722,4.058-5.521c1.332-1.705,1.834-1.745,3.238-0.19
|
|
47
|
+
c1.13,1.249,1.937,2.808,2.786,4.287c0.538,0.935,0.135,1.577-0.934,1.871c-1.728,0.474-3.438,1.01-5.171,1.459
|
|
48
|
+
C206.735,101.309,205.787,101.419,204.498,101.648z"/>
|
|
49
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M200.421,111.754c0,1.292,0.01,2.584-0.003,3.877
|
|
50
|
+
c-0.01,0.933-0.635,1.546-1.554,1.385c-1.874-0.33-3.724-0.738-5.361-1.818c-1.254-0.827-1.46-1.688-0.506-2.779
|
|
51
|
+
c1.535-1.756,3.075-3.508,4.642-5.237c0.545-0.603,1.138-1.027,2.069-0.545c0.545,0.282,0.722,0.601,0.719,1.143
|
|
52
|
+
c-0.007,1.325-0.002,2.65-0.002,3.976C200.424,111.754,200.422,111.754,200.421,111.754z"/>
|
|
53
|
+
</g>
|
|
54
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
|
|
4
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="23.9995" y1="0" x2="23.9995" y2="48.0005">
|
|
5
|
+
<stop offset="0" style="stop-color:#FFFFFF"/>
|
|
6
|
+
<stop offset="1" style="stop-color:#EAEAEA"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" d="M48,42c0,3.313-2.687,6-6,6H6c-3.313,0-6-2.687-6-6V6
|
|
9
|
+
c0-3.313,2.687-6,6-6h36c3.313,0,6,2.687,6,6V42z"/>
|
|
10
|
+
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="24.4995" y1="23" x2="24.4995" y2="42.0005">
|
|
11
|
+
<stop offset="0" style="stop-color:#E16D35"/>
|
|
12
|
+
<stop offset="1" style="stop-color:#C93D1D"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_2_)" d="M38,39.718C38,40.979,36.979,42,35.718,42H13.282
|
|
15
|
+
C12.022,42,11,40.979,11,39.718V25.282C11,24.021,12.022,23,13.282,23h22.436C36.979,23,38,24.021,38,25.282V39.718z"/>
|
|
16
|
+
<g>
|
|
17
|
+
<g>
|
|
18
|
+
<path fill="#C93D1D" d="M13.656,28.017h2.057v9.642h1.509v-9.642h2.057V25.83h-5.624V28.017z M23.221,33.583
|
|
19
|
+
c0,0.872-0.083,1.499-0.25,1.88s-0.436,0.571-0.808,0.571c-0.327,0-0.554-0.174-0.682-0.521c-0.128-0.348-0.192-0.875-0.192-1.582
|
|
20
|
+
v-4.838h-1.365v5.269c0,0.53,0.027,1.014,0.082,1.449c0.055,0.437,0.149,0.807,0.284,1.11c0.135,0.304,0.319,0.538,0.553,0.704
|
|
21
|
+
c0.234,0.165,0.534,0.248,0.899,0.248c0.289,0,0.57-0.11,0.846-0.331c0.275-0.221,0.5-0.58,0.673-1.077h0.029v1.193h1.298v-8.565
|
|
22
|
+
h-1.365V33.583z M29.974,29.938c-0.195-0.365-0.415-0.636-0.658-0.812c-0.244-0.176-0.49-0.265-0.74-0.265
|
|
23
|
+
c-0.308,0-0.604,0.103-0.89,0.307s-0.511,0.527-0.678,0.969h-0.019V25.83h-1.365v11.828h1.298v-1.094h0.019
|
|
24
|
+
c0.147,0.475,0.366,0.812,0.654,1.011c0.288,0.198,0.615,0.298,0.98,0.298c0.25,0,0.496-0.088,0.74-0.265
|
|
25
|
+
c0.243-0.177,0.463-0.447,0.658-0.812c0.195-0.365,0.354-0.831,0.476-1.4c0.122-0.568,0.183-1.245,0.183-2.029
|
|
26
|
+
s-0.061-1.46-0.183-2.029C30.328,30.77,30.169,30.303,29.974,29.938z M29.2,34.411c-0.045,0.331-0.115,0.624-0.212,0.878
|
|
27
|
+
c-0.096,0.254-0.216,0.455-0.36,0.604s-0.319,0.224-0.523,0.224c-0.199,0-0.372-0.074-0.52-0.224s-0.27-0.351-0.365-0.604
|
|
28
|
+
c-0.097-0.254-0.167-0.547-0.212-0.878s-0.067-0.674-0.067-1.027c0-0.364,0.022-0.712,0.067-1.044
|
|
29
|
+
c0.045-0.331,0.115-0.623,0.212-0.878c0.096-0.254,0.218-0.455,0.365-0.604s0.32-0.224,0.52-0.224
|
|
30
|
+
c0.204,0,0.379,0.074,0.523,0.224s0.265,0.351,0.36,0.604c0.097,0.255,0.167,0.547,0.212,0.878
|
|
31
|
+
c0.045,0.332,0.067,0.68,0.067,1.044C29.268,33.737,29.245,34.08,29.2,34.411z M34.555,35.761
|
|
32
|
+
c-0.199,0.238-0.437,0.356-0.712,0.356c-0.385,0-0.68-0.171-0.884-0.514c-0.206-0.342-0.317-0.895-0.337-1.656h3.586
|
|
33
|
+
c0.025-0.663-0.007-1.298-0.097-1.905s-0.235-1.148-0.438-1.623c-0.201-0.476-0.459-0.854-0.773-1.135
|
|
34
|
+
c-0.314-0.282-0.683-0.423-1.105-0.423c-0.378,0-0.723,0.116-1.033,0.348c-0.312,0.232-0.579,0.55-0.803,0.953
|
|
35
|
+
c-0.225,0.403-0.397,0.881-0.52,1.433c-0.122,0.553-0.183,1.148-0.183,1.789c0,0.663,0.06,1.271,0.178,1.822
|
|
36
|
+
c0.119,0.553,0.287,1.027,0.505,1.425s0.484,0.704,0.798,0.919c0.314,0.216,0.667,0.323,1.058,0.323
|
|
37
|
+
c0.563,0,1.045-0.221,1.442-0.662c0.396-0.442,0.691-1.177,0.884-2.203H34.92C34.875,35.272,34.753,35.523,34.555,35.761z
|
|
38
|
+
M32.685,31.893c0.035-0.209,0.097-0.408,0.183-0.596c0.087-0.188,0.202-0.346,0.346-0.473c0.145-0.127,0.325-0.19,0.544-0.19
|
|
39
|
+
c0.333,0,0.581,0.155,0.745,0.464c0.163,0.31,0.276,0.762,0.341,1.358h-2.221C32.629,32.291,32.649,32.103,32.685,31.893z"/>
|
|
40
|
+
</g>
|
|
41
|
+
</g>
|
|
42
|
+
<g>
|
|
43
|
+
<g>
|
|
44
|
+
<path fill="#FFFFFF" d="M19.009,14.792l-2.098-5.745h-1.108l2.706,7.13v4.934h0.932v-4.934l2.677-7.13h-1.059L19.009,14.792z
|
|
45
|
+
M26.784,13.499c-0.209-0.411-0.466-0.735-0.77-0.972c-0.304-0.236-0.658-0.354-1.063-0.354c-0.399,0-0.752,0.118-1.059,0.354
|
|
46
|
+
c-0.307,0.237-0.565,0.561-0.774,0.972c-0.209,0.411-0.366,0.896-0.471,1.453s-0.157,1.157-0.157,1.799s0.052,1.239,0.157,1.791
|
|
47
|
+
c0.104,0.552,0.261,1.034,0.471,1.445c0.209,0.411,0.467,0.732,0.774,0.963s0.66,0.346,1.059,0.346
|
|
48
|
+
c0.405,0,0.76-0.115,1.063-0.346s0.561-0.552,0.77-0.963s0.366-0.893,0.471-1.445c0.104-0.552,0.157-1.149,0.157-1.791
|
|
49
|
+
s-0.053-1.242-0.157-1.799S26.993,13.91,26.784,13.499z M26.407,18.162c-0.082,0.412-0.194,0.755-0.339,1.031
|
|
50
|
+
c-0.144,0.276-0.312,0.487-0.505,0.634c-0.192,0.146-0.396,0.22-0.612,0.22s-0.42-0.073-0.613-0.22
|
|
51
|
+
c-0.193-0.146-0.361-0.357-0.505-0.634c-0.144-0.276-0.257-0.619-0.338-1.031c-0.082-0.411-0.123-0.881-0.123-1.411
|
|
52
|
+
c0-0.529,0.041-1,0.123-1.411c0.082-0.411,0.194-0.757,0.338-1.039c0.144-0.282,0.312-0.496,0.505-0.642
|
|
53
|
+
c0.192-0.146,0.397-0.22,0.613-0.22s0.42,0.073,0.612,0.22c0.193,0.146,0.361,0.36,0.505,0.642
|
|
54
|
+
c0.145,0.282,0.257,0.628,0.339,1.039c0.081,0.411,0.122,0.881,0.122,1.411C26.529,17.281,26.488,17.751,26.407,18.162z
|
|
55
|
+
M31.756,12.375v4.934c0,0.395-0.031,0.758-0.094,1.09c-0.062,0.333-0.155,0.623-0.279,0.87c-0.124,0.248-0.279,0.439-0.466,0.575
|
|
56
|
+
c-0.187,0.135-0.407,0.203-0.662,0.203c-0.32,0-0.571-0.158-0.755-0.473c-0.183-0.315-0.274-0.744-0.274-1.284v-5.914h-0.833
|
|
57
|
+
v5.745c0,0.473,0.027,0.904,0.083,1.292s0.152,0.724,0.289,1.005c0.138,0.282,0.317,0.499,0.54,0.65
|
|
58
|
+
c0.222,0.152,0.5,0.228,0.833,0.228c0.372,0,0.696-0.126,0.971-0.38s0.5-0.65,0.677-1.191h0.02v1.386h0.784v-8.735H31.756z"/>
|
|
59
|
+
</g>
|
|
60
|
+
</g>
|
|
61
|
+
<g>
|
|
62
|
+
<g>
|
|
63
|
+
<path fill="#FFFFFF" d="M13.656,29.017h2.057v9.642h1.509v-9.642h2.057V26.83h-5.624V29.017z M23.221,34.583
|
|
64
|
+
c0,0.872-0.083,1.499-0.25,1.88s-0.436,0.571-0.808,0.571c-0.327,0-0.554-0.174-0.682-0.521c-0.128-0.348-0.192-0.875-0.192-1.582
|
|
65
|
+
v-4.838h-1.365v5.269c0,0.53,0.027,1.014,0.082,1.449c0.055,0.437,0.149,0.807,0.284,1.11c0.135,0.304,0.319,0.538,0.553,0.704
|
|
66
|
+
c0.234,0.165,0.534,0.248,0.899,0.248c0.289,0,0.57-0.11,0.846-0.331c0.275-0.221,0.5-0.58,0.673-1.077h0.029v1.193h1.298v-8.565
|
|
67
|
+
h-1.365V34.583z M29.974,30.938c-0.195-0.365-0.415-0.636-0.658-0.812c-0.244-0.176-0.49-0.265-0.74-0.265
|
|
68
|
+
c-0.308,0-0.604,0.103-0.89,0.307s-0.511,0.527-0.678,0.969h-0.019V26.83h-1.365v11.828h1.298v-1.094h0.019
|
|
69
|
+
c0.147,0.475,0.366,0.812,0.654,1.011c0.288,0.198,0.615,0.298,0.98,0.298c0.25,0,0.496-0.088,0.74-0.265
|
|
70
|
+
c0.243-0.177,0.463-0.447,0.658-0.812c0.195-0.365,0.354-0.831,0.476-1.4c0.122-0.568,0.183-1.245,0.183-2.029
|
|
71
|
+
s-0.061-1.46-0.183-2.029C30.328,31.77,30.169,31.303,29.974,30.938z M29.2,35.411c-0.045,0.331-0.115,0.624-0.212,0.878
|
|
72
|
+
c-0.096,0.254-0.216,0.455-0.36,0.604s-0.319,0.224-0.523,0.224c-0.199,0-0.372-0.074-0.52-0.224s-0.27-0.351-0.365-0.604
|
|
73
|
+
c-0.097-0.254-0.167-0.547-0.212-0.878s-0.067-0.674-0.067-1.027c0-0.364,0.022-0.712,0.067-1.044
|
|
74
|
+
c0.045-0.331,0.115-0.623,0.212-0.878c0.096-0.254,0.218-0.455,0.365-0.604s0.32-0.224,0.52-0.224
|
|
75
|
+
c0.204,0,0.379,0.074,0.523,0.224s0.265,0.351,0.36,0.604c0.097,0.255,0.167,0.547,0.212,0.878
|
|
76
|
+
c0.045,0.332,0.067,0.68,0.067,1.044C29.268,34.737,29.245,35.08,29.2,35.411z M34.555,36.761
|
|
77
|
+
c-0.199,0.238-0.437,0.356-0.712,0.356c-0.385,0-0.68-0.171-0.884-0.514c-0.206-0.342-0.317-0.895-0.337-1.656h3.586
|
|
78
|
+
c0.025-0.663-0.007-1.298-0.097-1.905s-0.235-1.148-0.438-1.623c-0.201-0.476-0.459-0.854-0.773-1.135
|
|
79
|
+
c-0.314-0.282-0.683-0.423-1.105-0.423c-0.378,0-0.723,0.116-1.033,0.348c-0.312,0.232-0.579,0.55-0.803,0.953
|
|
80
|
+
c-0.225,0.403-0.397,0.881-0.52,1.433c-0.122,0.553-0.183,1.148-0.183,1.789c0,0.663,0.06,1.271,0.178,1.822
|
|
81
|
+
c0.119,0.553,0.287,1.027,0.505,1.425s0.484,0.704,0.798,0.919c0.314,0.216,0.667,0.323,1.058,0.323
|
|
82
|
+
c0.563,0,1.045-0.221,1.442-0.662c0.396-0.442,0.691-1.177,0.884-2.203H34.92C34.875,36.272,34.753,36.523,34.555,36.761z
|
|
83
|
+
M32.685,32.893c0.035-0.209,0.097-0.408,0.183-0.596c0.087-0.188,0.202-0.346,0.346-0.473c0.145-0.127,0.325-0.19,0.544-0.19
|
|
84
|
+
c0.333,0,0.581,0.155,0.745,0.464c0.163,0.31,0.276,0.762,0.341,1.358h-2.221C32.629,33.291,32.649,33.103,32.685,32.893z"/>
|
|
85
|
+
</g>
|
|
86
|
+
</g>
|
|
87
|
+
<g>
|
|
88
|
+
<g>
|
|
89
|
+
<path fill="#4C4C4C" d="M19.009,13.977l-2.098-5.745h-1.108l2.706,7.13v4.934h0.932v-4.934l2.677-7.13h-1.059L19.009,13.977z
|
|
90
|
+
M26.784,12.685c-0.209-0.411-0.466-0.735-0.77-0.972c-0.304-0.236-0.658-0.354-1.063-0.354c-0.399,0-0.752,0.118-1.059,0.354
|
|
91
|
+
c-0.307,0.237-0.565,0.561-0.774,0.972c-0.209,0.411-0.366,0.896-0.471,1.453s-0.157,1.157-0.157,1.799s0.052,1.239,0.157,1.791
|
|
92
|
+
c0.104,0.552,0.261,1.034,0.471,1.445c0.209,0.411,0.467,0.732,0.774,0.963s0.66,0.346,1.059,0.346
|
|
93
|
+
c0.405,0,0.76-0.115,1.063-0.346s0.561-0.552,0.77-0.963s0.366-0.893,0.471-1.445c0.104-0.552,0.157-1.149,0.157-1.791
|
|
94
|
+
s-0.053-1.242-0.157-1.799S26.993,13.096,26.784,12.685z M26.407,17.348c-0.082,0.412-0.194,0.755-0.339,1.031
|
|
95
|
+
c-0.144,0.276-0.312,0.487-0.505,0.634c-0.192,0.146-0.396,0.22-0.612,0.22s-0.42-0.073-0.613-0.22
|
|
96
|
+
c-0.193-0.146-0.361-0.357-0.505-0.634c-0.144-0.276-0.257-0.619-0.338-1.031c-0.082-0.411-0.123-0.881-0.123-1.411
|
|
97
|
+
c0-0.529,0.041-1,0.123-1.411c0.082-0.411,0.194-0.757,0.338-1.039c0.144-0.282,0.312-0.496,0.505-0.642
|
|
98
|
+
c0.192-0.146,0.397-0.22,0.613-0.22s0.42,0.073,0.612,0.22c0.193,0.146,0.361,0.36,0.505,0.642
|
|
99
|
+
c0.145,0.282,0.257,0.628,0.339,1.039c0.081,0.411,0.122,0.881,0.122,1.411C26.529,16.467,26.488,16.937,26.407,17.348z
|
|
100
|
+
M31.756,11.561v4.934c0,0.395-0.031,0.758-0.094,1.09c-0.062,0.333-0.155,0.623-0.279,0.87c-0.124,0.248-0.279,0.439-0.466,0.575
|
|
101
|
+
c-0.187,0.135-0.407,0.203-0.662,0.203c-0.32,0-0.571-0.158-0.755-0.473c-0.183-0.315-0.274-0.744-0.274-1.284v-5.914h-0.833
|
|
102
|
+
v5.745c0,0.473,0.027,0.904,0.083,1.292s0.152,0.724,0.289,1.005c0.138,0.282,0.317,0.499,0.54,0.65
|
|
103
|
+
c0.222,0.152,0.5,0.228,0.833,0.228c0.372,0,0.696-0.126,0.971-0.38s0.5-0.65,0.677-1.191h0.02v1.386h0.784v-8.735H31.756z"/>
|
|
104
|
+
</g>
|
|
105
|
+
</g>
|
|
106
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
|
|
4
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="23.9995" y1="0" x2="23.9995" y2="48.0005">
|
|
5
|
+
<stop offset="0" style="stop-color:#303030"/>
|
|
6
|
+
<stop offset="1" style="stop-color:#1A1A1A"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" d="M48,42c0,3.313-2.687,6-6,6H6c-3.313,0-6-2.687-6-6V6
|
|
9
|
+
c0-3.313,2.687-6,6-6h36c3.313,0,6,2.687,6,6V42z"/>
|
|
10
|
+
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="24.5962" y1="6.8335" x2="24.5962" y2="15.0356">
|
|
11
|
+
<stop offset="0" style="stop-color:#A1D296"/>
|
|
12
|
+
<stop offset="1" style="stop-color:#5BC472"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<circle fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_2_)" cx="24.596" cy="10.935" r="4.101"/>
|
|
15
|
+
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="24.5962" y1="32.4648" x2="24.5962" y2="40.667">
|
|
16
|
+
<stop offset="0" style="stop-color:#A1D296"/>
|
|
17
|
+
<stop offset="1" style="stop-color:#5BC472"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<circle fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_3_)" cx="24.596" cy="36.566" r="4.101"/>
|
|
20
|
+
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="11.2681" y1="19.1367" x2="11.2681" y2="27.3394">
|
|
21
|
+
<stop offset="0" style="stop-color:#A1D296"/>
|
|
22
|
+
<stop offset="1" style="stop-color:#5BC472"/>
|
|
23
|
+
</linearGradient>
|
|
24
|
+
<circle fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_4_)" cx="11.268" cy="23.238" r="4.101"/>
|
|
25
|
+
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="36.8984" y1="19.1367" x2="36.8984" y2="27.3394">
|
|
26
|
+
<stop offset="0" style="stop-color:#A1D296"/>
|
|
27
|
+
<stop offset="1" style="stop-color:#5BC472"/>
|
|
28
|
+
</linearGradient>
|
|
29
|
+
<circle fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_5_)" cx="36.899" cy="23.238" r="4.101"/>
|
|
30
|
+
<g>
|
|
31
|
+
<g>
|
|
32
|
+
<path fill="#FFFFFF" d="M19.736,33.791c-2.494-1.162-4.485-3.229-5.547-5.777c-1.905,1.232-4.006,0.717-4.006,0.717
|
|
33
|
+
c1.476,4.223,4.785,7.592,8.968,9.147C18.583,35.475,19.736,33.791,19.736,33.791z"/>
|
|
34
|
+
</g>
|
|
35
|
+
</g>
|
|
36
|
+
<g>
|
|
37
|
+
<g>
|
|
38
|
+
<path fill="#FFFFFF" d="M19.135,9.694c-3.784,1.413-6.851,4.31-8.489,7.978c0,0,2.132-0.381,3.931,1.052
|
|
39
|
+
c1.127-2.176,2.957-3.93,5.187-4.962C18.557,11.523,19.135,9.694,19.135,9.694z"/>
|
|
40
|
+
</g>
|
|
41
|
+
</g>
|
|
42
|
+
<g>
|
|
43
|
+
<g>
|
|
44
|
+
<path fill="#FFFFFF" d="M30.098,9.881c0,0,0.469,1.906-0.768,4.044c1.981,0.999,3.623,2.579,4.699,4.514
|
|
45
|
+
c2.029-1.218,4.133-0.657,4.133-0.657C36.604,14.216,33.7,11.367,30.098,9.881z"/>
|
|
46
|
+
</g>
|
|
47
|
+
</g>
|
|
48
|
+
<g>
|
|
49
|
+
<g>
|
|
50
|
+
<path fill="#FFFFFF" d="M34.456,28.275c-1.035,2.313-2.845,4.208-5.097,5.352c0,0,1.211,1.602,0.723,4.065
|
|
51
|
+
c4.013-1.651,7.159-4.991,8.551-9.13C36.266,29.25,34.456,28.275,34.456,28.275z"/>
|
|
52
|
+
</g>
|
|
53
|
+
</g>
|
|
54
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg version="1.1" id="Icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
|
|
4
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="23.9995" y1="0" x2="23.9995" y2="48.0005">
|
|
5
|
+
<stop offset="0" style="stop-color:#AECD46"/>
|
|
6
|
+
<stop offset="1" style="stop-color:#6AA326"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" d="M48,42c0,3.313-2.687,6-6,6H6c-3.313,0-6-2.687-6-6V6
|
|
9
|
+
c0-3.313,2.687-6,6-6h36c3.313,0,6,2.687,6,6V42z"/>
|
|
10
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#C1D667" d="M19.992,12.085c0,0,0.254,1.605,2.419,1.605
|
|
11
|
+
c2.165,0,11.077,0,11.077,0s1.019,0.371-0.128,1.359c-1.146,0.988-14.259,15.562-14.259,15.562s-0.255,0.988,1.273,0.617
|
|
12
|
+
c1.527-0.37,4.584,1.111,6.11,2.717c1.529,1.606,6.24,2.225,8.022,1.111c0,0,0.763,2.595-1.782,4.2
|
|
13
|
+
c-2.547,1.606-4.456,1.236-7.131-0.864c-2.673-2.101-4.965-3.952-8.021-3.952s-5.73-0.865-3.947-2.965
|
|
14
|
+
c1.782-2.1,11.841-13.709,11.841-13.709L19.61,17.89c0,0-2.928-0.493-2.419-3.087C17.7,12.208,19.992,12.085,19.992,12.085z"/>
|
|
15
|
+
<path fill-rule="evenodd" clip-rule="evenodd" fill="#262626" d="M19.992,10.178c0,0,0.254,1.605,2.419,1.605
|
|
16
|
+
c2.165,0,11.077,0,11.077,0s1.019,0.371-0.128,1.359c-1.146,0.988-14.259,15.563-14.259,15.563s-0.255,0.988,1.273,0.617
|
|
17
|
+
c1.527-0.371,4.584,1.11,6.11,2.717c1.529,1.605,6.24,2.224,8.022,1.11c0,0,0.763,2.595-1.782,4.201
|
|
18
|
+
c-2.547,1.605-4.456,1.235-7.131-0.865c-2.673-2.1-4.965-3.952-8.021-3.952s-5.73-0.864-3.947-2.965
|
|
19
|
+
c1.782-2.1,11.841-13.709,11.841-13.709l-5.857,0.124c0,0-2.928-0.494-2.419-3.087C17.7,10.301,19.992,10.178,19.992,10.178z"/>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,847 @@
|
|
|
1
|
+
// Generated by CoffeeScript 1.4.0
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
*
|
|
5
|
+
* GroundworkCSS JS by Gary Hepting - https://github.com/groundworkcss/groundwork
|
|
6
|
+
*
|
|
7
|
+
* Open source under the BSD License.
|
|
8
|
+
*
|
|
9
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
(function() {
|
|
15
|
+
var limitPaginationItems;
|
|
16
|
+
|
|
17
|
+
$(document).ready(function() {
|
|
18
|
+
var delay;
|
|
19
|
+
delay = '';
|
|
20
|
+
$('nav > ul > li.menu').on({
|
|
21
|
+
mouseenter: function(e) {
|
|
22
|
+
if ($(window).width() > 768) {
|
|
23
|
+
clearTimeout(delay);
|
|
24
|
+
$('nav > ul > li').removeClass('on');
|
|
25
|
+
$('nav > ul > li > ul').hide();
|
|
26
|
+
return $(this).addClass('on');
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
mouseleave: function(e) {
|
|
30
|
+
if ($(window).width() > 768) {
|
|
31
|
+
return delay = setTimeout((function() {
|
|
32
|
+
$('nav > ul > li').removeClass('on');
|
|
33
|
+
return $('nav > ul > li > ul').hide();
|
|
34
|
+
}), 350);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
click: function(e) {
|
|
38
|
+
var $this;
|
|
39
|
+
if ($(window).width() < 768) {
|
|
40
|
+
if ($(e.target).parent('li.menu').size() > 0) {
|
|
41
|
+
$this = $(this);
|
|
42
|
+
$(this).children('ul').slideToggle(300, function() {
|
|
43
|
+
return $this.toggleClass('on');
|
|
44
|
+
});
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
tap: function(e) {
|
|
51
|
+
var $this;
|
|
52
|
+
if ($(e.target).parent('li.menu').size() > 0) {
|
|
53
|
+
$this = $(this);
|
|
54
|
+
$(this).children('ul').slideToggle(300, function() {
|
|
55
|
+
return $this.toggleClass('on');
|
|
56
|
+
});
|
|
57
|
+
e.preventDefault();
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
limitPaginationItems();
|
|
63
|
+
$('.pagination ul > li:not(.next, .prev) a').on('click', (function(e) {
|
|
64
|
+
$('.pagination ul > li:not(.next, .prev)').removeClass('active');
|
|
65
|
+
$(this).parent('li').addClass('active');
|
|
66
|
+
if ($(this).parent('li').hasClass('first')) {
|
|
67
|
+
$('.pagination ul > li.prev').addClass('disabled');
|
|
68
|
+
} else {
|
|
69
|
+
$('.pagination ul > li.prev').removeClass('disabled');
|
|
70
|
+
}
|
|
71
|
+
if ($(this).parent('li').hasClass('last')) {
|
|
72
|
+
$('.pagination ul > li.next').addClass('disabled');
|
|
73
|
+
} else {
|
|
74
|
+
$('.pagination ul > li.next').removeClass('disabled');
|
|
75
|
+
}
|
|
76
|
+
limitPaginationItems();
|
|
77
|
+
e.preventDefault();
|
|
78
|
+
return false;
|
|
79
|
+
}));
|
|
80
|
+
$('.pagination ul > li.prev:not(.disabled)').on('click', (function(e) {
|
|
81
|
+
var el;
|
|
82
|
+
$('.pagination ul > li.next').removeClass('disabled');
|
|
83
|
+
el = $('.pagination ul > li.active');
|
|
84
|
+
if (!el.hasClass('first')) {
|
|
85
|
+
el.removeClass('active');
|
|
86
|
+
el.prev().addClass('active');
|
|
87
|
+
limitPaginationItems();
|
|
88
|
+
}
|
|
89
|
+
if ($('.pagination ul > li.active').hasClass('first')) {
|
|
90
|
+
$(this).addClass('disabled');
|
|
91
|
+
}
|
|
92
|
+
e.preventDefault();
|
|
93
|
+
return false;
|
|
94
|
+
}));
|
|
95
|
+
$('.pagination ul > li.next:not(.disabled)').on('click', (function(e) {
|
|
96
|
+
var el;
|
|
97
|
+
$('.pagination ul > li.prev').removeClass('disabled');
|
|
98
|
+
el = $('.pagination ul > li.active');
|
|
99
|
+
if (!el.hasClass('last')) {
|
|
100
|
+
el.removeClass('active');
|
|
101
|
+
el.next().addClass('active');
|
|
102
|
+
limitPaginationItems();
|
|
103
|
+
}
|
|
104
|
+
if ($('.pagination ul > li.active').hasClass('last')) {
|
|
105
|
+
$(this).addClass('disabled');
|
|
106
|
+
}
|
|
107
|
+
e.preventDefault();
|
|
108
|
+
return false;
|
|
109
|
+
}));
|
|
110
|
+
$('.pagination ul > li.disabled a').on('click', (function(e) {
|
|
111
|
+
e.preventDefault();
|
|
112
|
+
return false;
|
|
113
|
+
}));
|
|
114
|
+
$('.error input, .error textarea, \
|
|
115
|
+
.invalid input, .invalid textarea, \
|
|
116
|
+
input.error, textarea.error, \
|
|
117
|
+
input.invalid, textarea.invalid').on({
|
|
118
|
+
click: function() {
|
|
119
|
+
$(this).focus();
|
|
120
|
+
return $(this).select();
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
$('span.select select').each(function() {
|
|
124
|
+
if ($(this).children('option').first().val() === '' && $(this).children('option').first().attr('selected')) {
|
|
125
|
+
return $(this).addClass('unselected');
|
|
126
|
+
} else {
|
|
127
|
+
return $(this).removeClass('unselected');
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
$('span.select select').on({
|
|
131
|
+
change: function() {
|
|
132
|
+
if ($(this).children('option').first().val() === '' && $(this).children('option').first().attr('selected')) {
|
|
133
|
+
return $(this).addClass('unselected');
|
|
134
|
+
} else {
|
|
135
|
+
return $(this).removeClass('unselected');
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
$('.tabs > ul > li > a').not('.disabled').click(function(e) {
|
|
140
|
+
var tabs;
|
|
141
|
+
tabs = $(this).parents('.tabs');
|
|
142
|
+
tabs.find('> ul li a').removeClass('active');
|
|
143
|
+
$(this).addClass('active');
|
|
144
|
+
tabs.children('div').removeClass('active');
|
|
145
|
+
tabs.children($(this).attr('href')).addClass('active');
|
|
146
|
+
e.preventDefault();
|
|
147
|
+
return false;
|
|
148
|
+
});
|
|
149
|
+
$('.responsive').not('table').each(function(index, object) {
|
|
150
|
+
var compression, max, min;
|
|
151
|
+
compression = 10;
|
|
152
|
+
min = 10;
|
|
153
|
+
max = 200;
|
|
154
|
+
compression = parseFloat($(this).attr('data-compression') || compression);
|
|
155
|
+
min = parseFloat($(this).attr('data-min') || min);
|
|
156
|
+
max = parseFloat($(this).attr('data-max') || max);
|
|
157
|
+
return $(object).responsiveText({
|
|
158
|
+
compressor: compression,
|
|
159
|
+
minSize: min,
|
|
160
|
+
maxSize: max
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
$('table.responsive').each(function(index, object) {
|
|
164
|
+
var compression, max, min, padding;
|
|
165
|
+
compression = 30;
|
|
166
|
+
min = 8;
|
|
167
|
+
max = 13;
|
|
168
|
+
padding = 0;
|
|
169
|
+
compression = parseFloat($(this).attr('data-compression') || compression);
|
|
170
|
+
min = parseFloat($(this).attr('data-min') || min);
|
|
171
|
+
max = parseFloat($(this).attr('data-max') || max);
|
|
172
|
+
padding = parseFloat($(this).attr('data-padding') || padding);
|
|
173
|
+
return $(object).responsiveTable({
|
|
174
|
+
compressor: compression,
|
|
175
|
+
minSize: min,
|
|
176
|
+
maxSize: max,
|
|
177
|
+
padding: padding
|
|
178
|
+
});
|
|
179
|
+
});
|
|
180
|
+
$('.tooltip[title]').tooltip();
|
|
181
|
+
return $('div.modal').modal();
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
$(window).load(function() {
|
|
185
|
+
return $('.slider').orbit();
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
$(window).resize(function() {
|
|
189
|
+
return limitPaginationItems();
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
limitPaginationItems = function() {
|
|
193
|
+
return $('.pagination ul').each(function() {
|
|
194
|
+
var pagination, visibleItemsWidth, visibleSpace, _results;
|
|
195
|
+
pagination = $(this);
|
|
196
|
+
visibleSpace = pagination.outerWidth() - pagination.children('li.prev').outerWidth() - pagination.children('li.next').outerWidth();
|
|
197
|
+
pagination.children('li').not('.prev, .next, .active').hide();
|
|
198
|
+
visibleItemsWidth = 0;
|
|
199
|
+
pagination.children('li:visible').each(function() {
|
|
200
|
+
return visibleItemsWidth += $(this).outerWidth();
|
|
201
|
+
});
|
|
202
|
+
_results = [];
|
|
203
|
+
while ((visibleItemsWidth + 29) < visibleSpace) {
|
|
204
|
+
pagination.children('li:visible').not('.next').last().next().show();
|
|
205
|
+
visibleItemsWidth = 0;
|
|
206
|
+
pagination.children('li:visible').each(function() {
|
|
207
|
+
return visibleItemsWidth += $(this).outerWidth();
|
|
208
|
+
});
|
|
209
|
+
if ((visibleItemsWidth + 29) <= visibleSpace) {
|
|
210
|
+
pagination.children('li:visible').not('.prev').first().prev().show();
|
|
211
|
+
visibleItemsWidth = 0;
|
|
212
|
+
pagination.children('li:visible').each(function() {
|
|
213
|
+
return visibleItemsWidth += $(this).outerWidth();
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
visibleItemsWidth = 0;
|
|
217
|
+
_results.push(pagination.children('li:visible').each(function() {
|
|
218
|
+
return visibleItemsWidth += $(this).outerWidth();
|
|
219
|
+
}));
|
|
220
|
+
}
|
|
221
|
+
return _results;
|
|
222
|
+
});
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
/* --------------------------------------------
|
|
226
|
+
Begin jquery.tooltip.coffee
|
|
227
|
+
--------------------------------------------
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
/*
|
|
232
|
+
*
|
|
233
|
+
* jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips
|
|
234
|
+
*
|
|
235
|
+
* Open source under the BSD License.
|
|
236
|
+
*
|
|
237
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
238
|
+
*
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
(function($) {
|
|
243
|
+
return $.fn.tooltip = function(options) {
|
|
244
|
+
var closetooltip, defaults, delayShow, getElementPosition, setPosition, showtooltip, tooltip, trigger;
|
|
245
|
+
defaults = {
|
|
246
|
+
topOffset: 0,
|
|
247
|
+
delay: 100,
|
|
248
|
+
speed: 100
|
|
249
|
+
};
|
|
250
|
+
options = $.extend(defaults, options);
|
|
251
|
+
tooltip = $('#tooltip');
|
|
252
|
+
delayShow = '';
|
|
253
|
+
trigger = '';
|
|
254
|
+
getElementPosition = function(el) {
|
|
255
|
+
var bottom, left, offset, right, top, win;
|
|
256
|
+
offset = el.offset();
|
|
257
|
+
win = $(window);
|
|
258
|
+
return {
|
|
259
|
+
top: top = offset.top - win.scrollTop(),
|
|
260
|
+
left: left = offset.left - win.scrollLeft(),
|
|
261
|
+
bottom: bottom = win.height() - top - el.outerHeight(),
|
|
262
|
+
right: right = win.width() - left - el.outerWidth()
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
setPosition = function(trigger) {
|
|
266
|
+
var attrs, coords, height, width;
|
|
267
|
+
coords = getElementPosition(trigger);
|
|
268
|
+
if (tooltip.outerWidth() > ($(window).width() - 20)) {
|
|
269
|
+
tooltip.css('width', $(window).width() - 20);
|
|
270
|
+
}
|
|
271
|
+
attrs = {};
|
|
272
|
+
tooltip.css('max-width', Math.min($(window).width() - parseInt($('body').css('padding-left')) - parseInt($('body').css('padding-right')), parseInt(tooltip.css('max-width'))));
|
|
273
|
+
width = tooltip.outerWidth();
|
|
274
|
+
height = tooltip.outerHeight();
|
|
275
|
+
if (coords.left <= coords.right) {
|
|
276
|
+
tooltip.addClass('left');
|
|
277
|
+
attrs.left = coords.left;
|
|
278
|
+
} else {
|
|
279
|
+
tooltip.addClass('right');
|
|
280
|
+
attrs.right = coords.right;
|
|
281
|
+
}
|
|
282
|
+
if ((coords.top - options.topOffset) > (height + 20)) {
|
|
283
|
+
tooltip.addClass('top');
|
|
284
|
+
attrs.top = (trigger.offset().top - height) - 20;
|
|
285
|
+
} else {
|
|
286
|
+
tooltip.addClass('bottom');
|
|
287
|
+
attrs.top = trigger.offset().top + trigger.outerHeight() - 4;
|
|
288
|
+
}
|
|
289
|
+
return tooltip.css(attrs);
|
|
290
|
+
};
|
|
291
|
+
closetooltip = function() {
|
|
292
|
+
tooltip.stop().remove();
|
|
293
|
+
return $('[role=tooltip]').removeClass('on');
|
|
294
|
+
};
|
|
295
|
+
showtooltip = function(trigger) {
|
|
296
|
+
closetooltip();
|
|
297
|
+
clearTimeout(delayShow);
|
|
298
|
+
return delayShow = setTimeout(function() {
|
|
299
|
+
if ($('#tooltip').length !== 1) {
|
|
300
|
+
$('#tooltip').remove();
|
|
301
|
+
tooltip = $("<div id=\"tooltip\"></div>");
|
|
302
|
+
tooltip.appendTo("body");
|
|
303
|
+
}
|
|
304
|
+
tooltip.css("opacity", 0).text(trigger.attr('data-title'));
|
|
305
|
+
setPosition(trigger);
|
|
306
|
+
trigger.addClass('on');
|
|
307
|
+
return tooltip.animate({
|
|
308
|
+
top: "+=10",
|
|
309
|
+
opacity: 1
|
|
310
|
+
}, options.speed);
|
|
311
|
+
}, options.delay);
|
|
312
|
+
};
|
|
313
|
+
this.each(function() {
|
|
314
|
+
var $this;
|
|
315
|
+
$this = $(this);
|
|
316
|
+
$this.attr('role', 'tooltip').attr('data-title', $this.attr('title'));
|
|
317
|
+
return $this.removeAttr("title");
|
|
318
|
+
});
|
|
319
|
+
$('body').on('focus', '[role=tooltip]', function() {
|
|
320
|
+
return showtooltip($(this));
|
|
321
|
+
}).on('blur', '[role=tooltip]', function() {
|
|
322
|
+
clearTimeout(delayShow);
|
|
323
|
+
return closetooltip();
|
|
324
|
+
}).on('mouseenter', '[role=tooltip]:not(input,select,textarea)', function() {
|
|
325
|
+
return showtooltip($(this));
|
|
326
|
+
}).on('mouseleave', '[role=tooltip]:not(input,select,textarea)', function() {
|
|
327
|
+
clearTimeout(delayShow);
|
|
328
|
+
return closetooltip();
|
|
329
|
+
});
|
|
330
|
+
return $(window).on({
|
|
331
|
+
scroll: function() {
|
|
332
|
+
trigger = $('[role=tooltip].on');
|
|
333
|
+
if (trigger.length) {
|
|
334
|
+
setPosition(trigger);
|
|
335
|
+
return $('#tooltip').css({
|
|
336
|
+
top: "+=10"
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
};
|
|
342
|
+
})(jQuery);
|
|
343
|
+
|
|
344
|
+
/* --------------------------------------------
|
|
345
|
+
Begin jquery.popover.coffee
|
|
346
|
+
--------------------------------------------
|
|
347
|
+
*/
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
*
|
|
352
|
+
* jQuery Popovers by Gary Hepting - https://github.com/ghepting/jquery-popovers
|
|
353
|
+
*
|
|
354
|
+
* Open source under the BSD License.
|
|
355
|
+
*
|
|
356
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
357
|
+
*
|
|
358
|
+
*/
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
(function($) {
|
|
362
|
+
return $.fn.popover = function(options) {
|
|
363
|
+
var closePopover, defaults, delayAdjust, delayHide, getElementPosition, popover, resetPopover, setPosition, showPopover, trigger;
|
|
364
|
+
defaults = {
|
|
365
|
+
hover: false,
|
|
366
|
+
click: true,
|
|
367
|
+
resize: true,
|
|
368
|
+
scroll: true,
|
|
369
|
+
topOffset: 0,
|
|
370
|
+
delay: 500,
|
|
371
|
+
speed: 100
|
|
372
|
+
};
|
|
373
|
+
options = $.extend(defaults, options);
|
|
374
|
+
popover = $('#popover');
|
|
375
|
+
delayHide = '';
|
|
376
|
+
delayAdjust = '';
|
|
377
|
+
trigger = '';
|
|
378
|
+
getElementPosition = function(el) {
|
|
379
|
+
var bottom, left, offset, right, top, win;
|
|
380
|
+
offset = el.offset();
|
|
381
|
+
win = $(window);
|
|
382
|
+
return {
|
|
383
|
+
top: top = offset.top - win.scrollTop(),
|
|
384
|
+
left: left = offset.left - win.scrollLeft(),
|
|
385
|
+
bottom: bottom = win.height() - top - el.outerHeight(),
|
|
386
|
+
right: right = win.width() - left - el.outerWidth()
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
resetPopover = function(resize) {
|
|
390
|
+
popover.css({
|
|
391
|
+
top: 'auto',
|
|
392
|
+
right: 'auto',
|
|
393
|
+
bottom: 'auto',
|
|
394
|
+
left: 'auto'
|
|
395
|
+
});
|
|
396
|
+
if (resize) {
|
|
397
|
+
popover.css({
|
|
398
|
+
width: 'auto'
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
popover.removeClass('top');
|
|
402
|
+
popover.removeClass('right');
|
|
403
|
+
popover.removeClass('bottom');
|
|
404
|
+
return popover.removeClass('left');
|
|
405
|
+
};
|
|
406
|
+
setPosition = function(trigger, skipAnimation, resize) {
|
|
407
|
+
var attrs, coords, height, width;
|
|
408
|
+
if (trigger) {
|
|
409
|
+
if (resize) {
|
|
410
|
+
resetPopover(true);
|
|
411
|
+
} else {
|
|
412
|
+
resetPopover();
|
|
413
|
+
}
|
|
414
|
+
coords = getElementPosition(trigger);
|
|
415
|
+
if (popover.outerWidth() > ($(window).width() - 20)) {
|
|
416
|
+
popover.css('width', $(window).width() - 20);
|
|
417
|
+
}
|
|
418
|
+
popover.css('max-width', Math.min($(window).width() - parseInt($('body').css('padding-left')) - parseInt($('body').css('padding-right')), parseInt(popover.css('max-width'))));
|
|
419
|
+
width = popover.outerWidth();
|
|
420
|
+
height = popover.outerHeight();
|
|
421
|
+
attrs = {};
|
|
422
|
+
if (coords.left <= coords.right) {
|
|
423
|
+
popover.addClass('left');
|
|
424
|
+
attrs.left = coords.left;
|
|
425
|
+
} else {
|
|
426
|
+
popover.addClass('right');
|
|
427
|
+
attrs.right = coords.right;
|
|
428
|
+
}
|
|
429
|
+
if ((coords.top - options.topOffset) > (height + 20)) {
|
|
430
|
+
popover.addClass('top');
|
|
431
|
+
attrs.top = trigger.offset().top - height - 20;
|
|
432
|
+
} else {
|
|
433
|
+
popover.addClass('bottom');
|
|
434
|
+
attrs.top = trigger.offset().top + 15;
|
|
435
|
+
}
|
|
436
|
+
popover.css(attrs);
|
|
437
|
+
if (skipAnimation) {
|
|
438
|
+
return popover.css({
|
|
439
|
+
top: '+=10'
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
closePopover = function() {
|
|
445
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
|
446
|
+
return popover.removeClass('sticky').remove();
|
|
447
|
+
};
|
|
448
|
+
showPopover = function(e) {
|
|
449
|
+
var tip;
|
|
450
|
+
trigger = $(e.target);
|
|
451
|
+
if (!trigger.hasClass('popover-trigger')) {
|
|
452
|
+
closePopover();
|
|
453
|
+
trigger.addClass('popover-trigger');
|
|
454
|
+
}
|
|
455
|
+
tip = $('#' + trigger.attr('data-content')).html();
|
|
456
|
+
popover = $("<div id=\"popover\"></div>");
|
|
457
|
+
if (!tip || tip === "") {
|
|
458
|
+
return false;
|
|
459
|
+
}
|
|
460
|
+
trigger.removeAttr("title");
|
|
461
|
+
popover.css("opacity", 0).html(tip).appendTo("body");
|
|
462
|
+
setPosition(trigger);
|
|
463
|
+
popover.animate({
|
|
464
|
+
top: "+=10",
|
|
465
|
+
opacity: 1
|
|
466
|
+
}, options.speed);
|
|
467
|
+
popover.bind("click", function(e) {
|
|
468
|
+
if (e.target.tagName !== 'a') {
|
|
469
|
+
popover.addClass('sticky');
|
|
470
|
+
e.stopPropagation();
|
|
471
|
+
e.preventDefault();
|
|
472
|
+
return false;
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
popover.find('.close').bind("click", function(e) {
|
|
476
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
|
477
|
+
popover.removeClass('sticky').remove();
|
|
478
|
+
e.stopPropagation();
|
|
479
|
+
e.preventDefault();
|
|
480
|
+
return false;
|
|
481
|
+
});
|
|
482
|
+
return popover.bind({
|
|
483
|
+
mouseenter: function() {
|
|
484
|
+
return clearTimeout(delayHide);
|
|
485
|
+
},
|
|
486
|
+
mouseleave: function() {
|
|
487
|
+
if (!popover.hasClass('sticky')) {
|
|
488
|
+
return delayHide = setTimeout((function() {
|
|
489
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
|
490
|
+
return popover.removeClass('sticky').remove();
|
|
491
|
+
}), 500);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
};
|
|
496
|
+
return this.each(function() {
|
|
497
|
+
var $this;
|
|
498
|
+
$this = $(this);
|
|
499
|
+
if (options.hover) {
|
|
500
|
+
$this.bind({
|
|
501
|
+
mouseenter: function(e) {
|
|
502
|
+
trigger = $(e.target);
|
|
503
|
+
clearTimeout(delayHide);
|
|
504
|
+
if (!$this.hasClass('popover-trigger') && !popover.hasClass('sticky')) {
|
|
505
|
+
return showPopover(e);
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
mouseleave: function() {
|
|
509
|
+
if (!popover.hasClass('sticky')) {
|
|
510
|
+
return delayHide = setTimeout(function() {
|
|
511
|
+
return closePopover();
|
|
512
|
+
}, options.delay);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
if (options.click) {
|
|
518
|
+
$this.bind("click", function(e) {
|
|
519
|
+
trigger = $(e.target);
|
|
520
|
+
if (!trigger.hasClass('popover-trigger')) {
|
|
521
|
+
closePopover();
|
|
522
|
+
showPopover(e);
|
|
523
|
+
}
|
|
524
|
+
popover.addClass('sticky');
|
|
525
|
+
e.preventDefault();
|
|
526
|
+
e.stopPropagation();
|
|
527
|
+
return false;
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
if (options.resize) {
|
|
531
|
+
$(window).resize(function() {
|
|
532
|
+
clearTimeout(delayAdjust);
|
|
533
|
+
return delayAdjust = setTimeout(function() {
|
|
534
|
+
return setPosition(trigger, true, true);
|
|
535
|
+
}, 100);
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
if (options.scroll) {
|
|
539
|
+
$(window).scroll(function() {
|
|
540
|
+
return setPosition(trigger, true);
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
return $('html, body').bind("click", function(e) {
|
|
544
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
|
545
|
+
return popover.removeClass('sticky').remove();
|
|
546
|
+
});
|
|
547
|
+
});
|
|
548
|
+
};
|
|
549
|
+
})(jQuery);
|
|
550
|
+
|
|
551
|
+
/* --------------------------------------------
|
|
552
|
+
Begin jquery.responsiveText.coffee
|
|
553
|
+
--------------------------------------------
|
|
554
|
+
*/
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
/*
|
|
558
|
+
*
|
|
559
|
+
* jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText
|
|
560
|
+
*
|
|
561
|
+
* Open source under the BSD License.
|
|
562
|
+
*
|
|
563
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
564
|
+
*
|
|
565
|
+
*/
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
(function($) {
|
|
569
|
+
var elems;
|
|
570
|
+
elems = [];
|
|
571
|
+
$.fn.responsiveText = function(options) {
|
|
572
|
+
var settings;
|
|
573
|
+
settings = {
|
|
574
|
+
compressor: options.compressor || 10,
|
|
575
|
+
minSize: options.minSize || Number.NEGATIVE_INFINITY,
|
|
576
|
+
maxSize: options.maxSize || Number.POSITIVE_INFINITY
|
|
577
|
+
};
|
|
578
|
+
return this.each(function() {
|
|
579
|
+
var elem;
|
|
580
|
+
elem = $(this);
|
|
581
|
+
elem.attr('data-compression', settings.compressor);
|
|
582
|
+
elem.attr('data-min', settings.minSize);
|
|
583
|
+
elem.attr('data-max', settings.maxSize);
|
|
584
|
+
elem.css("font-size", Math.floor(Math.max(Math.min(elem.width() / settings.compressor, parseFloat(settings.maxSize)), parseFloat(settings.minSize))));
|
|
585
|
+
return elems.push(elem);
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
return $(window).on("resize", function() {
|
|
589
|
+
return $(elems).each(function() {
|
|
590
|
+
var elem;
|
|
591
|
+
elem = $(this);
|
|
592
|
+
return elem.css("font-size", Math.floor(Math.max(Math.min(elem.width() / (elem.attr('data-compression')), parseFloat(elem.attr('data-max'))), parseFloat(elem.attr('data-min')))));
|
|
593
|
+
});
|
|
594
|
+
});
|
|
595
|
+
})(jQuery);
|
|
596
|
+
|
|
597
|
+
/* --------------------------------------------
|
|
598
|
+
Begin jquery.responsiveTables.coffee
|
|
599
|
+
--------------------------------------------
|
|
600
|
+
*/
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
/*
|
|
604
|
+
*
|
|
605
|
+
* jQuery ResponsiveTables by Gary Hepting - https://github.com/ghepting/responsiveTables
|
|
606
|
+
*
|
|
607
|
+
* Open source under the BSD License.
|
|
608
|
+
*
|
|
609
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
610
|
+
*
|
|
611
|
+
*/
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
(function($) {
|
|
615
|
+
var elems;
|
|
616
|
+
elems = [];
|
|
617
|
+
$.fn.responsiveTable = function(options) {
|
|
618
|
+
var settings;
|
|
619
|
+
settings = {
|
|
620
|
+
compressor: options.compressor || 10,
|
|
621
|
+
minSize: options.minSize || Number.NEGATIVE_INFINITY,
|
|
622
|
+
maxSize: options.maxSize || Number.POSITIVE_INFINITY,
|
|
623
|
+
padding: 2,
|
|
624
|
+
height: "auto",
|
|
625
|
+
adjust_parents: true
|
|
626
|
+
};
|
|
627
|
+
return this.each(function() {
|
|
628
|
+
var columns, elem, fontSize, rows;
|
|
629
|
+
elem = $(this);
|
|
630
|
+
elem.attr('data-compression', settings.compressor);
|
|
631
|
+
elem.attr('data-min', settings.minSize);
|
|
632
|
+
elem.attr('data-max', settings.maxSize);
|
|
633
|
+
elem.attr('data-padding', settings.padding);
|
|
634
|
+
columns = $("tr", elem).first().children("th, td").length;
|
|
635
|
+
rows = $("tr", elem).length;
|
|
636
|
+
if (settings.height !== "auto") {
|
|
637
|
+
$this.css("height", settings.height);
|
|
638
|
+
if (settings.adjust_parents) {
|
|
639
|
+
$this.parents().each(function() {
|
|
640
|
+
return $(this).css("height", "100%");
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
$("tr th, tr td", elem).css("width", Math.floor(100 / columns) + "%");
|
|
645
|
+
$("tr th, tr td", elem).css("height", Math.floor(100 / rows) + "%");
|
|
646
|
+
fontSize = Math.floor(Math.max(Math.min(elem.width() / settings.compressor, parseFloat(settings.maxSize)), parseFloat(settings.minSize)));
|
|
647
|
+
$("tr th, tr td", elem).css("font-size", fontSize + "px");
|
|
648
|
+
return elems.push(elem);
|
|
649
|
+
});
|
|
650
|
+
};
|
|
651
|
+
return $(window).on("resize", function() {
|
|
652
|
+
return $(elems).each(function() {
|
|
653
|
+
var elem, fontSize;
|
|
654
|
+
elem = $(this);
|
|
655
|
+
fontSize = Math.floor(Math.max(Math.min(elem.width() / (elem.attr('data-compression')), parseFloat(elem.attr('data-max'))), parseFloat(elem.attr('data-min'))));
|
|
656
|
+
return $("tr th, tr td", elem).css("font-size", fontSize + "px");
|
|
657
|
+
});
|
|
658
|
+
});
|
|
659
|
+
})(jQuery);
|
|
660
|
+
|
|
661
|
+
/* --------------------------------------------
|
|
662
|
+
Begin jquery.modals.coffee
|
|
663
|
+
--------------------------------------------
|
|
664
|
+
*/
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
/*
|
|
668
|
+
*
|
|
669
|
+
* jQuery Modals by Gary Hepting
|
|
670
|
+
* https://github.com/ghepting/modal
|
|
671
|
+
*
|
|
672
|
+
* Based on Avgrund by Hakim El Hattab <3
|
|
673
|
+
*
|
|
674
|
+
*/
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
(function($) {
|
|
678
|
+
var elems, modals;
|
|
679
|
+
if ($('div#iframeModal').length < 1) {
|
|
680
|
+
$('body').append('<div class="iframe modal" id="iframeModal"><iframe marginheight="0" marginwidth="0" frameborder="0"></iframe></div>');
|
|
681
|
+
$('div#iframeModal').prepend('<i class="close icon-remove"></i>').prepend('<i class="fullscreen icon-resize-full"></i>');
|
|
682
|
+
}
|
|
683
|
+
$('a.modal').each(function() {
|
|
684
|
+
$(this).attr('data-url', $(this).attr('href'));
|
|
685
|
+
return $(this).attr('href', '#iframeModal');
|
|
686
|
+
});
|
|
687
|
+
$('a.modal').on("click", function(e) {
|
|
688
|
+
$('div#iframeModal iframe').replaceWith('<iframe marginheight="0" marginwidth="0" frameborder="0" width="100%" height="100%" src="' + $(this).attr('data-url') + '"></iframe>');
|
|
689
|
+
e.preventDefault();
|
|
690
|
+
return false;
|
|
691
|
+
});
|
|
692
|
+
elems = [];
|
|
693
|
+
$.fn.modal = function() {
|
|
694
|
+
this.each(function() {
|
|
695
|
+
$(this).not('#iframeModal').wrapInner('<div class="modal-content"></div>');
|
|
696
|
+
$(this).prepend('<i class="close icon-remove"></i>').prepend('<i class="fullscreen icon-resize-full"></i>').appendTo('body');
|
|
697
|
+
return $('[href=#' + $(this).attr('id') + ']').on("click", function(e) {
|
|
698
|
+
modals.open($(this).attr('href'));
|
|
699
|
+
e.preventDefault();
|
|
700
|
+
return false;
|
|
701
|
+
});
|
|
702
|
+
});
|
|
703
|
+
$('div.modal .close').on("click", function() {
|
|
704
|
+
return modals.close();
|
|
705
|
+
});
|
|
706
|
+
return $('div.modal .fullscreen').on("click", function() {
|
|
707
|
+
return modals.fullscreen($(this).parent('div.modal'));
|
|
708
|
+
});
|
|
709
|
+
};
|
|
710
|
+
modals = (function() {
|
|
711
|
+
var close, fullscreen, open;
|
|
712
|
+
$('html').addClass('modal-ready');
|
|
713
|
+
if ($("#overlay").length < 1) {
|
|
714
|
+
$('body').append('<div id="overlay"></div>');
|
|
715
|
+
}
|
|
716
|
+
$('#overlay, div.modal .close').bind("click", function(e) {
|
|
717
|
+
return close();
|
|
718
|
+
});
|
|
719
|
+
open = function(elem) {
|
|
720
|
+
$(window).bind("keydown", function(e) {
|
|
721
|
+
var keyCode;
|
|
722
|
+
keyCode = (e.which ? e.which : e.keyCode);
|
|
723
|
+
if (keyCode === 27) {
|
|
724
|
+
return close();
|
|
725
|
+
}
|
|
726
|
+
});
|
|
727
|
+
$(elem).addClass("active");
|
|
728
|
+
if (!$(elem).hasClass('iframe')) {
|
|
729
|
+
$(elem).css({
|
|
730
|
+
width: 'auto',
|
|
731
|
+
height: 'auto'
|
|
732
|
+
});
|
|
733
|
+
$(elem).css({
|
|
734
|
+
height: $(elem).outerHeight()
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
$(elem).css({
|
|
738
|
+
top: '50%',
|
|
739
|
+
left: '50%',
|
|
740
|
+
'margin-top': ($(elem).outerHeight() / -2) + 'px',
|
|
741
|
+
'margin-left': ($(elem).outerWidth() / -2) + 'px'
|
|
742
|
+
});
|
|
743
|
+
setTimeout(function() {
|
|
744
|
+
return $('html').addClass("modal-active");
|
|
745
|
+
}, 0);
|
|
746
|
+
setTimeout(function() {
|
|
747
|
+
return $('html').removeClass('modal-ready');
|
|
748
|
+
}, 400);
|
|
749
|
+
};
|
|
750
|
+
close = function() {
|
|
751
|
+
var modal;
|
|
752
|
+
modal = $('div.modal.active');
|
|
753
|
+
$(window).unbind("keydown");
|
|
754
|
+
$('html').removeClass("modal-active").addClass('modal-ready');
|
|
755
|
+
if (modal.hasClass('iframe')) {
|
|
756
|
+
$('div#iframeModal iframe').replaceWith('<iframe marginheight="0" marginwidth="0" frameborder="0"></iframe>');
|
|
757
|
+
modal.css({
|
|
758
|
+
width: '80%',
|
|
759
|
+
height: '80%'
|
|
760
|
+
});
|
|
761
|
+
} else {
|
|
762
|
+
modal.css({
|
|
763
|
+
width: 'auto',
|
|
764
|
+
height: 'auto'
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
modal.css({
|
|
768
|
+
top: '10%',
|
|
769
|
+
left: '10%',
|
|
770
|
+
'max-width': '80%',
|
|
771
|
+
'max-height': '80%',
|
|
772
|
+
'margin-top': 0,
|
|
773
|
+
'margin-left': 0
|
|
774
|
+
});
|
|
775
|
+
modal.removeClass("active").removeClass("fullscreen");
|
|
776
|
+
$('i.fullscreen', modal).removeClass('icon-resize-small').addClass('icon-resize-full');
|
|
777
|
+
};
|
|
778
|
+
fullscreen = function(elem) {
|
|
779
|
+
if ($('div.modal.active').hasClass('fullscreen')) {
|
|
780
|
+
$('div.modal i.fullscreen').removeClass('icon-resize-small').addClass('icon-resize-full');
|
|
781
|
+
if ($('div.modal.active').hasClass('iframe')) {
|
|
782
|
+
$('div.modal.active').css({
|
|
783
|
+
width: '80%',
|
|
784
|
+
height: '80%'
|
|
785
|
+
});
|
|
786
|
+
} else {
|
|
787
|
+
$('div.modal.active').css({
|
|
788
|
+
width: 'auto',
|
|
789
|
+
height: 'auto'
|
|
790
|
+
});
|
|
791
|
+
$('div.modal.active').css({
|
|
792
|
+
height: $('div.modal.active').outerHeight()
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
$('div.modal.active').removeClass('fullscreen').css({
|
|
796
|
+
'max-width': '80%',
|
|
797
|
+
'max-height': '80%'
|
|
798
|
+
});
|
|
799
|
+
$('div.modal.active').delay(100).css({
|
|
800
|
+
top: '50%',
|
|
801
|
+
left: '50%',
|
|
802
|
+
'margin-top': ($('div.modal.active').outerHeight() / -2) + 'px',
|
|
803
|
+
'margin-left': ($('div.modal.active').outerWidth() / -2) + 'px'
|
|
804
|
+
});
|
|
805
|
+
} else {
|
|
806
|
+
$('div.modal i.fullscreen').addClass('icon-resize-small').removeClass('icon-resize-full');
|
|
807
|
+
$('div.modal.active').addClass('fullscreen').css({
|
|
808
|
+
top: 0,
|
|
809
|
+
left: 0,
|
|
810
|
+
'margin-top': 0,
|
|
811
|
+
'margin-left': 0,
|
|
812
|
+
width: '100%',
|
|
813
|
+
height: '100%',
|
|
814
|
+
'max-width': '100%',
|
|
815
|
+
'max-height': '100%'
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
};
|
|
819
|
+
return {
|
|
820
|
+
open: open,
|
|
821
|
+
close: close,
|
|
822
|
+
fullscreen: fullscreen
|
|
823
|
+
};
|
|
824
|
+
})();
|
|
825
|
+
return $(window).resize(function() {
|
|
826
|
+
return $('div.modal.active').each(function() {
|
|
827
|
+
if (!$(this).hasClass('fullscreen')) {
|
|
828
|
+
$(this).removeClass('active').css({
|
|
829
|
+
top: '50%',
|
|
830
|
+
left: '50%',
|
|
831
|
+
'margin-top': ($(this).outerHeight() / -2) + 'px',
|
|
832
|
+
'margin-left': ($(this).outerWidth() / -2) + 'px'
|
|
833
|
+
}).addClass('active');
|
|
834
|
+
if (!$(this).hasClass('iframe')) {
|
|
835
|
+
$(this).css({
|
|
836
|
+
height: 'auto'
|
|
837
|
+
});
|
|
838
|
+
return $(this).css({
|
|
839
|
+
height: $(this).outerHeight()
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
});
|
|
844
|
+
});
|
|
845
|
+
})(jQuery);
|
|
846
|
+
|
|
847
|
+
}).call(this);
|