-
Notifications
You must be signed in to change notification settings - Fork 2
/
Toolbar.vue
42 lines (40 loc) · 1020 Bytes
/
Toolbar.vue
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
<template>
<div class="toolbar">
<div class="toolbar-roadmapName">
<span>My roadmap</span>
<i class="fas fa-pencil-alt"
data-tippy="Rename this roadmap"></i>
</div>
<div class="toolbar-tools">3
<i class="fas fa-plus-circle"
@click="requestEpicCreationModal"
data-tippy="Create a new epic"></i>
<i class="fas fa-stream"
data-tippy="Backlog"></i>
<i class="fas fa-chart-line"
data-tippy="Reports"></i>
</div>
<div class="toolbar-advancedFeatures">
<i class="fas fa-file-download"
data-tippy="Download roadmap"></i>
<i class="fas fa-upload"
data-tippy="Import roadmap"></i>
<i class="fas fa-trash"
data-tippy="Reset roadmap"></i>
<i class="fas fa-cog"
data-tippy="Settings"></i>
</div>
</div>
</template>
<script>
// eslint-disable-next-line
import tippy from 'tippy.js';
// @TODO: load FA as svg to save on load time
export default {
methods: {
requestEpicCreationModal() {
this.$emit('toggleModal', "epic")
}
}
}
</script>