diff --git a/README.md b/README.md index 0cb691a..fad64ec 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ The goal of this XBlock is two-fold: Instructors have a good amount of control over the contents of the block: -![Screenshot of the FeedbackXBlock](FeedbackXBlock.png) +![Screenshot of the FeedbackXBlock -- good to bad scale](happy_sad_example.png) +![Screenshot of the FeedbackXBlock -- scale where good is in the middle](happy_sad_happy_example.png) +![Screenshot of the FeedbackXBlock -- numerical scale](numerical_example.png) This can be placed anywhere in the courseware, and students can provide feedback on those sections. With just a few database queries, diff --git a/feedback/feedback.py b/feedback/feedback.py index cd11a45..f0c2892 100644 --- a/feedback/feedback.py +++ b/feedback/feedback.py @@ -28,9 +28,10 @@ DEFAULT_ICON = "face" DEFAULT_SCALETEXT = ["Excellent", "Good", "Average", "Fair", "Poor"] -ICON_SETS = {'face': u"😁😊😐😞😭", +# Unicode alt faces are cute, but we do nulls instead for a11y. +ICON_SETS = {'face': [""]*5, # u"😁😊😐😞😭", 'num': u"12345", - 'midface': u"😞😐😊😐😞"} + 'midface': [""]*5} #u"😞😐😊😐😞"} @XBlock.needs('i18n') diff --git a/feedback/static/html/feedback.html b/feedback/static/html/feedback.html index 8f55ba7..7048c45 100644 --- a/feedback/static/html/feedback.html +++ b/feedback/static/html/feedback.html @@ -9,7 +9,7 @@
- +
{response}
diff --git a/feedback/static/html/scale_item.html b/feedback/static/html/scale_item.html index 15bc4ee..187b2a5 100644 --- a/feedback/static/html/scale_item.html +++ b/feedback/static/html/scale_item.html @@ -1,6 +1,6 @@