Changeset 35729


Ignore:
Timestamp:
2021-11-11T15:30:14+13:00 (2 years ago)
Author:
cstephen
Message:

Minor UI changes

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  
    2020
    2121    <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>
    2325
    2426        <div>
     
    2729            and was developed at the <a href="https://www.waikato.ac.nz" target="_blank">University of Waikato</a>.
    2830        </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
    3036        <div>
    3137            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  
    1717
    1818    <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" />
    2020        <label for="i-show-macronised-words">{{ translations.get('DirectInput_ShowMacronisedWords') }}</label>
    2121    </div>
    2222
    2323    <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" />
    2525        <label for="i-show-macronised-words">{{ translations.get('DirectInput_NormaliseLinebreaks') }}</label>
    2626    </div>
    2727
    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>
    2931</div>
    3032</template>
     
    8789    computed: {
    8890        canDownload() {
    89             return this.restored !== null && !this.waitingToMacronise;
     91            return this.restored.length > 0 && !this.waitingToMacronise;
    9092        },
    9193        input: {
  • main/trunk/model-interfaces-dev/atea/macron-restoration/src/styles/_material.scss

    r35728 r35729  
    255255        }
    256256    }
     257
     258    &:disabled {
     259        &::after {
     260            background: #c7c7c7;
     261        }
     262    }
    257263}
    258264
Note: See TracChangeset for help on using the changeset viewer.