Skip to content

Commit

Permalink
feat:汉化,并提交release部署版本
Browse files Browse the repository at this point in the history
  • Loading branch information
weifj committed Nov 22, 2019
1 parent 3147162 commit 9fc2c47
Show file tree
Hide file tree
Showing 23 changed files with 188 additions and 188 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ public CommonResponse loadTopDate(@ModelAttribute DubboInvoke dubboInvoke) {
sdataList.add(data);
}
slineChartSeries.setData(sdataList);
slineChartSeries.setName("provider");
slineChartSeries.setName("提供者");

successDubboInvokeLineChart.setxAxisCategories(sxAxisCategories);
successDubboInvokeLineChart.setSeriesData(Arrays.asList(slineChartSeries));
successDubboInvokeLineChart.setChartType("SUCCESS");
successDubboInvokeLineChart.setTitle("The Top 20 of Invoke Success");
successDubboInvokeLineChart.setTitle("前20个成功请求"); // The Top 20 of Invoke Success
successDubboInvokeLineChart.setyAxisTitle("t");
dubboInvokeLineChartList.add(successDubboInvokeLineChart);

Expand All @@ -121,12 +121,12 @@ public CommonResponse loadTopDate(@ModelAttribute DubboInvoke dubboInvoke) {
fdataList.add(data);
}
flineChartSeries.setData(fdataList);
flineChartSeries.setName("provider");
flineChartSeries.setName("提供者");

failureDubboInvokeLineChart.setxAxisCategories(fxAxisCategories);
failureDubboInvokeLineChart.setSeriesData(Arrays.asList(flineChartSeries));
failureDubboInvokeLineChart.setChartType("FAILURE");
failureDubboInvokeLineChart.setTitle("The Top 20 of Invoke Failure");
failureDubboInvokeLineChart.setTitle("前20个失败请求"); // The Top 20 of Invoke Failure
failureDubboInvokeLineChart.setyAxisTitle("t");
dubboInvokeLineChartList.add(failureDubboInvokeLineChart);

Expand Down
22 changes: 11 additions & 11 deletions src/main/webapp/WEB-INF/views/application/applications.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Applications
<small>overview</small>
应用
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li class="active">Applications</li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li class="active">应用</li>
</ol>
</section>

Expand All @@ -17,7 +17,7 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">List of Application</h3>
<h3 class="box-title">应用列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
Expand All @@ -37,12 +37,12 @@ <h3 class="box-title">List of Application</h3>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Application name</th>
<th>Owner</th>
<th>Providers</th>
<th>Consumers</th>
<th>Depends On</th>
<th>Used by</th>
<th>应用名称</th>
<th>所有者</th>
<th>提供者</th>
<th>使用者</th>
<th>依赖项</th>
<th>被用于</th>
</tr>
</thead>
<tbody>
Expand Down
18 changes: 9 additions & 9 deletions src/main/webapp/WEB-INF/views/application/consumers.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Application consumers
<small>overview</small>
应用 使用者
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li><a href="applications"><i class="fa fa-cubes"></i> Applications</a></li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li><a href="applications"><i class="fa fa-cubes"></i> 应用</a></li>
<li>${application}</li>
<li class="active">
<a href="applications/providers?application=${application}">Providers</a> | Consumers | <a href="applications/dependencies?application=${application}">Depends On</a> | <a href="applications/dependencies?application=${application}&reverse=true">Used By</a>
<a href="applications/providers?application=${application}">提供者</a> | 使用者 | <a href="applications/dependencies?application=${application}">Depends On</a> | <a href="applications/dependencies?application=${application}&reverse=true">Used By</a>
</li>
</ol>
</section>
Expand All @@ -21,11 +21,11 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Lists of application consumer</h3>
<h3 class="box-title">应用使用者列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="Consumer URL"/>
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="使用者URL地址"/>

