mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
Compare commits
7 Commits
7e7416e0e0
...
d5a02b5e24
Author | SHA1 | Date | |
---|---|---|---|
|
d5a02b5e24 | ||
|
8d72338552 | ||
|
a7a3228ac1 | ||
|
4eb9cfe218 | ||
|
548c17802e | ||
|
4b813073b0 | ||
|
75d2028d22 |
19
.github/ISSUE_TEMPLATE/bug-提交.md
vendored
Normal file
19
.github/ISSUE_TEMPLATE/bug-提交.md
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: Bug 提交
|
||||||
|
about: 提交 bug,让面板变得更好。
|
||||||
|
title: "[BUG]"
|
||||||
|
labels: ""
|
||||||
|
assignees: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
**面板版本(二选一)**
|
||||||
|
V0 | V1
|
||||||
|
|
||||||
|
**描述 bug**
|
||||||
|
在这里描述 bug 的相关信息
|
||||||
|
|
||||||
|
**屏幕截图**
|
||||||
|
有屏幕截图可以帮助更快定位到问题
|
||||||
|
|
||||||
|
**额外信息**
|
||||||
|
可附上其他需要的额外信息
|
14
.github/ISSUE_TEMPLATE/功能申请.md
vendored
Normal file
14
.github/ISSUE_TEMPLATE/功能申请.md
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
name: 功能申请
|
||||||
|
about: 描述需求
|
||||||
|
title: "[FEAT]"
|
||||||
|
labels: ""
|
||||||
|
assignees: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
**面板版本(二选一)**
|
||||||
|
V0 | V1
|
||||||
|
|
||||||
|
**需要什么?**
|
||||||
|
|
||||||
|
**额外信息**
|
14
.github/ISSUE_TEMPLATE/改善建议.md
vendored
Normal file
14
.github/ISSUE_TEMPLATE/改善建议.md
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
name: 改善建议
|
||||||
|
about: 交流面板需要改进的地方
|
||||||
|
title: "[SUGGEST]"
|
||||||
|
labels: ""
|
||||||
|
assignees: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
**面板版本(二选一)**
|
||||||
|
V0 | V1
|
||||||
|
|
||||||
|
**需要改进的?**
|
||||||
|
|
||||||
|
-
|
@ -199,6 +199,34 @@ export default function ServerDetailClient({
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</section>
|
</section>
|
||||||
|
<section className="flex flex-wrap gap-2 mt-1">
|
||||||
|
<Card className="rounded-[10px] bg-transparent border-none shadow-none">
|
||||||
|
<CardContent className="px-1.5 py-1">
|
||||||
|
<section className="flex flex-col items-start gap-0.5">
|
||||||
|
<p className="text-xs text-muted-foreground">{t("Upload")}</p>
|
||||||
|
{data.status.NetOutTransfer ? (
|
||||||
|
<div className="text-xs">
|
||||||
|
{" "}
|
||||||
|
{formatBytes(data.status.NetOutTransfer)}{" "}
|
||||||
|
</div>
|
||||||
|
) : null}
|
||||||
|
</section>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
<Card className="rounded-[10px] bg-transparent border-none shadow-none">
|
||||||
|
<CardContent className="px-1.5 py-1">
|
||||||
|
<section className="flex flex-col items-start gap-0.5">
|
||||||
|
<p className="text-xs text-muted-foreground">{t("Download")}</p>
|
||||||
|
{data.status.NetInTransfer ? (
|
||||||
|
<div className="text-xs">
|
||||||
|
{" "}
|
||||||
|
{formatBytes(data.status.NetInTransfer)}{" "}
|
||||||
|
</div>
|
||||||
|
) : null}
|
||||||
|
</section>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
</section>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,9 @@
|
|||||||
"Disk": "Disk",
|
"Disk": "Disk",
|
||||||
"Region": "Region",
|
"Region": "Region",
|
||||||
"System": "System",
|
"System": "System",
|
||||||
"CPU": "CPU"
|
"CPU": "CPU",
|
||||||
|
"Upload": "Upload",
|
||||||
|
"Download": "Download"
|
||||||
},
|
},
|
||||||
"ServerDetailChartClient": {
|
"ServerDetailChartClient": {
|
||||||
"chart_fetch_error_message": "Please check your environment variables and review the server console",
|
"chart_fetch_error_message": "Please check your environment variables and review the server console",
|
||||||
|
@ -61,7 +61,9 @@
|
|||||||
"Disk": "ディスク",
|
"Disk": "ディスク",
|
||||||
"Region": "地域",
|
"Region": "地域",
|
||||||
"System": "システム",
|
"System": "システム",
|
||||||
"CPU": "CPU"
|
"CPU": "CPU",
|
||||||
|
"Upload": "Upload",
|
||||||
|
"Download": "Download"
|
||||||
},
|
},
|
||||||
"ServerDetailChartClient": {
|
"ServerDetailChartClient": {
|
||||||
"chart_fetch_error_message": "環境変数を確認し、サーバーコンソールを確認してください",
|
"chart_fetch_error_message": "環境変数を確認し、サーバーコンソールを確認してください",
|
||||||
|
@ -61,7 +61,9 @@
|
|||||||
"Disk": "磁碟",
|
"Disk": "磁碟",
|
||||||
"Region": "地區",
|
"Region": "地區",
|
||||||
"System": "系統",
|
"System": "系統",
|
||||||
"CPU": "CPU"
|
"CPU": "CPU",
|
||||||
|
"Upload": "上傳",
|
||||||
|
"Download": "下載"
|
||||||
},
|
},
|
||||||
"ServerDetailChartClient": {
|
"ServerDetailChartClient": {
|
||||||
"chart_fetch_error_message": "獲取伺服器詳情失敗,請檢查您的環境變數並檢查伺服器控制台",
|
"chart_fetch_error_message": "獲取伺服器詳情失敗,請檢查您的環境變數並檢查伺服器控制台",
|
||||||
|
@ -61,7 +61,9 @@
|
|||||||
"Disk": "磁盘",
|
"Disk": "磁盘",
|
||||||
"Region": "地区",
|
"Region": "地区",
|
||||||
"System": "系统",
|
"System": "系统",
|
||||||
"CPU": "CPU"
|
"CPU": "CPU",
|
||||||
|
"Upload": "上传",
|
||||||
|
"Download": "下载"
|
||||||
},
|
},
|
||||||
"ServerDetailChartClient": {
|
"ServerDetailChartClient": {
|
||||||
"chart_fetch_error_message": "获取服务器详情失败,请检查您的环境变量并检查服务器控制台",
|
"chart_fetch_error_message": "获取服务器详情失败,请检查您的环境变量并检查服务器控制台",
|
||||||
|
10
package.json
10
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nezha-dash",
|
"name": "nezha-dash",
|
||||||
"version": "1.5.6-fix",
|
"version": "1.5.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 3040",
|
"dev": "next dev -p 3040",
|
||||||
@ -56,18 +56,18 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@next/bundle-analyzer": "^15.0.3",
|
"@next/bundle-analyzer": "^15.0.3",
|
||||||
"@tailwindcss/postcss": "^4.0.0-beta.3",
|
"@tailwindcss/postcss": "^4.0.0-beta.4",
|
||||||
"@types/node": "^22.10.0",
|
"@types/node": "^22.10.1",
|
||||||
"@types/react": "npm:types-react@19.0.0-rc.1",
|
"@types/react": "npm:types-react@19.0.0-rc.1",
|
||||||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
|
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
|
||||||
"eslint": "^9.15.0",
|
"eslint": "^9.16.0",
|
||||||
"eslint-config-next": "^15.0.3",
|
"eslint-config-next": "^15.0.3",
|
||||||
"eslint-plugin-turbo": "^2.3.3",
|
"eslint-plugin-turbo": "^2.3.3",
|
||||||
"eslint-plugin-unused-imports": "^4.1.4",
|
"eslint-plugin-unused-imports": "^4.1.4",
|
||||||
"postcss": "^8.4.49",
|
"postcss": "^8.4.49",
|
||||||
"prettier": "^3.4.1",
|
"prettier": "^3.4.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.9",
|
"prettier-plugin-tailwindcss": "^0.6.9",
|
||||||
"tailwindcss": "^4.0.0-beta.3",
|
"tailwindcss": "^4.0.0-beta.4",
|
||||||
"typescript": "^5.7.2",
|
"typescript": "^5.7.2",
|
||||||
"vercel": "39.1.1"
|
"vercel": "39.1.1"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user