perf:系统设置及asset界面调整 & overview map tooltip调整 &其他修改

1.系统设置界面调整
2.overview map tooltip样式调整
3.endpoint 查询metric接口调整
4.asset 左侧菜单调整
This commit is contained in:
wangwenrui
2020-04-01 21:45:05 +08:00
parent 1b1c31b73f
commit f4f74a1cf3
8 changed files with 323 additions and 122 deletions

View File

@@ -210,7 +210,7 @@ const en = {
type:'type',
model:'model',
dc:'dataCenter'
}
},
},
project:{
project:'Project',
@@ -233,8 +233,26 @@ const en = {
top:'Top',
chart:{
chartTitle:'Alert Trend'
}
},
},
mapTooltip:{
asset:'asset',
state:'state',
ping:'ping',
inStock:'in stock',
outStock:'out stock',
active:'active',
inactive:'inactive',
alert:'alert',
high:'high',
medium:'medium',
low:'low',
endpoint:'endpoint',
total:'total',
up:'up',
down:'down',
prometheus:'prometheus',
}
}
},
validate: { //校验规则
@@ -271,7 +289,8 @@ const en = {
testSuccess:'Test success',
downloadSuccess : 'Download Success',
uploadSuccess: 'Upload Success',
pressEnterToAdd: 'Press enter to add new line'
pressEnterToAdd: 'Press enter to add new line',
resetSuccess:'Reset success',
},
asset:{
asset: 'Asset',
@@ -281,6 +300,12 @@ const en = {
assetStatPre:'Last reply:',
assetStatDown:'Never',
pingInactive:'inactive',
left:{
dataCenter:'DataCenter',
assetType:'Asset Type',
vendor:'Vendor',
ping:'Ping',
},
createAssetTab:{
title:'New asset',//'新增资产'
sn:'SN',//SN
@@ -506,35 +531,6 @@ const en = {
remark: 'Remark',
type: 'Type'
},
terminallog: {
terminallog: 'TerminalLog',
status: 'Status',//"状态"
option: 'Operation',//"操作",
host: 'Host',
cmd: 'CMD',
port: 'Port',
userId: 'UserID',
protocol: 'Protocol',
user: 'User',
detail: 'Terminal Log Detail',
resize: 'Terminal Resize',
download: 'Terminal Download',
upload: 'Terminal Upload',
selectFile: 'Select File',
SSH: 'SSH',
TELNET: 'TELNET',
id: 'ID',
time: 'Time',
width: 'Width',
height: 'Height',
cols: 'Cols',
rows: 'Rows',
uuid: 'UUID',
path: 'Path',
file: 'File',
success: 'Success',
fail: 'Fail'
},
mib:{
mib:'Mib',
fileName:'FileName',
@@ -670,17 +666,6 @@ const en = {
editModule: 'Edit module',//"编辑组件"
description: 'Description',//"描述"
createModule: 'New module',//"新增组件"
version: 'Version',
walk: 'Walk',
maxRepetitions: 'Max repetitions',
retries: 'Retries',
timeout: 'Timeout',
community: 'Community',
securityLevel: 'Security level',
authProtocol: 'Auth protocol',
privProtocol: 'Priv protocol',
contextName: 'Context name',
privPassword: 'Priv password',
tip: {
defaultEndpointSet: 'Default endpoint settings',//"默认的Endpoint设置"
relation: 'Module associated Endpoint will configure the following ports/paths/parameters by default'//"组件关联的Endpoint将默认配置以下端口/路径/参数"