mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1007 B
51 lines
1007 B
<template>
|
|
<div style="display:inline;">
|
|
<v-tooltip bottom>
|
|
<template v-slot:activator="{ on }">
|
|
<v-btn
|
|
class="text-capitalize ps-1 pe-1"
|
|
min-width="36"
|
|
icon
|
|
v-on="on"
|
|
@click="dialog=true"
|
|
>
|
|
<v-icon>
|
|
mdi-book-open-outline
|
|
</v-icon>
|
|
</v-btn>
|
|
</template>
|
|
<span>{{ $t('annotation.guidelineTooltip') }}</span>
|
|
</v-tooltip>
|
|
<v-dialog
|
|
v-model="dialog"
|
|
width="800"
|
|
>
|
|
<guideline-card
|
|
v-if="currentProject"
|
|
:guideline-text="currentProject.guideline"
|
|
@close="dialog=false"
|
|
/>
|
|
</v-dialog>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapGetters } from 'vuex'
|
|
import GuidelineCard from '@/components/organisms/annotation/GuidelineCard'
|
|
|
|
export default {
|
|
components: {
|
|
GuidelineCard
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
dialog: false
|
|
}
|
|
},
|
|
|
|
computed: {
|
|
...mapGetters('projects', ['currentProject'])
|
|
}
|
|
}
|
|
</script>
|