Welcome to mirror list, hosted at ThFree Co, Russian Federation.

App.vue « src - github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c85ec6416bedc15a24c56b04b9762756f8536c9e (plain)
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
56
<template>
    <Content app-name="ransomware_detection">
        <AppNavigation>
            <ul>
				<AppNavigationItem v-for="item in menu" :key="item.key" :item="item" />
			</ul>
        </AppNavigation>
            <router-view />
    </Content>
</template>

<script>
import Content from 'nextcloud-vue/dist/Components/Content'
import AppNavigation from 'nextcloud-vue/dist/Components/AppNavigation'
import AppNavigationItem from 'nextcloud-vue/dist/Components/AppNavigationItem'
import AppContent from 'nextcloud-vue/dist/Components/AppContent'

export default {
    name: 'App',
    components: {
		Content,
        AppNavigation,
        AppNavigationItem,
        AppContent,
    },
    computed: {
        menu() {
            return [
				{
					id: 'app-category-protection',
					classes: [],
					router: {name: 'protection'},
					icon: 'icon-dashboard',
					text: t('ransomware_detection', 'Protection'),
				},
				{
					id: 'app-category-recover',
					classes: [],
					icon: 'icon-trash',
					router: {name: 'recover'},
					text: t('ransomware_detection', 'Recover'),
				}, {
					id: 'app-category-history',
					classes: [],
					icon: 'icon-hourglass',
					router: {name: 'history'},
					text: t('ransomware_detection', 'History'),
				}
			];
        }
    }
}
</script>

<style lang="scss">
</style>