@windward/games 0.0.9 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/components/content/CrudTable.vue +2 -2
  2. package/components/content/blocks/crosswordPuzzle/CrosswordClues.vue +4 -2
  3. package/components/content/blocks/crosswordPuzzle/CrosswordPuzzle.vue +14 -12
  4. package/components/content/blocks/dragDrop/BucketGame.vue +54 -101
  5. package/components/content/blocks/dragDrop/SortingGame.vue +47 -33
  6. package/components/content/blocks/flashcards/CardFace.vue +38 -39
  7. package/components/content/blocks/flashcards/Flashcard.vue +109 -28
  8. package/components/content/blocks/flashcards/FlashcardSlides.vue +3 -2
  9. package/components/content/blocks/matchingGame/MatchingGame.vue +105 -61
  10. package/components/content/blocks/multipleChoice/MultipleChoice.vue +186 -225
  11. package/components/content/blocks/multipleChoice/QuestionDialog.vue +7 -7
  12. package/components/content/blocks/quizshowGame/AnswerPanel.vue +31 -24
  13. package/components/content/blocks/quizshowGame/Gridview.vue +20 -24
  14. package/components/content/blocks/quizshowGame/QuizShow.vue +22 -9
  15. package/components/content/blocks/quizshowGame/feedbackIcons.vue +4 -2
  16. package/components/content/blocks/sevenStrikes/SevenStikes.vue +153 -108
  17. package/components/content/blocks/sevenStrikes/keyboard.vue +9 -2
  18. package/components/content/blocks/slideshow/SlideShow.vue +5 -3
  19. package/components/content/blocks/wordJumble/Jumble.vue +4 -4
  20. package/components/content/blocks/wordJumble/WordJumble.vue +128 -62
  21. package/components/settings/BucketGameSettingsManager.vue +185 -359
  22. package/components/settings/CrosswordPuzzleSettingsManager.vue +114 -181
  23. package/components/settings/FlashCardSlidesManager.vue +323 -419
  24. package/components/settings/MatchingGameManager.vue +357 -618
  25. package/components/settings/MultipleChoiceSettingsManager.vue +130 -140
  26. package/components/settings/QuizShowSettingsManager.vue +17 -17
  27. package/components/settings/SevenStrikesSettingsManager.vue +131 -193
  28. package/components/settings/SlideShowManager.vue +91 -129
  29. package/components/settings/SortingGameSettingsManager.vue +41 -153
  30. package/components/settings/WordJumbleSettingsManager.vue +84 -150
  31. package/i18n/en-US/components/content/blocks/bucket_game.ts +1 -0
  32. package/i18n/en-US/components/content/blocks/flashcard.ts +3 -0
  33. package/i18n/en-US/components/content/blocks/word_jumble.ts +2 -0
  34. package/i18n/en-US/components/settings/bucket_game.ts +3 -2
  35. package/i18n/en-US/components/settings/flashcard.ts +1 -0
  36. package/i18n/en-US/components/settings/matching_game.ts +1 -1
  37. package/i18n/en-US/components/settings/quizshow_game.ts +1 -1
  38. package/i18n/en-US/components/settings/seven_strikes.ts +1 -1
  39. package/i18n/en-US/components/settings/slideshow.ts +2 -0
  40. package/i18n/en-US/index.ts +2 -1
  41. package/i18n/es-ES/components/content/blocks/bucket_game.ts +40 -0
  42. package/i18n/es-ES/components/content/blocks/crossword.ts +25 -0
  43. package/i18n/es-ES/components/content/blocks/flashcard.ts +8 -0
  44. package/i18n/es-ES/components/content/blocks/index.ts +23 -0
  45. package/i18n/es-ES/components/content/blocks/matching_game.ts +26 -0
  46. package/i18n/es-ES/components/content/blocks/multiple_choice.ts +9 -0
  47. package/i18n/es-ES/components/content/blocks/quizshow_game.ts +35 -0
  48. package/i18n/es-ES/components/content/blocks/seven_strikes.ts +6 -0
  49. package/i18n/es-ES/components/content/blocks/slideshow.ts +13 -0
  50. package/i18n/es-ES/components/content/blocks/sorting_game.ts +5 -0
  51. package/i18n/es-ES/components/content/blocks/word_jumble.ts +11 -0
  52. package/i18n/es-ES/components/content/crud_table.ts +6 -0
  53. package/i18n/es-ES/components/content/index.ts +7 -0
  54. package/i18n/es-ES/components/index.ts +9 -0
  55. package/i18n/es-ES/components/navigation/index.ts +5 -0
  56. package/i18n/es-ES/components/settings/bucket_game.ts +39 -0
  57. package/i18n/es-ES/components/settings/crossword.ts +7 -0
  58. package/i18n/es-ES/components/settings/flashcard.ts +29 -0
  59. package/i18n/es-ES/components/settings/index.ts +23 -0
  60. package/i18n/es-ES/components/settings/matching_game.ts +15 -0
  61. package/i18n/es-ES/components/settings/multiple_choice.ts +17 -0
  62. package/i18n/es-ES/components/settings/quizshow_game.ts +20 -0
  63. package/i18n/es-ES/components/settings/seven_strikes.ts +8 -0
  64. package/i18n/es-ES/components/settings/slideshow.ts +13 -0
  65. package/i18n/es-ES/components/settings/sorting_game.ts +5 -0
  66. package/i18n/es-ES/components/settings/word_jumble.ts +11 -0
  67. package/i18n/es-ES/index.ts +16 -0
  68. package/i18n/es-ES/modules/index.ts +5 -0
  69. package/i18n/es-ES/pages/index.ts +5 -0
  70. package/i18n/es-ES/shared/content_blocks.ts +18 -0
  71. package/i18n/es-ES/shared/index.ts +7 -0
  72. package/i18n/es-ES/shared/settings.ts +14 -0
  73. package/i18n/index.ts +11 -0
  74. package/i18n/sv-SE/components/content/blocks/bucket_game.ts +40 -0
  75. package/i18n/sv-SE/components/content/blocks/crossword.ts +20 -0
  76. package/i18n/sv-SE/components/content/blocks/flashcard.ts +8 -0
  77. package/i18n/sv-SE/components/content/blocks/index.ts +23 -0
  78. package/i18n/sv-SE/components/content/blocks/matching_game.ts +25 -0
  79. package/i18n/sv-SE/components/content/blocks/multiple_choice.ts +9 -0
  80. package/i18n/sv-SE/components/content/blocks/quizshow_game.ts +35 -0
  81. package/i18n/sv-SE/components/content/blocks/seven_strikes.ts +6 -0
  82. package/i18n/sv-SE/components/content/blocks/slideshow.ts +13 -0
  83. package/i18n/sv-SE/components/content/blocks/sorting_game.ts +5 -0
  84. package/i18n/sv-SE/components/content/blocks/word_jumble.ts +11 -0
  85. package/i18n/sv-SE/components/content/crud_table.ts +6 -0
  86. package/i18n/sv-SE/components/content/index.ts +7 -0
  87. package/i18n/sv-SE/components/index.ts +9 -0
  88. package/i18n/sv-SE/components/navigation/index.ts +5 -0
  89. package/i18n/sv-SE/components/settings/bucket_game.ts +38 -0
  90. package/i18n/sv-SE/components/settings/crossword.ts +7 -0
  91. package/i18n/sv-SE/components/settings/flashcard.ts +29 -0
  92. package/i18n/sv-SE/components/settings/index.ts +23 -0
  93. package/i18n/sv-SE/components/settings/matching_game.ts +15 -0
  94. package/i18n/sv-SE/components/settings/multiple_choice.ts +16 -0
  95. package/i18n/sv-SE/components/settings/quizshow_game.ts +20 -0
  96. package/i18n/sv-SE/components/settings/seven_strikes.ts +8 -0
  97. package/i18n/sv-SE/components/settings/slideshow.ts +13 -0
  98. package/i18n/sv-SE/components/settings/sorting_game.ts +5 -0
  99. package/i18n/sv-SE/components/settings/word_jumble.ts +11 -0
  100. package/i18n/sv-SE/index.ts +16 -0
  101. package/i18n/sv-SE/modules/index.ts +5 -0
  102. package/i18n/sv-SE/pages/index.ts +5 -0
  103. package/i18n/sv-SE/shared/content_blocks.ts +18 -0
  104. package/i18n/sv-SE/shared/index.ts +7 -0
  105. package/i18n/sv-SE/shared/settings.ts +14 -0
  106. package/package.json +1 -1
  107. package/plugin.js +33 -34
  108. package/test/Feature/LocaleKeys.spec.js +11 -0
  109. package/test/__mocks__/componentsMock.js +12 -0
  110. package/test/__mocks__/fileMock.js +1 -0
  111. package/test/__mocks__/modelMock.js +88 -0
  112. package/test/__mocks__/styleMock.js +1 -0
  113. package/test/blocks/crossword/CrosswordPuzzle.spec.js +1 -1
  114. package/test/blocks/dragDrop/BucketGame.spec.js +1 -1
  115. package/test/blocks/dragDrop/SortingGame.spec.js +1 -1
  116. package/test/blocks/flashcards/CardFace.spec.js +1 -1
  117. package/test/blocks/flashcards/FlashCardSlides.spec.js +1 -1
  118. package/test/blocks/flashcards/Flashcard.spec.js +1 -1
  119. package/test/blocks/matchingGame/MatchingGame.spec.js +1 -1
  120. package/test/blocks/multipleChoice/MultipleChoice.spec.js +1 -1
  121. package/test/blocks/multipleChoice/QuestionDialog.spec.js +1 -1
  122. package/test/blocks/quizShow/quizShow.spec.js +1 -1
  123. package/test/blocks/sevenStrikes/sevenStrikes.spec.js +1 -1
  124. package/test/blocks/slideshow/slideshow.spec.js +1 -1
  125. package/test/blocks/wordJumble/Jumble.spec.js +1 -1
  126. package/test/blocks/wordJumble/WordJumble.spec.js +1 -1
  127. package/test/mocks.js +8 -2
  128. package/test/settings/BucketGameManager.spec.js +4 -4
  129. package/test/settings/CrosswordPuzzleManager.spec.js +6 -11
  130. package/test/settings/FlashCardSlidesManager.spec.js +1 -1
  131. package/test/settings/MatchingGameManager.spec.js +1 -1
  132. package/test/settings/MultipleChoiceGameManager.spec.js +1 -1
  133. package/test/settings/SevenStrikesManager.spec.js +1 -1
  134. package/test/settings/SlideShowManager.spec.js +1 -1
  135. package/test/settings/SortingGameManager.spec.js +1 -1
  136. package/test/settings/WordJumbleManager.spec.js +1 -4
  137. package/i18n/en-US.ts +0 -5
