- Timestamp:
- 2021-09-22T11:21:41+12:00 (3 years ago)
- Location:
- main/trunk/model-interfaces-dev/atea/korero-maori-asr/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/AudioUpload.vue
r35439 r35449 18 18 </div> 19 19 20 <progress v-if="isTranscribing" class="indeterminateLoadingBar" /> 20 <div v-if="isTranscribing" class="progress-bar-container"> 21 <div class="progress-bar-value progress-bar-indeterminate" /> 22 </div> 21 23 22 24 <ul class="list-view" v-if="failures.size > 0"> … … 158 160 */ 159 161 async getTranscriptions(files) { 160 await Util.delay(200); // TODO: Remove - UI testing purposes only161 162 162 const validFiles = []; 163 163 -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItem.vue
r35447 r35449 128 128 this.showAdvancedEditor = !this.showAdvancedEditor; 129 129 }, 130 toggleAudio() {131 this.isPlaying ? AudioPlayback.pause() : AudioPlayback.play(this.transcription.id, -1);130 async toggleAudio() { 131 this.isPlaying ? AudioPlayback.pause() : await AudioPlayback.play(this.transcription.id, -1); 132 132 }, 133 133 remove() { -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItemEditor.vue
r35448 r35449 141 141 }, 142 142 methods: { 143 playAudio(startTime) {144 AudioPlayback.play(this.transcription.id, startTime);143 async playAudio(startTime) { 144 await AudioPlayback.play(this.transcription.id, startTime); 145 145 }, 146 146 /** -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/styles/_material.scss
r35445 r35449 320 320 } 321 321 322 /* Progress Bars */ 323 324 .progress-circle-indeterminate { 325 height: 2em; 326 width: 2em; 327 328 border: 0.25em solid var(--bg-color); 329 border-right: 0.25em solid rgba(var(--bg-color-raw), 0.3); 330 border-radius: 50%; 331 332 animation: 1.5s linear 0s infinite running rotate360; 333 } 334 335 @keyframes rotate360 { 336 0% { 337 transform: rotate(0deg); 338 } 339 340 100% { 341 transform: rotate(360deg); 342 } 343 } 344 345 .progress-bar-container { 346 width: 100%; 347 height: 8px; 348 overflow: hidden; 349 350 background-color: rgba(var(--bg-color-raw), 0.2); 351 border-radius: 4px; 352 } 353 354 .progress-bar-value { 355 height: 100%; 356 357 background-color: var(--bg-color); 358 border-radius: 4px; 359 } 360 361 .progress-bar-indeterminate { 362 width: 20%; 363 animation: 2s ease 0s infinite alternate prgbr-indeterminate; 364 } 365 366 @keyframes prgbr-indeterminate { 367 0% { 368 transform: translateX(-100%); 369 } 370 371 100% { 372 transform: translateX(500%); 373 } 374 } 375 322 376 /* === End component definitions === */ 323 377 -
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/styles/theme.scss
r35448 r35449 20 20 body { 21 21 background-color: var(--page-bg-color); 22 color: var(--body-color); 22 23 font-family: 'Roboto', sans-serif; 23 24
Note:
See TracChangeset
for help on using the changeset viewer.