1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 05:58:06 +08:00

feat: 增加 x-Pack 菜单 (#4009)

This commit is contained in:
zhengkunwang 2024-02-28 16:44:15 +08:00 committed by GitHub
parent 2affd2bc79
commit c13e2a36cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 51 additions and 5 deletions

View File

@ -2141,6 +2141,22 @@ const message = {
statusCode: 'Status code',
manage: 'Management',
},
xpack: {
name: 'X-Pack',
waf: {
name: 'WAF',
blackWhite: 'black and white list',
globalSetting: 'Global Setting',
websiteSetting: 'Website Settings',
blockRecords: 'Block records',
},
monitor: {
name: 'Website monitoring',
},
tamper: {
name: 'Tamper-proof',
},
},
},
};

View File

@ -2003,6 +2003,22 @@ const message = {
statusCode: '狀態碼',
manage: '管理',
},
xpack: {
name: 'X-Pack',
waf: {
name: 'WAF',
blackWhite: '黑白名單',
globalSetting: '全域設定',
websiteSetting: '網站設定',
blockRecords: '封鎖記錄',
},
monitor: {
name: '網站監控',
},
tamper: {
name: '防篡改',
},
},
},
};
export default {

View File

@ -2004,6 +2004,22 @@ const message = {
manage: '管理',
},
},
xpack: {
name: 'X-Pack',
waf: {
name: 'WAF',
blackWhite: '黑白名单',
globalSetting: '全局设置',
websiteSetting: '网站设置',
blockRecords: '封锁记录',
},
monitor: {
name: '网站监控',
},
tamper: {
name: '防篡改',
},
},
};
export default {
...fit2cloudZhLocale,

2
go.mod
View File

@ -311,7 +311,7 @@ replace (
github.com/containerd/containerd => github.com/containerd/containerd v1.7.13
github.com/cucumber/godog => github.com/cucumber/godog v0.12.6
github.com/docker/buildx => github.com/docker/buildx v0.12.0-rc2.0.20231219140829-617f538cb315
github.com/mattn/go-sqlite3 => github.com/jgiannuzzi/go-sqlite3 v1.14.17-0.20230719111531-6e53453ccbd3
github.com/mattn/go-sqlite3 => github.com/jgiannuzzi/go-sqlite3 v1.14.17-0.20240122133042-fb824c8e339e
github.com/moby/buildkit => github.com/moby/buildkit v0.13.0-beta3
golang.org/x/net => golang.org/x/net v0.17.0
k8s.io/api => k8s.io/api v0.29.2

6
go.sum
View File

@ -268,8 +268,6 @@ github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uq
github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
github.com/gin-contrib/gzip v0.0.6 h1:NjcunTcGAj5CO1gn4N8jHOSIeRFHIbn51z6K+xaN4d4=
github.com/gin-contrib/gzip v0.0.6/go.mod h1:QOJlmV2xmayAjkNS2Y8NQsMneuRShOU/kjovCXNuzzk=
github.com/gin-contrib/i18n v1.1.1 h1:2wwCkrU/Zsu91fwZBhpXAPTQbHnjengAs7TNLbtJmew=
github.com/gin-contrib/i18n v1.1.1/go.mod h1:BAC1NwrM9ApRxS5zehG/OSoM3DTXqTVoJs+6VTdnIDo=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk=
@ -487,8 +485,8 @@ github.com/jackc/pgx/v5 v5.5.3 h1:Ces6/M3wbDXYpM8JyyPD57ivTtJACFZJd885pdIaV2s=
github.com/jackc/pgx/v5 v5.5.3/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A=
github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk=
github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jgiannuzzi/go-sqlite3 v1.14.17-0.20230719111531-6e53453ccbd3 h1:Iqr8ZWwijosAcawoD9IZ7cwj61WH50Rysm+RQ+ZIB4I=
github.com/jgiannuzzi/go-sqlite3 v1.14.17-0.20230719111531-6e53453ccbd3/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg=
github.com/jgiannuzzi/go-sqlite3 v1.14.17-0.20240122133042-fb824c8e339e h1:0s+RSCZSEaZ3IM4fqMH1Nf5UDpttrn1R2QDutqiL2Zc=
github.com/jgiannuzzi/go-sqlite3 v1.14.17-0.20240122133042-fb824c8e339e/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg=
github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8=
github.com/jinzhu/copier v0.4.0/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg=
github.com/jinzhu/gorm v0.0.0-20170222002820-5409931a1bb8/go.mod h1:Vla75njaFJ8clLU1W44h34PjIkijhjHIYnZxMqCdxqo=