mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 22:03:08 +02:00
Update other.vue (#8040)
This commit is contained in:
parent
b1bd7307bb
commit
ac04c46d3b
1 changed files with 16 additions and 18 deletions
|
@ -1,42 +1,41 @@
|
||||||
<template>
|
<template>
|
||||||
<FormBase>
|
<div class="_formRoot">
|
||||||
<FormLink to="/settings/update">Misskey Update</FormLink>
|
<FormLink to="/settings/update" class="_formBlock">Misskey Update</FormLink>
|
||||||
|
|
||||||
<FormSwitch :value="$i.injectFeaturedNote" @update:modelValue="onChangeInjectFeaturedNote">
|
<FormSwitch :value="$i.injectFeaturedNote" @update:modelValue="onChangeInjectFeaturedNote" class="_formBlock">
|
||||||
{{ $ts.showFeaturedNotesInTimeline }}
|
{{ $ts.showFeaturedNotesInTimeline }}
|
||||||
</FormSwitch>
|
</FormSwitch>
|
||||||
|
|
||||||
<FormSwitch v-model="reportError">{{ $ts.sendErrorReports }}<template #desc>{{ $ts.sendErrorReportsDescription }}</template></FormSwitch>
|
<FormSwitch v-model="reportError" class="_formBlock">{{ $ts.sendErrorReports }}<template #desc>{{ $ts.sendErrorReportsDescription }}</template></FormSwitch>
|
||||||
|
|
||||||
<FormLink to="/settings/account-info">{{ $ts.accountInfo }}</FormLink>
|
<FormLink to="/settings/account-info" class="_formBlock">{{ $ts.accountInfo }}</FormLink>
|
||||||
<FormLink to="/settings/experimental-features">{{ $ts.experimentalFeatures }}</FormLink>
|
<FormLink to="/settings/experimental-features" class="_formBlock">{{ $ts.experimentalFeatures }}</FormLink>
|
||||||
|
|
||||||
<FormGroup>
|
<FormSection>
|
||||||
<template #label>{{ $ts.developer }}</template>
|
<template #label>{{ $ts.developer }}</template>
|
||||||
<FormSwitch v-model="debug" @update:modelValue="changeDebug">
|
<FormSwitch v-model="debug" @update:modelValue="changeDebug" class="_formBlock">
|
||||||
DEBUG MODE
|
DEBUG MODE
|
||||||
</FormSwitch>
|
</FormSwitch>
|
||||||
<template v-if="debug">
|
<template v-if="debug">
|
||||||
<FormButton @click="taskmanager">Task Manager</FormButton>
|
<FormButton @click="taskmanager">Task Manager</FormButton>
|
||||||
</template>
|
</template>
|
||||||
</FormGroup>
|
</FormSection>
|
||||||
|
|
||||||
<FormLink to="/settings/registry"><template #icon><i class="fas fa-cogs"></i></template>{{ $ts.registry }}</FormLink>
|
<FormLink to="/settings/registry" class="_formBlock"><template #icon><i class="fas fa-cogs"></i></template>{{ $ts.registry }}</FormLink>
|
||||||
|
|
||||||
<FormLink to="/bios" behavior="browser"><template #icon><i class="fas fa-door-open"></i></template>BIOS</FormLink>
|
<FormLink to="/bios" behavior="browser" class="_formBlock"><template #icon><i class="fas fa-door-open"></i></template>BIOS</FormLink>
|
||||||
<FormLink to="/cli" behavior="browser"><template #icon><i class="fas fa-door-open"></i></template>CLI</FormLink>
|
<FormLink to="/cli" behavior="browser" class="_formBlock"><template #icon><i class="fas fa-door-open"></i></template>CLI</FormLink>
|
||||||
|
|
||||||
<FormLink to="/settings/delete-account"><template #icon><i class="fas fa-exclamation-triangle"></i></template>{{ $ts.closeAccount }}</FormLink>
|
<FormLink to="/settings/delete-account" class="_formBlock"><template #icon><i class="fas fa-exclamation-triangle"></i></template>{{ $ts.closeAccount }}</FormLink>
|
||||||
</FormBase>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineAsyncComponent, defineComponent } from 'vue';
|
import { defineAsyncComponent, defineComponent } from 'vue';
|
||||||
import FormSwitch from '@/components/form/switch.vue';
|
import FormSwitch from '@/components/form/switch.vue';
|
||||||
import FormSelect from '@/components/form/select.vue';
|
import FormSelect from '@/components/form/select.vue';
|
||||||
|
import FormSection from '@/components/form/section.vue';
|
||||||
import FormLink from '@/components/debobigego/link.vue';
|
import FormLink from '@/components/debobigego/link.vue';
|
||||||
import FormBase from '@/components/debobigego/base.vue';
|
|
||||||
import FormGroup from '@/components/debobigego/group.vue';
|
|
||||||
import FormButton from '@/components/debobigego/button.vue';
|
import FormButton from '@/components/debobigego/button.vue';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
import { debug } from '@/config';
|
import { debug } from '@/config';
|
||||||
|
@ -46,12 +45,11 @@ import * as symbols from '@/symbols';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
FormBase,
|
|
||||||
FormSelect,
|
FormSelect,
|
||||||
|
FormSection,
|
||||||
FormSwitch,
|
FormSwitch,
|
||||||
FormButton,
|
FormButton,
|
||||||
FormLink,
|
FormLink,
|
||||||
FormGroup,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
emits: ['info'],
|
emits: ['info'],
|
||||||
|
|
Loading…
Reference in a new issue