2021-03-22 05:06:38 +13:00
|
|
|
<template>
|
|
|
|
|
|
|
|
<q-dialog
|
|
|
|
v-model="dialogModel"
|
|
|
|
@hide="triggerDialogClose"
|
|
|
|
>
|
|
|
|
<q-card
|
|
|
|
class="licenseDialog"
|
|
|
|
dark
|
|
|
|
>
|
|
|
|
<q-card-section>
|
|
|
|
<div class="flex justify-center">
|
|
|
|
<q-scroll-area
|
|
|
|
class="q-mx-xl q-my-lg"
|
|
|
|
visible
|
|
|
|
dark
|
|
|
|
:thumb-style="thumbStyle"
|
|
|
|
style="max-height: calc(100vh - 235px); height: 800px; width: 100%;">
|
|
|
|
<q-markdown no-heading-anchor-links>
|
|
|
|
{{$t('documents.license')}}
|
|
|
|
</q-markdown>
|
|
|
|
</q-scroll-area>
|
|
|
|
</div>
|
|
|
|
</q-card-section>
|
|
|
|
|
|
|
|
<q-card-actions align="around" class="q-mb-lg">
|
|
|
|
<q-btn flat label="Close" color="accent" v-close-popup />
|
|
|
|
</q-card-actions>
|
|
|
|
</q-card>
|
|
|
|
</q-dialog>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
|
|
|
import { Component, Watch } from "vue-property-decorator"
|
|
|
|
|
|
|
|
import DialogBase from "src/components/dialogs/_DialogBase"
|
|
|
|
@Component({
|
|
|
|
components: { }
|
|
|
|
})
|
|
|
|
export default class ChangeLog extends DialogBase {
|
2021-04-03 12:33:49 +13:00
|
|
|
/**
|
|
|
|
* React to dialog opening request
|
|
|
|
*/
|
2021-03-22 05:06:38 +13:00
|
|
|
@Watch("dialogTrigger")
|
|
|
|
openDialog (val: string|false) {
|
|
|
|
if (val) {
|
|
|
|
if (this.SGET_getDialogsState) {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
this.SSET_setDialogState(true)
|
|
|
|
this.dialogModel = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.licenseDialog {
|
|
|
|
width: 680px;
|
|
|
|
max-width: calc(100vw - 100px) !important;
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|