<div class="input-group-btn">
<button class="btn btn-sm btn-default"><i class="fa fa-search"></i></button>
Expand All @@ -38,8 +38,8 @@ <h3 class="box-title">Lists of application consumer</h3>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Unregister</th>
<th>Consumer URL</th>
<th>未注册</th>
<th>使用者URL地址</th>
</tr>
</thead>
<tbody>
Expand Down
18 changes: 9 additions & 9 deletions src/main/webapp/WEB-INF/views/application/dependencies.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Application ${reverse ? "used by" : "depends on"}
<small>overview</small>
应用 ${reverse ? "被使用" : "依赖"}
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li><a href="applications"><i class="fa fa-cubes"></i> Applications</a></li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li><a href="applications"><i class="fa fa-cubes"></i> 应用</a></li>
<li>${application}</li>
<li class="active">
<a href="applications/providers?application=${application}">Providers</a> | <a href="applications/consumers?application=${application}">Consumers</a> |
<a href="applications/providers?application=${application}">提供者</a> | <a href="applications/consumers?application=${application}">使用者</a> |
#if (reverse)
<a href="applications/dependencies?application=${application}">Depends On</a> | Used By
<a href="applications/dependencies?application=${application}">依赖</a> | 被使用
#else
Depends On | <a href="applications/dependencies?application=${application}&reverse=true">Used By</a>
Depends On | <a href="applications/dependencies?application=${application}&reverse=true">被使用</a>
#end
</li>
</ol>
Expand All @@ -26,7 +26,7 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Lists of application ${reverse ? "used by" : "depends on"}</h3>
<h3 class="box-title"> ${reverse ? "被使用" : "依赖"}应用列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
Expand All @@ -43,7 +43,7 @@ <h3 class="box-title">Lists of application ${reverse ? "used by" : "depends on"}
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Application name</th>
<th>应用名称</th>
</tr>
</thead>
<tbody>
Expand Down
18 changes: 9 additions & 9 deletions src/main/webapp/WEB-INF/views/application/providers.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Service providers
<small>overview</small>
服务 提供者
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li><a href="applications"><i class="fa fa-cubes"></i> Applications</a></li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li><a href="applications"><i class="fa fa-cubes"></i> 应用</a></li>
<li>${application}</li>
<li class="active">
Providers | <a href="applications/consumers?application=${application}">Consumers</a> | <a href="applications/dependencies?application=${application}">Depends On</a> | <a href="applications/dependencies?application=${application}&reverse=true">Used By</a>
提供者 | <a href="applications/consumers?application=${application}">使用者</a> | <a href="applications/dependencies?application=${application}">Depends On</a> | <a href="applications/dependencies?application=${application}&reverse=true">Used By</a>
</li>
</ol>
</section>
Expand All @@ -21,11 +21,11 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Lists of application provider</h3>
<h3 class="box-title">应用提供者列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="Provider URL"/>
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="提供者的URL地址"/>

<div class="input-group-btn">
<button class="btn btn-sm btn-default"><i class="fa fa-search"></i></button>
Expand All @@ -38,8 +38,8 @@ <h3 class="box-title">Lists of application provider</h3>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Unregister</th>
<th>Provider URL</th>
<th>未注册</th>
<th>提供者的URL地址</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/views/common/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<div class="pull-right hidden-xs">
<b>Version</b> 1.0.0
</div>
<strong>Copyright &copy; 2016-2025 上海数慧系统技术有限公司</strong> All Rights Reserved
<strong>Copyright &copy; 2016-2020 上海数慧系统技术有限公司</strong> All Rights Reserved
</footer>
18 changes: 9 additions & 9 deletions src/main/webapp/WEB-INF/views/host/consumers.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Host consumers
<small>overview</small>
集群 使用者
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li><a href="hosts"><i class="fa fa-sliders"></i> Hosts</a></li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li><a href="hosts"><i class="fa fa-sliders"></i> 集群</a></li>
<li>${address}</li>
<li class="active">
<a href="hosts/providers?host=${host}">Providers</a> | Consumers
<a href="hosts/providers?host=${host}">提供者</a> | 使用者
</li>
</ol>
</section>
Expand All @@ -21,11 +21,11 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Lists of host consumer</h3>
<h3 class="box-title">集群使用者列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="Consumer URL"/>
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="使用者URL地址"/>

