Changeset 35729
- Timestamp:
- 2021-11-11T15:30:14+13:00 (2 years ago)
- Location:
- main/trunk/model-interfaces-dev/atea/macron-restoration
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/macron-restoration/src/App.vue
r35724 r35729 20 20 21 21 <div class="footer"> 22 <img src="img/logo_waikato_uni.jpg" alt="The University of Waikato Logo" /> 22 <a href="https://www.waikato.ac.nz" target="_blank"> 23 <img src="img/logo_waikato_uni.jpg" alt="The University of Waikato Logo" /> 24 </a> 23 25 24 26 <div> … … 27 29 and was developed at the <a href="https://www.waikato.ac.nz" target="_blank">University of Waikato</a>. 28 30 </div> 29 <img src="img/logo_nga_pae_o_te_maramatanga.jpg" alt="The NgÄ Pae o te MÄramatanga Logo" /> 31 32 <a href="http://www.maramatanga.co.nz" target="_blank"> 33 <img src="img/logo_maramatanga.jpg" alt="The NgÄ Pae o te MÄramatanga Logo" /> 34 </a> 35 30 36 <div> 31 37 This website collects simple usage logs which will be used for development purposes only. -
main/trunk/model-interfaces-dev/atea/macron-restoration/src/components/DirectInput.vue
r35728 r35729 17 17 18 18 <div class="flex"> 19 <input type="checkbox" id="i-show-macronised-words" v-model="showMacronisedWords" />19 <input type="checkbox" id="i-show-macronised-words" v-model="showMacronisedWords" :disabled="restored.length === 0" /> 20 20 <label for="i-show-macronised-words">{{ translations.get('DirectInput_ShowMacronisedWords') }}</label> 21 21 </div> 22 22 23 23 <div class="flex right-column"> 24 <input type="checkbox" id="i-show-macronised-words" v-model="normaliseLinebreaks" />24 <input type="checkbox" id="i-show-macronised-words" v-model="normaliseLinebreaks" :disabled="restored.length === 0" /> 25 25 <label for="i-show-macronised-words">{{ translations.get('DirectInput_NormaliseLinebreaks') }}</label> 26 26 </div> 27 27 28 <button class="btn-primary right-column" :disabled="!canDownload" @click="downloadAsText">{{ translations.get('DirectInput_Download') }}</button> 28 <button class="btn-primary right-column" :disabled="!canDownload" @click="downloadAsText"> 29 {{ translations.get('DirectInput_Download') }} 30 </button> 29 31 </div> 30 32 </template> … … 87 89 computed: { 88 90 canDownload() { 89 return this.restored !== null&& !this.waitingToMacronise;91 return this.restored.length > 0 && !this.waitingToMacronise; 90 92 }, 91 93 input: { -
main/trunk/model-interfaces-dev/atea/macron-restoration/src/styles/_material.scss
r35728 r35729 255 255 } 256 256 } 257 258 &:disabled { 259 &::after { 260 background: #c7c7c7; 261 } 262 } 257 263 } 258 264
Note:
See TracChangeset
for help on using the changeset viewer.