dashboard: update WebConfig and improve token server list page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
This commit is contained in:
parent
6d61fd0538
commit
83f6de90b0
|
|
@ -26,13 +26,13 @@ import org.springframework.context.annotation.Bean;
|
|||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
/**
|
||||
* @author leyou
|
||||
*/
|
||||
@Configuration
|
||||
public class WebConfig extends WebMvcConfigurerAdapter {
|
||||
public class WebConfig implements WebMvcConfigurer {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(WebConfig.class);
|
||||
|
||||
|
|
@ -62,5 +62,4 @@ public class WebConfig extends WebMvcConfigurerAdapter {
|
|||
|
||||
return registration;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
<td style="width: 15%;">Server ID</td>
|
||||
<td style="width: 10%;">Port</td>
|
||||
<td style="width: 15%;">命名空间集合</td>
|
||||
<td style="width: 10%;">运行模式</td>
|
||||
<td>总连接数</td>
|
||||
<td>QPS 总览</td>
|
||||
<td style="width: 20%;">操作</td>
|
||||
|
|
@ -55,6 +56,10 @@
|
|||
<td style="word-wrap:break-word;word-break:break-all;">
|
||||
{{serverVO.state.namespaceSetStr}}
|
||||
</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;">
|
||||
<span ng-if="serverVO.state.embedded">嵌入模式</span>
|
||||
<span ng-if="!serverVO.state.embedded">独立模式</span>
|
||||
</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;">
|
||||
{{serverVO.connectedCount}}
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue