CorpusOptions.vue 1.35 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<template>
    <v-card
      outlined
      class="my-5"
    >
      <v-card-title class="justify-center py-6">
        <h2 class="display-1">Options du corpus</h2>
      </v-card-title>

      <v-form class="px-12">
          <v-select
            class="my-5"
            v-model="lang_select"
            :items="languages"
            label="Langue du corpus"
            required
          ></v-select>
          
          <v-divider/>
          <v-card outlined class="px-10 py-4 mb-5">
            <v-card-title class="subtitle-2">Métadonnées (facultatif)</v-card-title>
            <v-text-field
                class="mt-0"
                v-model="author"
                label="Auteur"
            ></v-text-field>

            <v-text-field
                class="pt-0 mt-0"
                v-model="date"
                label="Date"
            ></v-text-field>

            <v-text-field
                class="mt-0 pt-0"
                v-model="type"
                label="Type de document"
            ></v-text-field>
          </v-card>
      </v-form>

    </v-card>
</template>
<script>

    export default {
        data: () => ({
            lang_select: 'Français',
            languages: ['Français','Anglais','Mandarin','Roumain', 'Nahuatl', 'Multilingue'],
            author: '',
            date: '',
            type: '',
        }),
    }
</script>