-
Notifications
You must be signed in to change notification settings - Fork 32
Sample answers for keyword auto-grading #440
Conversation
General questions now have a field for teachers to input a sample answer. This field is shown together with keyword options and is input with them as well. Also improved presentation of empty keyword options.
@@ -895,6 +895,18 @@ $grayMediumLight: #eaeaea; | |||
/*float: right;*/ | |||
} | |||
|
|||
.rounded-box { | |||
position: relative; | |||
padding: 10px 10px 10px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shorthand form for property padding
should be written more concisely as 10px
instead of 10px 10px 10px
371d7e1
to
3fe5d10
Compare
position: relative; | ||
|
||
h4 { | ||
color: #666; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Color literals like #666
should only be used in variable declarations; they should be referred to via variable everywhere else.
3fe5d10
to
76d091d
Compare
$popoverProxy.popover('hide'); | ||
$('[data-association="auto_grading_keyword_option"]').click(); | ||
|
||
var $keywordField = $('#auto-grading-keyword > :nth-last-child(2) input[id$="keyword"]'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long.
76d091d
to
4fd7d88
Compare
@@ -895,6 +896,15 @@ $grayMediumLight: #eaeaea; | |||
/*float: right;*/ | |||
} | |||
|
|||
.rounded-box { | |||
border: 1px solid $sampleAnswerBorder; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name of variable sampleAnswerBorder
should be written in all lowercase letters with hyphens instead of underscores
Existing keywords are highlighted in the keyword display when switching to it and when adding a new keyword.
4fd7d88
to
420e57c
Compare
Sample answers for keyword auto-grading
@dariusf Thanks ! BTW, you should push changes to your own repo :) |
Thanks, I will next time. |
Allows teachers to input sample answers when creating general questions. These will be shown on grading, and can also be used as an alternative way to input keywords.