mirror of
https://github.com/jumpserver/lina.git
synced 2025-11-15 18:25:43 +00:00
Compare commits
3 Commits
pr@dev@k8s
...
v2.23.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b4b78baa4 | ||
|
|
09add2a44e | ||
|
|
25b69708cf |
@@ -436,8 +436,8 @@
|
|||||||
"Help": "Help",
|
"Help": "Help",
|
||||||
"Logout": "Logout",
|
"Logout": "Logout",
|
||||||
"Profile": "Profile",
|
"Profile": "Profile",
|
||||||
"TechnicalSupport": "Technical support",
|
"Support": "Support",
|
||||||
"ToolsDownload": "Tools download",
|
"Download": "Download",
|
||||||
"UserPage": "User page",
|
"UserPage": "User page",
|
||||||
"View": "View",
|
"View": "View",
|
||||||
"EnterpriseEdition": "Enterprise edition"
|
"EnterpriseEdition": "Enterprise edition"
|
||||||
@@ -696,7 +696,7 @@
|
|||||||
"AssetPermissionUpdate": "Asset permissions update",
|
"AssetPermissionUpdate": "Asset permissions update",
|
||||||
"AssetUpdate": "Asset update",
|
"AssetUpdate": "Asset update",
|
||||||
"Assets": "Assets",
|
"Assets": "Assets",
|
||||||
"LogsAudits": "Logs audit",
|
"LogsAudit": "Logs audit",
|
||||||
"SessionsAudit": "Sessions audit",
|
"SessionsAudit": "Sessions audit",
|
||||||
"SessionList": "Session list",
|
"SessionList": "Session list",
|
||||||
"BatchCommand": "Batch Command",
|
"BatchCommand": "Batch Command",
|
||||||
|
|||||||
@@ -448,8 +448,8 @@
|
|||||||
"Help": "ヘルプ",
|
"Help": "ヘルプ",
|
||||||
"Logout": "ログインを終了する",
|
"Logout": "ログインを終了する",
|
||||||
"Profile": "個人情報",
|
"Profile": "個人情報",
|
||||||
"TechnicalSupport": "テクニカルサポート",
|
"Support": "サポート",
|
||||||
"ToolsDownload": "ツールのダウンロード",
|
"Download": "ダウンロード",
|
||||||
"UserPage": "ユーザービュー",
|
"UserPage": "ユーザービュー",
|
||||||
"View": "ビュー",
|
"View": "ビュー",
|
||||||
"EnterpriseEdition": "企業版"
|
"EnterpriseEdition": "企業版"
|
||||||
|
|||||||
@@ -448,8 +448,8 @@
|
|||||||
"Help": "帮助",
|
"Help": "帮助",
|
||||||
"Logout": "退出登录",
|
"Logout": "退出登录",
|
||||||
"Profile": "个人信息",
|
"Profile": "个人信息",
|
||||||
"TechnicalSupport": "技术支持",
|
"Support": "支持",
|
||||||
"ToolsDownload": "工具下载",
|
"Download": "下载",
|
||||||
"UserPage": "用户视图",
|
"UserPage": "用户视图",
|
||||||
"View": "视图",
|
"View": "视图",
|
||||||
"EnterpriseEdition": "企业版"
|
"EnterpriseEdition": "企业版"
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="footer" :style="style">
|
<div class="footer" :class="device" :style="style">
|
||||||
<div class="pull-right">
|
<div class="pull-right version">
|
||||||
Version <strong> dev </strong> <span v-if="!publicSettings.XPACK_LICENSE_IS_VALID"> GPLv2. </span>
|
Version <strong> dev </strong> <span v-if="!publicSettings.XPACK_LICENSE_IS_VALID"> GPLv2. </span>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-left:20px;">
|
<div>{{ corporation }}</div>
|
||||||
{{ publicSettings.XPACK_LICENSE_INFO.corporation }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -27,7 +25,10 @@ export default {
|
|||||||
if (this.device === 'mobile') {
|
if (this.device === 'mobile') {
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
return this.sidebar.opened ? ('margin-left: 210px;') : ('margin-left: 54px')
|
return this.sidebar.opened ? ('margin-left: 220px;') : ('margin-left: 54px')
|
||||||
|
},
|
||||||
|
corporation() {
|
||||||
|
return this.publicSettings.XPACK_LICENSE_INFO.corporation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -38,9 +39,9 @@ export default {
|
|||||||
height: 35px !important;
|
height: 35px !important;
|
||||||
}
|
}
|
||||||
.pull-right {
|
.pull-right {
|
||||||
float: right!important;
|
float: right
|
||||||
}
|
}
|
||||||
.footer{
|
.footer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -55,4 +56,11 @@ export default {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.mobile.footer {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.mobile.footer .pull-right{
|
||||||
|
float: none;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
</span>
|
</span>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item command="docs">{{ $t('common.nav.Docs') }}</el-dropdown-item>
|
<el-dropdown-item command="docs">{{ $t('common.nav.Docs') }}</el-dropdown-item>
|
||||||
<el-dropdown-item command="support">{{ $t('common.nav.TechnicalSupport') }}</el-dropdown-item>
|
<el-dropdown-item command="support">{{ $t('common.nav.Support') }}</el-dropdown-item>
|
||||||
<el-dropdown-item command="toolsDownload">{{ $t('common.nav.ToolsDownload') }}</el-dropdown-item>
|
<el-dropdown-item command="toolsDownload">{{ $t('common.nav.Download') }}</el-dropdown-item>
|
||||||
<el-dropdown-item v-if="!hasLicence" command="enterprise">{{ $t('common.nav.EnterpriseEdition') }}</el-dropdown-item>
|
<el-dropdown-item v-if="!hasLicence" command="enterprise">{{ $t('common.nav.EnterpriseEdition') }}</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="active-mobile">
|
<div class="active-mobile">
|
||||||
<ViewSwitcher mode="vertical" class="mobile-view-switch" />
|
<ViewSwitcher mode="vertical" class="mobile-view-switch" />
|
||||||
<Organization class="organization" />
|
<Organization v-if="$hasLicense()" class="organization" />
|
||||||
</div>
|
</div>
|
||||||
<div class="nav-title" :class="{'collapsed': isCollapse}">
|
<div class="nav-title" :class="{'collapsed': isCollapse}">
|
||||||
{{ isTitle }}
|
{{ isTitle }}
|
||||||
|
|||||||
@@ -160,6 +160,8 @@ export function hasUUID(s) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function replaceUUID(s, n) {
|
export function replaceUUID(s, n) {
|
||||||
|
const index = s.search(uuidPattern)
|
||||||
|
if (index > 0) return s.substr(0, index)
|
||||||
return s.replace(uuidPattern, n)
|
return s.replace(uuidPattern, n)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -109,11 +109,16 @@ export default {
|
|||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
'name', 'remote_addr', 'session_online',
|
'name', 'remote_addr', 'session_online',
|
||||||
'stat.cpu_load',
|
'stat.cpu_load', 'stat.disk_used', 'stat.memory_used',
|
||||||
'stat.disk_used', 'stat.memory_used',
|
'status', 'is_active', 'is_alive', 'actions'
|
||||||
'status',
|
|
||||||
'is_active', 'is_alive', 'actions'
|
|
||||||
],
|
],
|
||||||
|
columnsShow: {
|
||||||
|
min: ['name'],
|
||||||
|
default: [
|
||||||
|
'name', 'session_online', 'stat.cpu_load', 'stat.disk_used',
|
||||||
|
'stat.memory_used', 'status'
|
||||||
|
]
|
||||||
|
},
|
||||||
columnsMeta: {
|
columnsMeta: {
|
||||||
name: {
|
name: {
|
||||||
sortable: 'custom',
|
sortable: 'custom',
|
||||||
@@ -175,7 +180,6 @@ export default {
|
|||||||
},
|
},
|
||||||
headerActions: {
|
headerActions: {
|
||||||
hasCreate: false,
|
hasCreate: false,
|
||||||
hasBulkDelete: false,
|
|
||||||
hasUpload: false,
|
hasUpload: false,
|
||||||
hasExport: false,
|
hasExport: false,
|
||||||
hasImport: false,
|
hasImport: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user