summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/settings-window.vue
blob: deb865b1026cecb3f1730c72c027ef9e3d967744 (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
<template>
<mk-window ref="window" is-modal width="700px" height="550px" @closed="$destroy">
	<span slot="header" :class="$style.header">%fa:cog%%i18n:@settings%</span>
	<mk-settings @done="close"/>
</mk-window>
</template>

<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
	methods: {
		close() {
			(this as any).$refs.window.close();
		}
	}
});
</script>

<style lang="stylus" module>
.header
	> [data-fa]
		margin-right 4px

</style>