gnowledge/gstudio — pull request #86 by AvadootNachankar (2014-01-23 20:13:57+00:00)
Title: Quiz Module Implementation (Including QuizItem part)

* GSystemType Implemented: Quiz
- attribute_type_set: contains embedded documents of AttributeTypes' (start_time & end_time)

- Template(quiz_create_edit.html) provided for creating/editing quiz-category with following features:
1) prior-node lists only quiz-categories
2) collection-set lists only quiz-questions
3) start_time & end_time not implemented yet in the template... (working) !!!
4) While listing questions in collection-set drawers, question-name (randomly generated) is getting displayed along with question itself!

- Template(quiz_list.html) provided for listing/creating/editing both quiz-category as well as quiz-question

* AttributeType Implemented:
1) quiz_type
2) options
3) correct_answer

* GSystemType Implemented: QuizItem
- attribute_type_set: contains embedded documents of AttributeTypes' (quiz_type, options & correct_answer)

- Can be added/edited in two ways:
1) Via "Add Miscellaneous Question" (Only adds to the database as a document)
2) Via "Add Question" -- from the corresponding quiz-category's context
- First, adds to the database as miscellaneous question.
- Then, appends it's ObjectId to the given quiz-category's collection-set.

- Template for displaying quiz-question details implemetation left... (working)!!!
- Editing quiz-item via quiz-category's editing page is not yet implemented... (working) !!!

* Page: Creating & Editing Templates
- Templates reduced from two(page_create.html, page_edit.html) to one(page_create_edit.html). In addition, view (page.py) is also modified accordingly.

* GAPPS order fixed in the menu-bar.