Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 快速命令增加提示信息 #1710

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ const message = {
fold: 'All contract',
batchInput: 'Batch input',
quickCommand: 'Quick command',
quickCommandHelper: 'Frequently used command list for quick selection at the bottom of the terminal interface',
groupDeleteHelper:
'After the group is removed, all connections in the group will be migrated to the default group. Confirm the information',
command: 'Command',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ const message = {
fold: '全部收縮',
batchInput: '批量輸入',
quickCommand: '快速命令',
quickCommandHelper: '常用命令列表,用於在終端界面底部快速選擇',
groupDeleteHelper: '移除組後,組內所有連接將遷移到 default 組內,是否確認',
command: '命令',
addHost: '添加主機',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ const message = {
fold: '全部收缩',
batchInput: '批量输入',
quickCommand: '快速命令',
quickCommandHelper: '常用命令列表,用于在终端界面底部快速选择',
groupDeleteHelper: '移除组后,组内所有连接将迁移到 default 组内,是否确认',
command: '命令',
addHost: '添加主机',
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/views/host/terminal/command/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<LayoutContent v-loading="loading" :title="$t('terminal.quickCommand')">
<template #prompt>
<el-alert type="info" :title="$t('terminal.quickCommandHelper')" :closable="false" />
</template>
<template #toolbar>
<el-button type="primary" @click="onCreate()">
{{ $t('commons.button.create') }}{{ $t('terminal.quickCommand') }}
Expand Down