@@ -3,215 +3,181 @@
3
3
  <v-row>
4
4
  <v-col>
5
5
  <h3>{{ block.metadata.config.title }}</h3>
6
- <p>{{ block.metadata.config.instructions }}</p>
6
+ <p class="mb-0">{{ block.metadata.config.instructions }}</p>
7
7
  </v-col>
8
8
  </v-row>
9
- <v-row>
10
- <v-col class="pa-0">
11
- <v-carousel height="600">
12
- <v-container>
13
- <v-carousel-item
14
- v-for="question in block.metadata.config.questions"
15
- :key="question.id"
16
- >
17
- <v-col class="d-flex justify-center">
18
- <p class="questionBody">{{ question.body }}</p>
19
- </v-col>
20
- <v-container :key="updateKey">
21
- <v-row
22
- v-for="answer in question.answer_options"
23
- :key="answer.id"
24
- class="mb-2"
25
- >
26
- <v-col
27
- cols="12"
28
- md="2"
29
- class="d-flex justify-end"
30
- >
9
+ <v-carousel height="600">
10
+ <v-carousel-item
11
+ v-for="question in block.metadata.config.questions"
12
+ :key="question.id"
13
+ >
14
+ <v-col class="d-flex justify-center">
15
+ <p>{{ question.body }}</p>
16
+ </v-col>
17
+ <v-container :key="updateKey">
18
+ <v-row
19
+ v-for="answer in question.answer_options"
20
+ :key="answer.id"
21
+ class="mb-2"
22
+ >
23
+ <v-col cols="12" md="1" class="d-flex justify-end">
24
+ <v-icon
25
+ :class="handleIconClass(question, answer)"
26
+ >{{ handleIcon(question, answer) }}</v-icon
27
+ >
28
+ </v-col>
29
+ <v-col cols="12" md="10" class="pa-0">
30
+ <v-card
31
+ class="container-answer-option pa-2"
32
+ :disabled="answer.disabled"
33
+ :class="onIsThisCorrect(answer, question)"
34
+ outlined
35
+ tile
36
+ @click="onChooseAnswer(answer, question)"
37
+ >
38
+ <div class="d-flex justify-space-between">
39
+ <p class="mb-0">
40
+ {{
41
+ getCharacter(question, answer) +
42
+ '. ' +
43
+ answer.value
44
+ }}
45
+ </p>
46
+ <div>
31
47
  <v-icon
