Changeset 35448
- Timestamp:
- 2021-09-21T16:35:54+12:00 (3 years ago)
- Location:
- main/trunk/model-interfaces-dev/atea
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/App.vue
r35446 r35448 18 18 and they can be downloaded in multiple formats. 19 19 <br /> 20 The actual transcriptions are produced with gratitude by using <a href="https://koreromaori.io">koreromaori.io 's</a>service.20 The actual transcriptions are produced with gratitude by using <a href="https://koreromaori.io">koreromaori.io</a>'s service. 21 21 </div> 22 22 </div> -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItemEditor.vue
r35446 r35448 13 13 <li v-for="(word, index) in words" :key="word.id" class="word-container"> 14 14 <input :size="word.word.length <= 1 ? 1 : word.word.length - 1" :ref="word.id" 15 class="editor-word" v-model="word.word" type="text" onpaste="return false;" 16 @input="onEditorInput($event, index)" @focusout="onEditorFocusOut(index)" @keyup="onEditorKeyUp($event, index)" />15 class="editor-word" v-model="word.word" type="text" onpaste="return false;" :class="{ 'word-highlight-applied': word.shouldHighlight }" 16 @input="onEditorInput($event, index)" @focusout="onEditorFocusOut(index)" @keyup="onEditorKeyUp($event, index)" @focus="onEditorFocus(index)" /> 17 17 <span> </span> 18 18 </li> … … 167 167 } 168 168 }, 169 onEditorFocus(index) { 170 const wordStartTime = this.words[index].startTime + 0.01; 171 this.$store.commit("playbackStateSetCurrentTime", wordStartTime); 172 }, 169 173 onEditorFocusOut(index) { 170 174 // Remove empty words when they lose focus -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/styles/theme.scss
r35445 r35448 1 1 //// 2 /// Applies default themes .2 /// Applies default themes and styles. 3 3 //// 4 4 -
main/trunk/model-interfaces-dev/atea/transform/pages/korero-maori-asr.xsl
r35447 r35448 16 16 <xsl:variable name="groupPath"><xsl:value-of select="/page/pageRequest/paramList/param[@name='group']/@value"/></xsl:variable> 17 17 <!-- set page title --> 18 <xsl:template name="pageTitle"> <gslib:collectionName/></xsl:template>18 <xsl:template name="pageTitle">Korero Maori Transcription Interface</xsl:template> 19 19 20 20 <!-- set page breadcrumbs --> … … 38 38 </xsl:template> 39 39 40 <!-- Template for processing audio file uploads -->41 40 <xsl:template name="audio-transcription"> 42 41 <link rel="icon" href="interfaces/{$interface_name}/korero-maori-asr/dist/favicon.ico" />
Note:
See TracChangeset
for help on using the changeset viewer.