mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +08:00
feat: 告警通知功能完善 (#6211)
This commit is contained in:
parent
626f5efdcd
commit
92a3982f21
@ -1,9 +1,9 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "panel"; /* Project id 3575356 */
|
font-family: "panel"; /* Project id 3575356 */
|
||||||
src: url('iconfont.woff2?t=1717570629440') format('woff2'),
|
src: url('iconfont.woff2?t=1724290117056') format('woff2'),
|
||||||
url('iconfont.woff?t=1717570629440') format('woff'),
|
url('iconfont.woff?t=1724290117056') format('woff'),
|
||||||
url('iconfont.ttf?t=1717570629440') format('truetype'),
|
url('iconfont.ttf?t=1724290117056') format('truetype'),
|
||||||
url('iconfont.svg?t=1717570629440#panel') format('svg');
|
url('iconfont.svg?t=1724290117056#panel') format('svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
@ -14,6 +14,50 @@
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.p-alert-1:before {
|
||||||
|
content: "\e611";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-alert-2:before {
|
||||||
|
content: "\e701";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-aws:before {
|
||||||
|
content: "\e600";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-tengxunyun1:before {
|
||||||
|
content: "\e651";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-qiniuyun:before {
|
||||||
|
content: "\e62c";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-minio:before {
|
||||||
|
content: "\e63c";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-onedrive:before {
|
||||||
|
content: "\e601";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-oss:before {
|
||||||
|
content: "\e607";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-SFTP:before {
|
||||||
|
content: "\e647";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-webdav:before {
|
||||||
|
content: "\e622";
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-zhongduan:before {
|
||||||
|
content: "\e731";
|
||||||
|
}
|
||||||
|
|
||||||
.p-docker1:before {
|
.p-docker1:before {
|
||||||
content: "\e76a";
|
content: "\e76a";
|
||||||
}
|
}
|
||||||
@ -178,18 +222,10 @@
|
|||||||
content: "\e856";
|
content: "\e856";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-webdav:before {
|
|
||||||
content: "\e622";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-xiangqing:before {
|
.p-xiangqing:before {
|
||||||
content: "\e677";
|
content: "\e677";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-onedrive:before {
|
|
||||||
content: "\e601";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-caidan:before {
|
.p-caidan:before {
|
||||||
content: "\e61d";
|
content: "\e61d";
|
||||||
}
|
}
|
||||||
@ -198,14 +234,6 @@
|
|||||||
content: "\e744";
|
content: "\e744";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-tengxunyun1:before {
|
|
||||||
content: "\e651";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-qiniuyun:before {
|
|
||||||
content: "\e62c";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-file-png:before {
|
.p-file-png:before {
|
||||||
content: "\e7ae";
|
content: "\e7ae";
|
||||||
}
|
}
|
||||||
@ -250,10 +278,6 @@
|
|||||||
content: "\e60f";
|
content: "\e60f";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-aws:before {
|
|
||||||
content: "\e600";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-taolun:before {
|
.p-taolun:before {
|
||||||
content: "\e602";
|
content: "\e602";
|
||||||
}
|
}
|
||||||
@ -262,22 +286,10 @@
|
|||||||
content: "\e616";
|
content: "\e616";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-SFTP:before {
|
|
||||||
content: "\e647";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-huaban88:before {
|
.p-huaban88:before {
|
||||||
content: "\e67c";
|
content: "\e67c";
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-oss:before {
|
|
||||||
content: "\e607";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-minio:before {
|
|
||||||
content: "\e63c";
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-logout:before {
|
.p-logout:before {
|
||||||
content: "\e8fe";
|
content: "\e8fe";
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -5,6 +5,83 @@
|
|||||||
"css_prefix_text": "p-",
|
"css_prefix_text": "p-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "29851742",
|
||||||
|
"name": "短信告警",
|
||||||
|
"font_class": "alert-1",
|
||||||
|
"unicode": "e611",
|
||||||
|
"unicode_decimal": 58897
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "33427786",
|
||||||
|
"name": "告警日志",
|
||||||
|
"font_class": "alert-2",
|
||||||
|
"unicode": "e701",
|
||||||
|
"unicode_decimal": 59137
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "32101973",
|
||||||
|
"name": "Amazon_Web_Services_Logo",
|
||||||
|
"font_class": "aws",
|
||||||
|
"unicode": "e600",
|
||||||
|
"unicode_decimal": 58880
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "12959160",
|
||||||
|
"name": "腾讯云",
|
||||||
|
"font_class": "tengxunyun1",
|
||||||
|
"unicode": "e651",
|
||||||
|
"unicode_decimal": 58961
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "24877229",
|
||||||
|
"name": "七牛云",
|
||||||
|
"font_class": "qiniuyun",
|
||||||
|
"unicode": "e62c",
|
||||||
|
"unicode_decimal": 58924
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "20290513",
|
||||||
|
"name": "minio",
|
||||||
|
"font_class": "minio",
|
||||||
|
"unicode": "e63c",
|
||||||
|
"unicode_decimal": 58940
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "13015332",
|
||||||
|
"name": "onedrive",
|
||||||
|
"font_class": "onedrive",
|
||||||
|
"unicode": "e601",
|
||||||
|
"unicode_decimal": 58881
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "16268521",
|
||||||
|
"name": "oss",
|
||||||
|
"font_class": "oss",
|
||||||
|
"unicode": "e607",
|
||||||
|
"unicode_decimal": 58887
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "13532955",
|
||||||
|
"name": "SFTP",
|
||||||
|
"font_class": "SFTP",
|
||||||
|
"unicode": "e647",
|
||||||
|
"unicode_decimal": 58951
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "23044673",
|
||||||
|
"name": "webdav",
|
||||||
|
"font_class": "webdav",
|
||||||
|
"unicode": "e622",
|
||||||
|
"unicode_decimal": 58914
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "30053592",
|
||||||
|
"name": "终端",
|
||||||
|
"font_class": "zhongduan",
|
||||||
|
"unicode": "e731",
|
||||||
|
"unicode_decimal": 59185
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "1064806",
|
"icon_id": "1064806",
|
||||||
"name": "docker",
|
"name": "docker",
|
||||||
@ -292,13 +369,6 @@
|
|||||||
"unicode": "e856",
|
"unicode": "e856",
|
||||||
"unicode_decimal": 59478
|
"unicode_decimal": 59478
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "23044673",
|
|
||||||
"name": "webdav",
|
|
||||||
"font_class": "webdav",
|
|
||||||
"unicode": "e622",
|
|
||||||
"unicode_decimal": 58914
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "10293150",
|
"icon_id": "10293150",
|
||||||
"name": "详情",
|
"name": "详情",
|
||||||
@ -306,13 +376,6 @@
|
|||||||
"unicode": "e677",
|
"unicode": "e677",
|
||||||
"unicode_decimal": 58999
|
"unicode_decimal": 58999
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "13015332",
|
|
||||||
"name": "onedrive",
|
|
||||||
"font_class": "onedrive",
|
|
||||||
"unicode": "e601",
|
|
||||||
"unicode_decimal": 58881
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "7708032",
|
"icon_id": "7708032",
|
||||||
"name": "菜单",
|
"name": "菜单",
|
||||||
@ -327,20 +390,6 @@
|
|||||||
"unicode": "e744",
|
"unicode": "e744",
|
||||||
"unicode_decimal": 59204
|
"unicode_decimal": 59204
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "12959160",
|
|
||||||
"name": "腾讯云",
|
|
||||||
"font_class": "tengxunyun1",
|
|
||||||
"unicode": "e651",
|
|
||||||
"unicode_decimal": 58961
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"icon_id": "24877229",
|
|
||||||
"name": "七牛云",
|
|
||||||
"font_class": "qiniuyun",
|
|
||||||
"unicode": "e62c",
|
|
||||||
"unicode_decimal": 58924
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "19671162",
|
"icon_id": "19671162",
|
||||||
"name": "png-1",
|
"name": "png-1",
|
||||||
@ -418,13 +467,6 @@
|
|||||||
"unicode": "e60f",
|
"unicode": "e60f",
|
||||||
"unicode_decimal": 58895
|
"unicode_decimal": 58895
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "32101973",
|
|
||||||
"name": "Amazon_Web_Services_Logo",
|
|
||||||
"font_class": "aws",
|
|
||||||
"unicode": "e600",
|
|
||||||
"unicode_decimal": 58880
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "1760690",
|
"icon_id": "1760690",
|
||||||
"name": "讨论",
|
"name": "讨论",
|
||||||
@ -439,13 +481,6 @@
|
|||||||
"unicode": "e616",
|
"unicode": "e616",
|
||||||
"unicode_decimal": 58902
|
"unicode_decimal": 58902
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "13532955",
|
|
||||||
"name": "SFTP",
|
|
||||||
"font_class": "SFTP",
|
|
||||||
"unicode": "e647",
|
|
||||||
"unicode_decimal": 58951
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "15337722",
|
"icon_id": "15337722",
|
||||||
"name": "Logo GitHub",
|
"name": "Logo GitHub",
|
||||||
@ -453,20 +488,6 @@
|
|||||||
"unicode": "e67c",
|
"unicode": "e67c",
|
||||||
"unicode_decimal": 59004
|
"unicode_decimal": 59004
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"icon_id": "16268521",
|
|
||||||
"name": "oss",
|
|
||||||
"font_class": "oss",
|
|
||||||
"unicode": "e607",
|
|
||||||
"unicode_decimal": 58887
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"icon_id": "20290513",
|
|
||||||
"name": "minio",
|
|
||||||
"font_class": "minio",
|
|
||||||
"unicode": "e63c",
|
|
||||||
"unicode_decimal": 58940
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"icon_id": "924436",
|
"icon_id": "924436",
|
||||||
"name": "logout",
|
"name": "logout",
|
||||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 174 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1681,7 +1681,7 @@ const message = {
|
|||||||
'Upgrading to the professional version allows customization of panel logo, welcome message, and other information.',
|
'Upgrading to the professional version allows customization of panel logo, welcome message, and other information.',
|
||||||
monitor:
|
monitor:
|
||||||
'Upgrade to the professional version to view the real-time status of the website, visitor trends, visitor sources, request logs and other information. ',
|
'Upgrade to the professional version to view the real-time status of the website, visitor trends, visitor sources, request logs and other information. ',
|
||||||
alert: 'Upgrading to the professional version allows you to receive alarm information via SMS.',
|
alert: 'Upgrade to the professional version to receive alarm information via SMS and view alarm logs, fully control various key events, and ensure worry-free system operation',
|
||||||
},
|
},
|
||||||
clean: {
|
clean: {
|
||||||
scan: 'Start Scanning',
|
scan: 'Start Scanning',
|
||||||
|
@ -1562,7 +1562,7 @@ const message = {
|
|||||||
gpu: '升級專業版可以幫助用戶實時直觀查看到 GPU 的工作負載、溫度、顯存等重要參數。',
|
gpu: '升級專業版可以幫助用戶實時直觀查看到 GPU 的工作負載、溫度、顯存等重要參數。',
|
||||||
setting: '升級專業版可以自定義面板 Logo、歡迎簡介等信息。',
|
setting: '升級專業版可以自定義面板 Logo、歡迎簡介等信息。',
|
||||||
monitor: '升級專業版可以查看網站的即時狀態、訪客趨勢、訪客來源、請求日誌等資訊。 ',
|
monitor: '升級專業版可以查看網站的即時狀態、訪客趨勢、訪客來源、請求日誌等資訊。 ',
|
||||||
alert: '升級專業版可以簡訊接收告警資訊等。',
|
alert: '陞級專業版可通過簡訊接收告警資訊,並查看告警日誌,全面掌控各類關鍵事件,確保系統運行無憂。',
|
||||||
},
|
},
|
||||||
clean: {
|
clean: {
|
||||||
scan: '開始掃描',
|
scan: '開始掃描',
|
||||||
|
@ -1564,7 +1564,7 @@ const message = {
|
|||||||
gpu: '升级专业版可以帮助用户实时直观查看到 GPU 的工作负载、温度、显存等重要参数。',
|
gpu: '升级专业版可以帮助用户实时直观查看到 GPU 的工作负载、温度、显存等重要参数。',
|
||||||
setting: '升级专业版可以自定义面板 Logo、欢迎简介等信息。',
|
setting: '升级专业版可以自定义面板 Logo、欢迎简介等信息。',
|
||||||
monitor: '升级专业版可以查看网站的实时状态、访客趋势、访客来源、请求日志等信息。',
|
monitor: '升级专业版可以查看网站的实时状态、访客趋势、访客来源、请求日志等信息。',
|
||||||
alert: '升级专业版可以短信接收告警信息等。',
|
alert: '升级专业版可通过短信接收告警信息,并查看告警日志,全面掌控各类关键事件,确保系统运行无忧。',
|
||||||
},
|
},
|
||||||
clean: {
|
clean: {
|
||||||
scan: '开始扫描',
|
scan: '开始扫描',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user