32
48
  :class="
33
- handleIconClass(
49
+ handleInformationClass(
34
50
  question,
35
51
  answer
36
52
  )
37
53
  "
38
- >{{
39
- handleIcon(question, answer)
40
- }}</v-icon
41
- >
42
- </v-col>
43
- <v-col cols="12" md="8" class="pa-0">
44
- <v-card
45
- class="optionOutline pa-2"
46
- :disabled="answer.disabled"
47
- :class="
48
- onIsThisCorrect(
49
- answer,
50
- question
51
- )
52
- "
53
- outlined
54
- tile
55
54
  @click="
56
- onChooseAnswer(answer, question)
55
+ onAnswerDescription(question)
57
56
  "
58
- >
59
- <div
60
- class="d-flex justify-space-between"
61
- >
62
- <p class="mb-0">
63
- {{
64
- getCharacter(
65
- question,
66
- answer
67
- ) +
68
- ': ' +
69
- answer.value
70
- }}
71
- </p>
72
- <div>
73
- <v-icon
74
- :class="
75
- handleInformationClass(
76
- question,
77
- answer
78
- )
79
- "
80
- @click="
81
- onAnswerDescription(
82
- question
83
- )
84
- "
85
- >{{
86
- handleInformationOutline(
87
- question,
88
- answer
89
- )
90
- }}</v-icon
91
- >
92
- </div>
93
- </div>
94
- </v-card>
95
- </v-col>
96
- <v-col cols="12" md="2"></v-col>
97
- </v-row>
98
- </v-container>
99
- <v-col cols="12" md="12">
100
- <v-row class="d-flex justify-center">
101
- <v-btn
102
- color="primary"
103
- outlined
104
- class="mr-4 hintButton"
105
- @click="onHint(question)"
106
- >{{
107
- $t(
108
- 'plugin.games.components.content.blocks.multiple_choice.hint'
109
- )
110
- }}</v-btn
111
- >
112
- <v-btn
113
- color="primary fiftyButton"
114
- outlined
115
- :disabled="
116
- question.answer_options.length !==
117
- 4 || question.fiftyFifty
118
- "
119
- class="ml-4 fiftyButton"
120
- @click="onFifty(question)"
121
- >{{
122
- $t(
123
- 'plugin.games.components.content.blocks.multiple_choice.fifty'
124
- )
125
- }}</v-btn
126
- >
127
- </v-row>
128
- </v-col>
129
- <v-layout class="mt-2">
130
- <v-flex xs4></v-flex>
131
- <v-flex xs4>
132
- <v-col align="center" tabindex="0">
133
- {{
134
- $t(
135
- 'plugin.games.components.content.blocks.matching_game.of_complete_text_area',
136
- [
137
- completedAmount,
138
- totalAmountQuestions,
139
- ]
140
- )
141
- }}
142
- <v-progress-linear
143
- color="success"
144
- outlined
145
- v-model="completedPercent"
146
- rounded
147
- height="15"
148
- ></v-progress-linear>
149
- </v-col>
150
- </v-flex>
151
- <v-flex xs4></v-flex>
152
- </v-layout>
153
- <v-layout class="mt-2" v-if="mountCourseCounter">
154
- <v-flex xs8></v-flex>
155
- <v-flex xs4>
156
- <v-col>
157
- <p>
158
- {{
159
- $t(
160
- 'plugin.games.components.content.blocks.multiple_choice.total_points'
161
- )
162
- }}
163
- </p>
164
- <p>
165
- {{ studentAmountCorrect }}
166
- {{
167
- $t(
168
- 'plugin.games.components.content.blocks.multiple_choice.out_of'
57
+ >{{
58
+ handleInformationOutline(
59
+ question,
60
+ answer
169
61
  )
170
- }}
171
- {{ totalQuestionsMultipleChoice }}
172
- </p>
173
- </v-col>
174
- </v-flex>
175
- </v-layout>
176
- </v-carousel-item>
177
- <Dialog
178
- v-model="dialog"
179
- :trigger="false"
180
- @click:outside="close"
181
- @click:close="close"
182
- @keydown.esc="close"
183
- >
184
- <template #title>
185
- <div v-if="hint">
186
- {{
187
- $t(
188
- 'plugin.games.components.content.blocks.multiple_choice.hint_title'
189
- )
190
- }}
191
- </div>
192
- <div v-if="answerDescriptionModal">
193
- {{
194
- $t(
195
- 'plugin.games.components.content.blocks.multiple_choice.answer_feedback'
196
- )
197
- }}
198
- </div>
199
- </template>
200
- <template #form="{ on, attrs }">
201
- <div v-bind="attrs" v-on="on">
202
- <div v-if="hint">
203
- {{ hintText }}
204
- </div>
205
- <div v-if="answerDescriptionModal">
206
- {{ answerDescription }}
62
+ }}</v-icon
63
+ >
207
64
  </div>
208
65
  </div>
209
- </template>
210
- </Dialog>
211
- </v-container>
212
- </v-carousel>
213
- </v-col>
214
- </v-row>
66
+ </v-card>
67
+ </v-col>
68
+ <v-col cols="12" md="1"></v-col>
69
+ </v-row>
70
+ </v-container>
71
+ <v-col cols="12" md="12">
72
+ <v-row class="d-flex justify-center">
73
+ <v-btn
74
+ color="primary"
75
+ outlined
76
+ class="mr-4 btn-hint"
77
+ @click="onHint(question)"
78
+ >{{
79
+ $t(
80
+ 'windward.games.components.content.blocks.multiple_choice.hint'
81
+ )
82
+ }}</v-btn
83
+ >
84
+ <v-btn
85
+ color="primary"
86
+ outlined
87
+ :disabled="
88
+ question.answer_options.length !== 4 ||
89
+ question.fiftyFifty
90
+ "
91
+ class="ml-4 btn-fifty"
92
+ @click="onFifty(question)"
93
+ >{{
94
+ $t(
95
+ 'windward.games.components.content.blocks.multiple_choice.fifty'
96
+ )
97
+ }}</v-btn
98
+ >
99
+ </v-row>
100
+ </v-col>
101
+ <v-layout class="mt-2">
102
+ <v-flex xs4></v-flex>
103
+ <v-flex xs4>
104
+ <v-col align="center" tabindex="0">
105
+ {{
106
+ $t(
107
+ 'windward.games.components.content.blocks.matching_game.of_complete_text_area',
108
+ [completedAmount, totalAmountQuestions]
109
+ )
110
+ }}
111
+ <v-progress-linear
112
+ color="success"
113
+ outlined
114
+ v-model="completedPercent"
115
+ rounded
116
+ height="15"
117
+ ></v-progress-linear>
118
+ </v-col>
119
+ </v-flex>
120
+ <v-flex xs4></v-flex>
121
+ </v-layout>
122
+ <v-layout class="mt-2" v-if="mountCourseCounter">
123
+ <v-flex xs8></v-flex>
124
+ <v-flex xs4>
125
+ <v-col>
126
+ <p>
127
+ {{
128
+ $t(
129
+ 'windward.games.components.content.blocks.multiple_choice.total_points'
130
+ )
131
+ }}
132
+ </p>
133
+ <p>
134
+ {{ studentAmountCorrect }}
135
+ {{
136
+ $t(
137
+ 'windward.games.components.content.blocks.multiple_choice.out_of'
138
+ )
139
+ }}
140
+ {{ totalQuestionsMultipleChoice }}
141
+ </p>
142
+ </v-col>
143
+ </v-flex>
144
+ </v-layout>
145
+ </v-carousel-item>
146
+ <Dialog
147
+ v-model="dialog"
148
+ :trigger="false"
149
+ @click:outside="close"
150
+ @click:close="close"
151
+ @keydown.esc="close"
152
+ >
153
+ <template #title>
154
+ <div v-if="hint">
155
+ {{
156
+ $t(
157
+ 'windward.games.components.content.blocks.multiple_choice.hint_title'
158
+ )
159
+ }}
160
+ </div>
161
+ <div v-if="answerDescriptionModal">
162
+ {{
163
+ $t(
164
+ 'windward.games.components.content.blocks.multiple_choice.answer_feedback'
165
+ )
166
+ }}
167
+ </div>
168
+ </template>
169
+ <template #form="{ on, attrs }">
170
+ <div v-bind="attrs" v-on="on">
171
+ <div v-if="hint">
172
+ {{ hintText }}
173
+ </div>
174
+ <div v-if="answerDescriptionModal">
175
+ {{ answerDescription }}
176
+ </div>
177
+ </div>
178
+ </template>
179
+ </Dialog>
180
+ </v-carousel>
215
181
  </v-container>
216
182
  </template>
217
183
  <script>
@@ -239,7 +205,9 @@ export default {
239
205
  this.block.metadata.config = {}
240
206
  }
241
207
  if (_.isEmpty(this.block.metadata.config.title)) {
242
- this.block.metadata.config.title = ''
208
+ this.block.metadata.config.title = this.$t(
209
+ 'windward.games.components.content.blocks.multiple_choice.game_title'
210
+ )
243
211
  }
244
212
  if (_.isEmpty(this.block.metadata.config.instructions)) {
245
213
  this.block.metadata.config.instructions = ''
@@ -398,7 +366,7 @@ export default {
398
366
  true
399
367
  ) {
400
368
  if (answer.correctAnswer === true) {
401
- return 'studentAnswerCorrect'
369
+ return 'container-student-correct'
402
370
  } else {
403
371
  return ''
404
372
  }
@@ -411,14 +379,14 @@ export default {
411
379
  studentsQuestionResponse.student_response
412
380
  .correctAnswer !== true
413
381
  ) {
414
- return 'incorrectBorder'
382
+ return 'container-incorrect-border'
415
383
  }
416
384
  } else if (
417
385
  studentsQuestionResponse.student_response.correctAnswer !==
418
386
  true
419
387
  ) {
420
388
  if (answer.correctAnswer === true) {
421
- return 'correctBorder'
389
+ return 'container-correct-border'
422
390
  }
423
391
  }
424
392
  }
@@ -465,15 +433,15 @@ export default {
465
433
  answer.correctAnswer === true &&
466
434
  studentsQuestionResponse.student_response.chosen === true
467
435
  ) {
468
- return 'isCorrect'
436
+ return 'icon-main-correct'
469
437
  }
470
438
  //requirements for correct and unchosen
471
439
  if (answer.correctAnswer === true && answer.chosen === false) {
472
- return 'isCorrect'
440
+ return 'icon-main-correct'
473
441
  }
474
442
  // requirements for wrong and chosen
475
443
  if (answer.correctAnswer !== true && answer.chosen === true) {
476
- return 'isIncorrect'
444
+ return 'icon-main-incorrect'
477
445
  }
478
446
  }
479
447
  },
