diff --git a/src/components/Tooltip/index.vue b/src/components/Tooltip/index.vue new file mode 100644 index 000000000..efeeaaff5 --- /dev/null +++ b/src/components/Tooltip/index.vue @@ -0,0 +1,80 @@ + + + + diff --git a/src/components/index.js b/src/components/index.js index e17aa07a9..be847a9f6 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -29,3 +29,4 @@ export { default as UserConfirmDialog } from './UserConfirmDialog' export { default as Announcement } from './Announcement' export { default as CronTab } from './CronTab' export { default as Pagination } from './Pagination' +export { default as Tooltip } from './Tooltip' diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 6ae7638cc..be622d8a0 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -980,6 +980,7 @@ "NoPermission": "No permission" }, "terminal": { + "Author": "Author", "UploadSucceed": "Upload succeed", "UploadFailed": "Upload failed", "Applets": "Remote apps", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index 9149c9723..f83c0b3dc 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -994,6 +994,7 @@ "NoPermission": "権限なし" }, "terminal": { + "Author": "作者", "UploadSucceed": "アップロード成功", "UploadFailed": "アップロードに失敗しました", "Applets": "リモートアプリケーション", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index f69685201..b95afdf07 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -1202,6 +1202,7 @@ "NoPermission": "暂无权限" }, "terminal": { + "Author": "作者", "BasePort": "监听端口", "DatabasePort": "数据库协议端口", "UploadSucceed": "上传成功", diff --git a/src/views/settings/Applet/Applet/components/CardTable.vue b/src/views/settings/Applet/Applet/components/CardTable.vue index 3e7320c3c..79defdace 100644 --- a/src/views/settings/Applet/Applet/components/CardTable.vue +++ b/src/views/settings/Applet/Applet/components/CardTable.vue @@ -7,31 +7,39 @@ v-bind="headerActions" />
- - + + - - - - - - -
- -
-
{{ d.display_name }}
-
- {{ d.author }} + + + + + + + + +
{{ d.display_name }}
+ + + {{ $tc('terminal.Author') }}: {{ d.author }} +
+
- -
{{ d.comment_i18n }}
-
{{ d.comment_i18n }}
-
+
+ {{ $tc('common.DateCreated') }}: {{ convertData(d.date_created) }} + + {{ $tc('common.Active') }}: + +
@@ -47,14 +55,16 @@