Newer
Older
<label>
Modération
</label>
<DropdownMenuItem
:options="moderationOptions"
/>
<label>
Niveau d'autorisation requis
</label>
<DropdownMenuItem
:options="accessLevelOptions"
/>
</div>
<div class="item">
<label>
Mon niveau d'autorisation
</label>
<DropdownMenuItem
:options="userAccessLevelOptions"
/>
</div>
<div class="right item">
<search-projects />
</div>
</div>
</template>
<script>
import DropdownMenuItem from '@/components/Projects/DropdownMenuItem.vue';
import SearchProjects from '@/components/Projects/SearchProjects.vue';
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
DropdownMenuItem,
SearchProjects,
},
data() {
return {
moderationOptions: [
{
label: 'Tous'
},
{
label: 'Projet modéré'
},
{
label: 'Projet non modéré'
},
],
accessLevelOptions: [
{
label: 'Tous'
},
{
label: 'Utilisateur connecté'
},
{
label: 'Contributeur'
},
{
label: 'Modérateur'
},
{
label: 'Administrateur projet'
},
],
userAccessLevelOptions: [
{
label: 'Tous'
},
{
label: 'Utilisateur connecté'
},
{
label: 'Contributeur'
},
{
label: 'Modérateur'
},
{
label: 'Administrateur projet'
},
]
}
.projects {
.item {
display: flex;
flex-direction: column;
align-items: flex-start !important;
padding: 0.4em 0.6em;
label {
margin-bottom: 0.2em;
font-size: 0.9em;
font-weight: 600;
}
}
.item {
width: 25%;
}