@@ -506,12 +474,12 @@ export default {
506
474
  )
507
475
  if (studentsQuestionResponse) {
508
476
  if (answer.correctAnswer === true && answer.chosen === true) {
509
- return 'informationCorrect'
477
+ return 'icon-information-correct'
510
478
  } else if (
511
479
  answer.correctAnswer === true &&
512
480
  answer.chosen === false
513
481
  ) {
514
- return 'isCorrect'
482
+ return 'icon-main-correct'
515
483
  }
516
484
  }
517
485
  },
@@ -581,44 +549,37 @@ export default {
581
549
  }
582
550
  </script>
583
551
  <style scoped>
584
- .questionBody {
585
- font-size: 18px;
552
+ .container-answer-option {
553
+ border: 1px solid var(--v-primary-base);
554
+ border-radius: 4px !important;
586
555
  }
587
- .optionOutline {
588
- border: 2px solid var(--v-primary-base);
589
- border-radius: 3px;
556
+ .container-correct-border {
557
+ border: 1px solid var(--v-success-base);
590
558
  }
591
- .correctBorder {
592
- border: 3px solid var(--v-success-base);
593
- }
594
- .incorrectBorder {
559
+ .container-incorrect-border {
595
560
  background-color: var(--v-error-base);
596
- border: 2px solid var(--v-error-base);
561
+ border: 1px solid var(--v-error-base);
597
562
  color: white;
598
563
  }
599
- .studentAnswerCorrect {
564
+ .container-student-correct {
600
565
  background-color: var(--v-success-base);
601
566
  color: white;
602
567
  }
603
- .isCorrect {
568
+ .icon-main-correct {
604
569
  color: var(--v-success-base);
605
570
  }
606
- .isIncorrect {
571
+ .icon-main-incorrect {
607
572
  color: var(--v-error-base);
608
573
  }
609
- .informationCorrect {
574
+ .icon-information-correct {
610
575
  color: white;
611
576
  }
612
- .iconStudentCorrect {
613
- color: var(--v-success-base);
614
- border-radius: 25px;
615
- }
616
577
  /* need important below to override vuetify preset width for buttons */
617
- .hintButton {
578
+ .btn-hint {
618
579
  min-width: 20% !important;
619
580
  margin-right: 16px;
620
581
  }
621
- .fiftyButton {
582
+ .btn-fifty {
622
583
  min-width: 20% !important;
623
584
  margin-right: 16px;
624
585
  }
@@ -6,7 +6,7 @@
6
6
  v-model="question.body"
7
7
  :label="
8
8
  $t(
9
- 'plugin.games.components.settings.multiple_choice.question'
9
+ 'windward.games.components.settings.multiple_choice.question'
10
10
  )
11
11
  "
12
12
  :autofocus="true"
@@ -18,7 +18,7 @@
18
18
  v-model="question.hint"
19
19
  :label="
20
20
  $t(
21
- 'plugin.games.components.settings.multiple_choice.question_hint'
21
+ 'windward.games.components.settings.multiple_choice.question_hint'
22
22
  )
23
23
  "
24
24
  rows="2"
@@ -29,7 +29,7 @@
29
29
  v-model="question.answer_description"
30
30
  :label="
31
31
  $t(
32
- 'plugin.games.components.settings.multiple_choice.answer_feedback'
32
+ 'windward.games.components.settings.multiple_choice.answer_feedback'
33
33
  )
34
34
  "
35
35
  rows="2"
@@ -40,14 +40,14 @@
40
40
  <h4 class="pb-2">
41
41
  {{
42
42
  $t(
43
- 'plugin.games.components.settings.multiple_choice.answer_options'
43
+ 'windward.games.components.settings.multiple_choice.answer_options'
44
44
  )
45
45
  }}
46
46
  </h4>
47
47
  <p>
48
48
  {{
49
49
  $t(
50
- 'plugin.games.components.settings.multiple_choice.correct_answer'
50
+ 'windward.games.components.settings.multiple_choice.correct_answer'
51
51
  )
52
52
  }}
53
53
  </p>
@@ -84,7 +84,7 @@
84
84
  :class="getCorrectAnswer(answer)"
85
85
  :label="
86
86
  $t(
87
- 'plugin.games.components.settings.multiple_choice.answer_option'
87
+ 'windward.games.components.settings.multiple_choice.answer_option'
88
88
  )
89
89
  "
90
90
  rows="2"
@@ -116,7 +116,7 @@
116
116
  <v-icon class="primary addIcon">mdi-plus</v-icon>
117
117
  {{
118
118
  $t(
119
- 'plugin.games.components.settings.multiple_choice.add_answer'
119
+ 'windward.games.components.settings.multiple_choice.add_answer'
120
120
  )
121
121
  }}
122
122
  </p>