<div class="input-group-btn">
<button class="btn btn-sm btn-default"><i class="fa fa-search"></i></button>
Expand All @@ -38,8 +38,8 @@ <h3 class="box-title">Lists of host consumer</h3>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Unregister</th>
<th>Consumer URL</th>
<th>未注册</th>
<th>使用者URL地址</th>
</tr>
</thead>
<tbody>
Expand Down
26 changes: 13 additions & 13 deletions src/main/webapp/WEB-INF/views/host/hosts.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Hosts
<small>overview</small>
集群
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li class="active">Hosts</li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li class="active">集群</li>
</ol>
</section>

Expand All @@ -17,11 +17,11 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Lists of host</h3>
<h3 class="box-title">主机列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="Host name/IP"/>
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="主机名或IP地址"/>

<div class="input-group-btn">
<button class="btn btn-sm btn-default"><i class="fa fa-search"></i></button>
Expand All @@ -34,11 +34,11 @@ <h3 class="box-title">Lists of host</h3>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Host</th>
<th>Application</th>
<th>Owner</th>
<th>Providers</th>
<th>Consumers</th>
<th>主机</th>
<th>应用</th>
<th>所有者</th>
<th>提供者</th>
<th>使用者</th>
</tr>
</thead>
<tbody>
Expand All @@ -51,14 +51,14 @@ <h3 class="box-title">Lists of host</h3>
#if (row.providerCount > 0)
<a href="hosts/providers?host=${row.host}"><i class="fa fa-truck"></i> [${row.providerCount}]</a>
#else
<span class="badge bg-gray">No provider</span>
<span class="badge bg-gray">无提供者</span>
#end
</td>
<td>
#if (row.consumerCount > 0)
<a href="hosts/consumers?host=${row.host}"><i class="fa fa-credit-card"></i> [${row.consumerCount}]</a>
#else
<span class="badge bg-gray">No consumer</span>
<span class="badge bg-gray">无消费者</span>
#end
</td>
</tr>
Expand Down
18 changes: 9 additions & 9 deletions src/main/webapp/WEB-INF/views/host/providers.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#tag layout_block("mainContent")
<section class="content-header">
<h1>
Host providers
<small>overview</small>
集群 提供者
<small>概览</small>
</h1>
<ol class="breadcrumb">
<li><a href=""><i class="fa fa-home"></i> Home</a></li>
<li><a href="hosts"><i class="fa fa-sliders"></i> Hosts</a></li>
<li><a href=""><i class="fa fa-home"></i> 首页</a></li>
<li><a href="hosts"><i class="fa fa-sliders"></i> 集群</a></li>
<li>${address}</li>
<li class="active">
Providers | <a href="hosts/consumers?host=${host}">Consumers</a>
提供者 | <a href="hosts/consumers?host=${host}">使用者</a>
</li>
</ol>
</section>
Expand All @@ -21,11 +21,11 @@ <h1>
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">Lists of host provider</h3>
<h3 class="box-title">主机提供者列表</h3>

<div class="box-tools">
<div class="input-group" style="width: 200px;">
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="Provider URL"/>
<input type="text" name="table_search" class="form-control input-sm pull-right" placeholder="提供者URL地址"/>

<div class="input-group-btn">
<button class="btn btn-sm btn-default"><i class="fa fa-search"></i></button>
Expand All @@ -38,8 +38,8 @@ <h3 class="box-title">Lists of host provider</h3>
<table class="table table-hover table-striped">
<thead>
<tr>
<th>Unregister</th>
<th>Provider URL</th>
<th>未注册</th>
<th>提供者URL地址</th>
</tr>
</thead>
<tbody>
Expand Down
Loading

0 comments on commit 9fc2c47

Please sign in to comment.