diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2021-02-06 21:05:00 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2021-02-06 21:05:00 +0900 |
| commit | 3d73ce63cade45f8dc45987aa9d500460c723ed2 (patch) | |
| tree | e8d17a4419a6a8e123d929b29e1276dfa25f8efb /src/client/pages/settings/plugin.vue | |
| parent | Update dep (diff) | |
| download | misskey-3d73ce63cade45f8dc45987aa9d500460c723ed2.tar.gz misskey-3d73ce63cade45f8dc45987aa9d500460c723ed2.tar.bz2 misskey-3d73ce63cade45f8dc45987aa9d500460c723ed2.zip | |
Improve plugin setting
Diffstat (limited to 'src/client/pages/settings/plugin.vue')
| -rw-r--r-- | src/client/pages/settings/plugin.vue | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/client/pages/settings/plugin.vue b/src/client/pages/settings/plugin.vue new file mode 100644 index 0000000000..5bc615b164 --- /dev/null +++ b/src/client/pages/settings/plugin.vue @@ -0,0 +1,42 @@ +<template> +<FormBase> + <FormLink to="/settings/plugin/install"><template #icon><Fa :icon="faDownload"/></template>{{ $ts._plugin.install }}</FormLink> + <FormLink to="/settings/plugin/manage"><template #icon><Fa :icon="faFolderOpen"/></template>{{ $ts._plugin.manage }}</FormLink> +</FormBase> +</template> + +<script lang="ts"> +import { defineComponent } from 'vue'; +import { faPlug, faSave, faTrashAlt, faFolderOpen, faDownload, faCog } from '@fortawesome/free-solid-svg-icons'; +import FormBase from '@/components/form/base.vue'; +import FormGroup from '@/components/form/group.vue'; +import FormLink from '@/components/form/link.vue'; +import * as os from '@/os'; + +export default defineComponent({ + components: { + FormBase, + FormLink, + }, + + emits: ['info'], + + data() { + return { + INFO: { + title: this.$ts.plugins, + icon: faPlug + }, + faPlug, faSave, faTrashAlt, faFolderOpen, faDownload, faCog + } + }, + + mounted() { + this.$emit('info', this.INFO); + }, +}); +</script> + +<style lang="scss" scoped> + +</style> |