forked from AkkomaGang/admin-fe
Add link to documentation on Settings tab
This commit is contained in:
parent
d4be7d2643
commit
363424cad3
3 changed files with 37 additions and 10 deletions
|
@ -358,7 +358,8 @@ export default {
|
||||||
successfullyUpdated: 'Successfully updated',
|
successfullyUpdated: 'Successfully updated',
|
||||||
metadatLowerCase: 'metadata',
|
metadatLowerCase: 'metadata',
|
||||||
files: 'files',
|
files: 'files',
|
||||||
successfullyRemoved: 'Setting removed successfully!'
|
successfullyRemoved: 'Setting removed successfully!',
|
||||||
|
seeDocs: 'See Documentation'
|
||||||
},
|
},
|
||||||
invites: {
|
invites: {
|
||||||
inviteTokens: 'Invite tokens',
|
inviteTokens: 'Invite tokens',
|
||||||
|
|
|
@ -1,6 +1,20 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="settings-container">
|
<div class="settings-container">
|
||||||
<h1>{{ $t('settings.settings') }}</h1>
|
<div class="settings-header-container">
|
||||||
|
<h1 class="settings-header">{{ $t('settings.settings') }}</h1>
|
||||||
|
<el-link
|
||||||
|
:underline="false"
|
||||||
|
href="https://docs-develop.pleroma.social/backend/admin/config/"
|
||||||
|
target="_blank">
|
||||||
|
<el-button class="settings-docs-button">
|
||||||
|
<span>
|
||||||
|
<i class="el-icon-document"/>
|
||||||
|
{{ $t('settings.seeDocs') }}
|
||||||
|
</span>
|
||||||
|
</el-button>
|
||||||
|
</el-link>
|
||||||
|
|
||||||
|
</div>
|
||||||
<el-tabs v-model="activeTab" :tab-position="tabPosition">
|
<el-tabs v-model="activeTab" :tab-position="tabPosition">
|
||||||
<el-tab-pane :label="$t('settings.activityPub')" :disabled="configDisabled" lazy>
|
<el-tab-pane :label="$t('settings.activityPub')" :disabled="configDisabled" lazy>
|
||||||
<activity-pub/>
|
<activity-pub/>
|
||||||
|
@ -143,9 +157,21 @@ export default {
|
||||||
.el-tabs {
|
.el-tabs {
|
||||||
margin-top: 20px
|
margin-top: 20px
|
||||||
}
|
}
|
||||||
h1 {
|
|
||||||
margin: 22px 0 0 15px;
|
|
||||||
}
|
}
|
||||||
|
.settings-docs-button {
|
||||||
|
width: 163px;
|
||||||
|
text-align: left;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.settings-header {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.settings-header-container {
|
||||||
|
display: flex;
|
||||||
|
height: 36px;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin: 22px 15px 15px 15px;
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 1824px) {
|
@media only screen and (min-width: 1824px) {
|
||||||
.settings-container {
|
.settings-container {
|
||||||
|
|
Loading…
Reference in a new issue