diff --git a/frontend/src/assets/iconfont/iconfont.css b/frontend/src/assets/iconfont/iconfont.css index e5aedcbc5..1d94269c0 100644 --- a/frontend/src/assets/iconfont/iconfont.css +++ b/frontend/src/assets/iconfont/iconfont.css @@ -1,9 +1,9 @@ @font-face { font-family: "panel"; /* Project id 3575356 */ - src: url('iconfont.woff2?t=1717570629440') format('woff2'), - url('iconfont.woff?t=1717570629440') format('woff'), - url('iconfont.ttf?t=1717570629440') format('truetype'), - url('iconfont.svg?t=1717570629440#panel') format('svg'); + src: url('iconfont.woff2?t=1724290117056') format('woff2'), + url('iconfont.woff?t=1724290117056') format('woff'), + url('iconfont.ttf?t=1724290117056') format('truetype'), + url('iconfont.svg?t=1724290117056#panel') format('svg'); } .panel { @@ -14,6 +14,50 @@ -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 { content: "\e76a"; } @@ -178,18 +222,10 @@ content: "\e856"; } -.p-webdav:before { - content: "\e622"; -} - .p-xiangqing:before { content: "\e677"; } -.p-onedrive:before { - content: "\e601"; -} - .p-caidan:before { content: "\e61d"; } @@ -198,14 +234,6 @@ content: "\e744"; } -.p-tengxunyun1:before { - content: "\e651"; -} - -.p-qiniuyun:before { - content: "\e62c"; -} - .p-file-png:before { content: "\e7ae"; } @@ -250,10 +278,6 @@ content: "\e60f"; } -.p-aws:before { - content: "\e600"; -} - .p-taolun:before { content: "\e602"; } @@ -262,22 +286,10 @@ content: "\e616"; } -.p-SFTP:before { - content: "\e647"; -} - .p-huaban88:before { content: "\e67c"; } -.p-oss:before { - content: "\e607"; -} - -.p-minio:before { - content: "\e63c"; -} - .p-logout:before { content: "\e8fe"; } diff --git a/frontend/src/assets/iconfont/iconfont.js b/frontend/src/assets/iconfont/iconfont.js index e7cd569dd..1093cec1d 100644 --- a/frontend/src/assets/iconfont/iconfont.js +++ b/frontend/src/assets/iconfont/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_3575356='',function(c){var l=(l=document.getElementsByTagName("script"))[l.length-1],a=l.getAttribute("data-injectcss"),l=l.getAttribute("data-disable-injectsvg");if(!l){var h,t,p,z,v,i=function(l,a){a.parentNode.insertBefore(l,a)};if(a&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(l){console&&console.log(l)}}h=function(){var l,a=document.createElement("div");a.innerHTML=c._iconfont_svg_string_3575356,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",a=a,(l=document.body).firstChild?i(a,l.firstChild):l.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(h,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),h()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(p=h,z=c.document,v=!1,d(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,m())})}function m(){v||(v=!0,p())}function d(){try{z.documentElement.doScroll("left")}catch(l){return void setTimeout(d,50)}m()}}(window); \ No newline at end of file +window._iconfont_svg_string_3575356='',(h=>{var l=(a=(a=document.getElementsByTagName("script"))[a.length-1]).getAttribute("data-injectcss"),a=a.getAttribute("data-disable-injectsvg");if(!a){var c,t,p,z,v,i=function(l,a){a.parentNode.insertBefore(l,a)};if(l&&!h.__iconfont__svg__cssinject__){h.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(l){console&&console.log(l)}}c=function(){var l,a=document.createElement("div");a.innerHTML=h._iconfont_svg_string_3575356,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",a=a,(l=document.body).firstChild?i(a,l.firstChild):l.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(c,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),c()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(p=c,z=h.document,v=!1,d(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,m())})}function m(){v||(v=!0,p())}function d(){try{z.documentElement.doScroll("left")}catch(l){return void setTimeout(d,50)}m()}})(window); \ No newline at end of file diff --git a/frontend/src/assets/iconfont/iconfont.json b/frontend/src/assets/iconfont/iconfont.json index 22ab3cc64..aeb2bfeb2 100644 --- a/frontend/src/assets/iconfont/iconfont.json +++ b/frontend/src/assets/iconfont/iconfont.json @@ -5,6 +5,83 @@ "css_prefix_text": "p-", "description": "", "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", "name": "docker", @@ -292,13 +369,6 @@ "unicode": "e856", "unicode_decimal": 59478 }, - { - "icon_id": "23044673", - "name": "webdav", - "font_class": "webdav", - "unicode": "e622", - "unicode_decimal": 58914 - }, { "icon_id": "10293150", "name": "详情", @@ -306,13 +376,6 @@ "unicode": "e677", "unicode_decimal": 58999 }, - { - "icon_id": "13015332", - "name": "onedrive", - "font_class": "onedrive", - "unicode": "e601", - "unicode_decimal": 58881 - }, { "icon_id": "7708032", "name": "菜单", @@ -327,20 +390,6 @@ "unicode": "e744", "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", "name": "png-1", @@ -418,13 +467,6 @@ "unicode": "e60f", "unicode_decimal": 58895 }, - { - "icon_id": "32101973", - "name": "Amazon_Web_Services_Logo", - "font_class": "aws", - "unicode": "e600", - "unicode_decimal": 58880 - }, { "icon_id": "1760690", "name": "讨论", @@ -439,13 +481,6 @@ "unicode": "e616", "unicode_decimal": 58902 }, - { - "icon_id": "13532955", - "name": "SFTP", - "font_class": "SFTP", - "unicode": "e647", - "unicode_decimal": 58951 - }, { "icon_id": "15337722", "name": "Logo GitHub", @@ -453,20 +488,6 @@ "unicode": "e67c", "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", "name": "logout", diff --git a/frontend/src/assets/iconfont/iconfont.svg b/frontend/src/assets/iconfont/iconfont.svg index 6d72b92c2..92bc3eed9 100644 --- a/frontend/src/assets/iconfont/iconfont.svg +++ b/frontend/src/assets/iconfont/iconfont.svg @@ -14,6 +14,28 @@ /> + + + + + + + + + + + + + + + + + + + + + + @@ -96,20 +118,12 @@ - - - - - - - - @@ -132,20 +146,12 @@ - - - - - - - - diff --git a/frontend/src/assets/iconfont/iconfont.ttf b/frontend/src/assets/iconfont/iconfont.ttf index 9a67b14c0..7fed103dc 100644 Binary files a/frontend/src/assets/iconfont/iconfont.ttf and b/frontend/src/assets/iconfont/iconfont.ttf differ diff --git a/frontend/src/assets/iconfont/iconfont.woff b/frontend/src/assets/iconfont/iconfont.woff index df3003dd6..41119e6da 100644 Binary files a/frontend/src/assets/iconfont/iconfont.woff and b/frontend/src/assets/iconfont/iconfont.woff differ diff --git a/frontend/src/assets/iconfont/iconfont.woff2 b/frontend/src/assets/iconfont/iconfont.woff2 index f78318842..c4f3aed1f 100644 Binary files a/frontend/src/assets/iconfont/iconfont.woff2 and b/frontend/src/assets/iconfont/iconfont.woff2 differ diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index dc81102b1..95a87c2b1 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1681,7 +1681,7 @@ const message = { 'Upgrading to the professional version allows customization of panel logo, welcome message, and other information.', monitor: '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: { scan: 'Start Scanning', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index ee89792aa..77b22ea12 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1562,7 +1562,7 @@ const message = { gpu: '升級專業版可以幫助用戶實時直觀查看到 GPU 的工作負載、溫度、顯存等重要參數。', setting: '升級專業版可以自定義面板 Logo、歡迎簡介等信息。', monitor: '升級專業版可以查看網站的即時狀態、訪客趨勢、訪客來源、請求日誌等資訊。 ', - alert: '升級專業版可以簡訊接收告警資訊等。', + alert: '陞級專業版可通過簡訊接收告警資訊,並查看告警日誌,全面掌控各類關鍵事件,確保系統運行無憂。', }, clean: { scan: '開始掃描', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 1312a60f0..c0b793617 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1564,7 +1564,7 @@ const message = { gpu: '升级专业版可以帮助用户实时直观查看到 GPU 的工作负载、温度、显存等重要参数。', setting: '升级专业版可以自定义面板 Logo、欢迎简介等信息。', monitor: '升级专业版可以查看网站的实时状态、访客趋势、访客来源、请求日志等信息。', - alert: '升级专业版可以短信接收告警信息等。', + alert: '升级专业版可通过短信接收告警信息,并查看告警日志,全面掌控各类关键事件,确保系统运行无忧。', }, clean: { scan: '开始扫描',