Skip to content

Commit

Permalink
Implement Event Ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
shlok007 committed Sep 23, 2016
1 parent c48c8af commit 2799ad2
Show file tree
Hide file tree
Showing 26 changed files with 979 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gem 'responders', '~> 2.0'

# as the database for Active Record
gem 'mysql2'

gem 'ratyrate'
# for observing records
gem 'rails-observers'

Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ GEM
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (10.5.0)
ratyrate (1.2.2.alpha)
rb-fsevent (0.9.4)
rb-inotify (0.9.4)
ffi (>= 0.5.0)
Expand Down Expand Up @@ -613,6 +614,7 @@ DEPENDENCIES
rails-i18n (~> 4.0.0)
rails-observers
rails_12factor
ratyrate
rdoc-generator-fivefish
redcarpet
responders (~> 2.0)
Expand All @@ -637,4 +639,4 @@ DEPENDENCIES
whenever

BUNDLED WITH
1.12.5
1.13.0
Binary file added app/assets/images/big-star.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cancel-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/cancel-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/mid-star.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/star-half.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/star-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/star-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
//= require osem-commercials
//= require unobtrusive_flash
//= require unobtrusive_flash_bootstrap
//= require jquery.raty
//= require ratyrate

$(document).ready(function() {
$('a[disabled=disabled]').click(function(event){
Expand Down
Loading

0 comments on commit 2799ad2

Please sign in to comment.