Commit 8d461f4
committed
Feedback button changes.
This changes the feedback buttons in two ways.
1) Use copies of the bootstrap classes to color buttons. This way the
feedback colors don't get changed by theming on the client side.
The themes can still modify the actual classes used to change
the buttons if desired, but the feedback buttons themselves can be
themed independently of other bootstrap buttons.
2) Create a new feedback class "unknown" to use when showing the
results of a problem with `$showPartialCorrectAnswers=0`. Currently
on problems with limited feedback, it can be unclear to the student
that they actually submitted the answer vs previewed the answer.
This is accomplished by marking the buttons as incorrect if
no answer is correct (0% on the problem), and marking them
as "unknown" which shows a yellow button with a question mark
in a circle if the problem is partially correct.1 parent db76ca5 commit 8d461f4
3 files changed
Lines changed: 104 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
166 | | - | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
184 | 257 | | |
185 | 258 | | |
186 | 259 | | |
| |||
256 | 329 | | |
257 | 330 | | |
258 | 331 | | |
259 | | - | |
| 332 | + | |
260 | 333 | | |
261 | 334 | | |
262 | 335 | | |
| |||
268 | 341 | | |
269 | 342 | | |
270 | 343 | | |
271 | | - | |
| 344 | + | |
272 | 345 | | |
273 | 346 | | |
274 | 347 | | |
275 | 348 | | |
276 | 349 | | |
277 | 350 | | |
278 | | - | |
| 351 | + | |
279 | 352 | | |
280 | 353 | | |
281 | 354 | | |
282 | 355 | | |
283 | | - | |
| 356 | + | |
| 357 | + | |
284 | 358 | | |
285 | | - | |
| 359 | + | |
286 | 360 | | |
287 | 361 | | |
288 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
849 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
850 | 854 | | |
851 | 855 | | |
852 | 856 | | |
| |||
1059 | 1063 | | |
1060 | 1064 | | |
1061 | 1065 | | |
1062 | | - | |
| 1066 | + | |
1063 | 1067 | | |
1064 | 1068 | | |
1065 | 1069 | | |
| |||
1108 | 1112 | | |
1109 | 1113 | | |
1110 | 1114 | | |
1111 | | - | |
| 1115 | + | |
1112 | 1116 | | |
1113 | 1117 | | |
1114 | 1118 | | |
1115 | | - | |
| 1119 | + | |
1116 | 1120 | | |
1117 | 1121 | | |
1118 | 1122 | | |
1119 | | - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1120 | 1137 | | |
1121 | 1138 | | |
1122 | 1139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments