mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-28 15:55:24 +00:00
Merge pull request #3777 from jumpserver/pr@dev@customize_footer
feat: 自定义footer
This commit is contained in:
@@ -2394,7 +2394,7 @@
|
||||
"Template": {
|
||||
"Template": "Template"
|
||||
},
|
||||
"Beian": "Registration"
|
||||
"Footer": "Footer"
|
||||
},
|
||||
"applets": {
|
||||
"PublishStatus": "Publish status",
|
||||
|
@@ -2385,7 +2385,7 @@
|
||||
"IntervalOfCreateUpdatePage": "単位: 時",
|
||||
"UsernameOfCreateUpdatePage": "ターゲットホスト上のユーザーのユーザー名存在する場合は、ユーザーパスワードを変更します存在しない場合は、ユーザーを追加してパスワードを設定します"
|
||||
},
|
||||
"Beian": "ファイリング"
|
||||
"Footer": "フッター"
|
||||
},
|
||||
"applets": {
|
||||
"PublishStatus": "投稿ステータス",
|
||||
|
@@ -2297,6 +2297,6 @@
|
||||
"IntervalOfCreateUpdatePage": "单位:时",
|
||||
"UsernameOfCreateUpdatePage": "目标主机上用户的用户名;如果已️存在,修改用户密码;如果不存在,添加用户并设置密码;"
|
||||
},
|
||||
"Beian": "备案"
|
||||
"Footer": "页脚"
|
||||
}
|
||||
}
|
||||
|
@@ -65,6 +65,7 @@ import { Page } from '@/layout/components'
|
||||
import { IBox, UploadField } from '@/components'
|
||||
import GenericCreateUpdateForm from '@/layout/components/GenericCreateUpdateForm'
|
||||
import { getInterfaceInfo, previewThemes, restoreInterface, updateInterface } from '@/api/interface'
|
||||
import MarkDown from '@/components/Widgets/MarkDown'
|
||||
|
||||
export default {
|
||||
name: 'InterfaceSettings',
|
||||
@@ -87,7 +88,7 @@ export default {
|
||||
[this.$t('common.Basic'), ['login_title', 'theme']],
|
||||
['Logo', ['logo_index', 'logo_logout', 'favicon']],
|
||||
[this.$t('xpack.Images'), ['login_image']],
|
||||
[this.$t('xpack.Beian'), ['beian_link', 'beian_text']]
|
||||
[this.$t('xpack.Beian'), ['footer_content']]
|
||||
],
|
||||
fieldsMeta: {
|
||||
login_title: {
|
||||
@@ -163,6 +164,13 @@ export default {
|
||||
this.files['logo_logout'] = value
|
||||
}
|
||||
}
|
||||
},
|
||||
footer_content: {
|
||||
component: MarkDown,
|
||||
el: {
|
||||
preview: true,
|
||||
rows: 5
|
||||
}
|
||||
}
|
||||
},
|
||||
url: '/api/v1/xpack/interface/setting/',
|
||||
|
Reference in New Issue
Block a user