|
67 | 67 | </Screen> |
68 | 68 |
|
69 | 69 | <InstructionScreen :title="'Instructions'" :button-text="'Continue'"> |
70 | | - <p></p> |
71 | | - <p>In this study, you will read short texts and answer questions about them. However, unlike in normal reading, the texts will be blurred. In order to bring the text into focus move your mouse over it. Take as much time to read the text as you need in order to understand it. When you are done reading, answer the question at the bottom and click “next” to move on.</p> |
72 | | - <p>Let’s get started!</p> |
| 70 | + <div style="width: 80%; margin: auto;"> |
| 71 | + <p></p> |
| 72 | + <p>In this study, you will read short texts and answer questions about them. However, unlike in normal reading, the texts will be blurred. In order to bring the text into focus move your mouse over it. Take as much time to read the text as you need in order to understand it. When you are done reading, answer the question at the bottom and click “next” to move on.</p> |
| 73 | + <p>Let’s get started!</p> |
| 74 | + </div> |
73 | 75 | </InstructionScreen> |
74 | 76 |
|
75 | 77 | <template v-for="(trial, i) of trials"> |
|
95 | 97 | </div> |
96 | 98 | </template> |
97 | 99 |
|
98 | | - <button v-if="showFirstDiv" style= "bottom:65%; transform: translate(-50%, -50%)" @click="toggleDivs" :disabled="!isCursorMoving"> |
| 100 | + <button v-if="showFirstDiv" style= "bottom:60%; transform: translate(-50%, -50%)" @click="toggleDivs" :disabled="!isCursorMoving"> |
99 | 101 | Done |
100 | 102 | </button> |
101 | 103 |
|
|
105 | 107 | <!-- comprehension questions and the response options --> |
106 | 108 | <div>{{ trial.question.replace(/ ?["]+/g, '') }}</div> |
107 | 109 | <template v-for='(word, index) of trial.response_options'> |
108 | | - <label style="cursor:pointer; user-select:none; border:1px solid #ccc; border-radius:8px; padding:14px 22px; display:inline-flex; align-items:center;"> |
| 110 | + <label style="cursor:pointer; user-select:none; border:1px solid #ccc; border-radius:8px; padding:14px 22px; display:inline-flex; align-items:center;margin-right:12px;"> |
109 | 111 | <input type="radio" :value="word" name="opt" v-model="$magpie.measurements.response" style="display:none;"> |
110 | 112 | <span style="display:block;">{{ word }}</span> |
111 | 113 | </label> |
|
140 | 142 | <button style= "bottom: 5%; transform: translate(-50%, -50%)" @click="$magpie.saveAndNextScreen();">Next</button> |
141 | 143 | </Screen> |
142 | 144 |
|
143 | | - <TextareaScreen |
144 | | - question="What unusual happened during the experiment?" |
145 | | - /> |
| 145 | + <Screen> |
| 146 | + |
| 147 | + <Slide> |
| 148 | + <p>"What unusual happened during the experiment?"</p> |
| 149 | + <TextareaInput |
| 150 | + :response.sync= "$magpie.measurements.issue" |
| 151 | + /> |
| 152 | + <button @click="$magpie.saveAndNextScreen();">Submit</button> |
| 153 | + </Slide> |
| 154 | + |
| 155 | + </Screen> |
146 | 156 |
|
147 | 157 | <SubmitResultsScreen /> |
148 | 158 | </Experiment> |
@@ -186,7 +196,7 @@ function interleaveWithFillers(items, fillers) { |
186 | 196 | export default { |
187 | 197 | name: 'App', |
188 | 198 | data() { |
189 | | - const trials = _.concat(practice, test); |
| 199 | + const trials = _.concat(practice[1], test); |
190 | 200 | const order = ["Yes", "No"]; |
191 | 201 |
|
192 | 202 | const updatedTrials = trials.map(trial => ({ |
@@ -362,8 +372,8 @@ export default { |
362 | 372 | cursor: pointer; |
363 | 373 | padding-top: 2%; |
364 | 374 | padding-bottom: 2%; |
365 | | - padding-left: 2%; |
366 | | - padding-right: 2%; |
| 375 | + padding-left: 0; |
| 376 | + padding-right: 0; |
367 | 377 | } |
368 | 378 | button { |
369 | 379 | position: absolute; |
@@ -418,8 +428,8 @@ export default { |
418 | 428 | font-weight: 450; |
419 | 429 | padding-top: 2%; |
420 | 430 | padding-bottom: 2%; |
421 | | - padding-left: 2%; |
422 | | - padding-right: 2%; |
| 431 | + padding-left: 0; |
| 432 | + padding-right: 0; |
423 | 433 | } |
424 | 434 | * { |
425 | 435 | user-select: none; /* Standard syntax */ |
|
0 commit comments