alexf4 / PrepIt

0 stars 0 forks source link

As an Instructor I can manage and create multiple classes #247

Open alexf4 opened 8 years ago

alexf4 commented 8 years ago

We need to implement the follow ui - http://wrapbootstrap.com/preview/WB0R5L90S

Creating a class: Here a teacher can create a new class that is shown as a new tab, replacing the contacts/companies tabs. Teachers should be able to add Title and description. Just show the description in the tab.

Adding students: An add student button should be added to the top right of the "clients" element. To add a student we should be taken to a page the that shows all the students that have registered to the student. This can be found by looking at the DB. Look for the teacher token on the current user(the teacher) then query for students that have that token set for their class.

Removing students: Allow an button to remove a student. Make sure to have a confirm dialog pop up.

Viewing students information: On the right just have the students name show up and we can work on that next.

Backend work: Add to the teachers object a classes object that holds a list of classes. When a student is added to the class, the students user id is added to the classes object.