2021-02-06 14:05:00 +02:00
|
|
|
<template>
|
|
|
|
<FormBase>
|
2021-04-20 17:22:59 +03:00
|
|
|
<FormLink to="/settings/plugin/install"><template #icon><i class="fas fa-download"></i></template>{{ $ts._plugin.install }}</FormLink>
|
|
|
|
<FormLink to="/settings/plugin/manage"><template #icon><i class="fas fa-folder-open"></i></template>{{ $ts._plugin.manage }}<template #suffix>{{ plugins }}</template></FormLink>
|
2021-02-06 14:05:00 +02:00
|
|
|
</FormBase>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from 'vue';
|
2021-11-11 19:02:25 +02:00
|
|
|
import FormBase from '@/components/debobigego/base.vue';
|
|
|
|
import FormGroup from '@/components/debobigego/group.vue';
|
|
|
|
import FormLink from '@/components/debobigego/link.vue';
|
|
|
|
import * as os from '@/os';
|
|
|
|
import { ColdDeviceStorage } from '@/store';
|
|
|
|
import * as symbols from '@/symbols';
|
2021-02-06 14:05:00 +02:00
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
components: {
|
|
|
|
FormBase,
|
|
|
|
FormLink,
|
|
|
|
},
|
|
|
|
|
|
|
|
emits: ['info'],
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
2021-04-10 06:54:12 +03:00
|
|
|
[symbols.PAGE_INFO]: {
|
2021-02-06 14:05:00 +02:00
|
|
|
title: this.$ts.plugins,
|
2021-09-29 18:50:45 +03:00
|
|
|
icon: 'fas fa-plug',
|
|
|
|
bg: 'var(--bg)',
|
2021-02-06 14:05:00 +02:00
|
|
|
},
|
2021-02-07 11:11:56 +02:00
|
|
|
plugins: ColdDeviceStorage.get('plugins').length,
|
2021-02-06 14:05:00 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
2021-04-10 06:54:12 +03:00
|
|
|
this.$emit('info', this[symbols.PAGE_INFO]);
|
2021-02-06 14:05:00 +02:00
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
</style>
|