Fix: UI tips

This commit is contained in:
unitwk 2024-03-12 22:41:36 +08:00
parent 90cced1475
commit 619756527a
7 changed files with 21 additions and 44 deletions

View File

@ -1,12 +1,12 @@
{
"name": "mcsmanager-daemon",
"version": "4.0.0",
"version": "4.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mcsmanager-daemon",
"version": "4.0.0",
"version": "4.1.0",
"license": "Apache-2.0",
"dependencies": {
"@iarna/toml": "^2.2.5",
@ -60,9 +60,6 @@
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0"
},
"optionalDependencies": {
"node-pty": "^1.0.0"
}
},
"../common": {
@ -3210,12 +3207,6 @@
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/nan": {
"version": "2.19.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz",
"integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==",
"optional": true
},
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@ -3247,16 +3238,6 @@
"node": ">= 12"
}
},
"node_modules/node-pty": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.0.0.tgz",
"integrity": "sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA==",
"hasInstallScript": true,
"optional": true,
"dependencies": {
"nan": "^2.17.0"
}
},
"node_modules/node-releases": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
@ -7372,12 +7353,6 @@
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"nan": {
"version": "2.19.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz",
"integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==",
"optional": true
},
"natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@ -7403,15 +7378,6 @@
"iconv-lite": "^0.6.2"
}
},
"node-pty": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.0.0.tgz",
"integrity": "sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA==",
"optional": true,
"requires": {
"nan": "^2.17.0"
}
},
"node-releases": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",

View File

@ -1,12 +1,12 @@
{
"name": "mcsm10-ui-layout",
"version": "0.0.0",
"name": "mcsmanager-ui",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mcsm10-ui-layout",
"version": "0.0.0",
"name": "mcsmanager-ui",
"version": "1.0.0",
"dependencies": {
"@ant-design/icons-vue": "^6.1.0",
"@codemirror/lang-css": "^6.2.1",

View File

@ -266,6 +266,9 @@ defineExpose({
@ok="submit"
>
<div class="dialog-overflow-container">
<a-typography-text type="secondary">
{{ t("TXT_CODE_cdf7c16a") }}
</a-typography-text>
<div>
<a-tabs v-model:activeKey="activeKey">
<a-tab-pane :key="TabSettings.Basic" :tab="t('TXT_CODE_cc7b54b9')"></a-tab-pane>

View File

@ -215,6 +215,10 @@ const createInstance = async () => {
<template>
<div style="text-align: left">
<a-typography-paragraph v-if="createMethod === QUICKSTART_METHOD.DOCKER" :level="5">
<InfoCircleOutlined />
{{ t("TXT_CODE_b51bac6f") }}
</a-typography-paragraph>
<a-form ref="formRef" :rules="rules" :model="formData" layout="vertical" autocomplete="off">
<a-form-item name="nickname">
<a-typography-title :level="5" class="require-field">

View File

@ -1829,5 +1829,7 @@
"TXT_CODE_7ac6f85c": "Terminal is not supported in design mode.",
"TXT_CODE_4a37ec9c": "The number of web pages connected to this terminal, which may affect your terminal width and height",
"TXT_CODE_d58ffa0f": "The instance is not running!",
"TXT_CODE_d324bb21": "Address:"
"TXT_CODE_d324bb21": "Address:",
"TXT_CODE_cdf7c16a": "Only Admin can view and change these settings",
"TXT_CODE_b51bac6f": "To create an instance using a Docker image, you must ensure that Docker is installed correctly!"
}

View File

@ -1829,5 +1829,7 @@
"TXT_CODE_7ac6f85c": "设计模式下不支持展示终端。",
"TXT_CODE_4a37ec9c": "已连接到此终端的网页数量,这可能会影响到你的终端宽度和高度",
"TXT_CODE_d58ffa0f": "实例未处于运行中状态!",
"TXT_CODE_d324bb21": "访问地址:"
"TXT_CODE_d324bb21": "访问地址:",
"TXT_CODE_cdf7c16a": "这些设置只有管理员能够查看与更改",
"TXT_CODE_b51bac6f": "使用 Docker 镜像创建实例,您必须确保 Docker 已正确安装!"
}

View File

@ -1,12 +1,12 @@
{
"name": "mcsmanager-panel",
"version": "10.0.1",
"version": "10.0.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mcsmanager-panel",
"version": "10.0.1",
"version": "10.0.4",
"license": "Apache-2.0",
"dependencies": {
"@koa/router": "^10.0.0",