Professor and course linkage can be added or deleted. Changed:
routes: delete "delete_course" route under courses resourcea
courses_controller: added delete_course method
courses_show: in render_partial professors, pass down proper params.
Professor only shown once now. Yayy!!!
remember: habtm push only push once!
Added users and courses habtm relationship. A user can add a course to his profile.
Made some links. Can access different entities now.
majors users habtm relationship works. But when adding courses majors habtm, major create already was designed for users. Don't know how to pass parameters to specity different conditions (callers).
Changed adding user majors to a drop down manu. Also added option for major create action, specify caller
Added course major relationship. Admin can choose which major a course counts to.
Added distribution and course relationship. only have rating left.
Fixed some bugs. Now every button works.
rating and background
working copy. added search bar
added some views. TODO: 1. insert random algorithm in the display of courses. 2. look at how to search in multiple models
started using less with bootstrap. rating still working.
used less for majors, professors and distributions. didn't affect ajax-rating
modified views.
Modified views and controllers for both admin and user.
modified views. transparent background can be achieved by using rgba(), a value 0-1, 0: transparent, 1: solid
fixed well width
added some validation