修改样式与客户端列表

This commit is contained in:
WenG 2022-03-05 21:18:43 +08:00
parent efcb8c3fd7
commit e0d4619906
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ public class CustomIndexPageRouteController {
private List<OAuth2ClientSimpleDTO> listOAuth2ClientOfMine() { private List<OAuth2ClientSimpleDTO> listOAuth2ClientOfMine() {
List<String> roleIds = securityComponent.listRoleIds(); List<String> roleIds = securityComponent.listRoleIds();
if (securityComponent.isAdmin(roleIds)) { if (securityComponent.isAdmin(roleIds)) {
List<OAuth2ClientSimpleDTO> oAuth2ClientSimpleDTOs = oauth2ClientService.listSimple(); List<OAuth2ClientSimpleDTO> oAuth2ClientSimpleDTOs = oauth2ClientService.listSimpleByEnvironment(IOAuth2ClientService.OAUTH_CLIENT_ENVIRONMENT_FORMAL);
oAuth2ClientSimpleDTOs.add(0, getUserCenter()); oAuth2ClientSimpleDTOs.add(0, getUserCenter());
return oAuth2ClientSimpleDTOs; return oAuth2ClientSimpleDTOs;
} }

View File

@ -5,7 +5,7 @@
.btn{float:right} .btn{float:right}
.btn a{font-size:.2rem;color:#00f5ff;text-shadow:0 0 5px #fff;display:inline-block;margin-right:.2rem} .btn a{font-size:.2rem;color:#00f5ff;text-shadow:0 0 5px #fff;display:inline-block;margin-right:.2rem}
.main{margin:1rem auto;width:95%;overflow:hidden} .main{margin:1rem auto;width:95%;overflow:hidden}
.main-container{width:105%;height:6.5rem;overflow-y:auto} .main-container{width:105%;height:5.5rem;overflow-y:auto}
.main-container:after{content:'';display:block;clear:both} .main-container:after{content:'';display:block;clear:both}
.guide-box{display:block;float:left;width:3.5rem;height:2.75rem;position:relative;background:url(../images/box-bg.png) no-repeat center;background-size:100% 100%;margin-right:1rem;margin-bottom:.5rem} .guide-box{display:block;float:left;width:3.5rem;height:2.75rem;position:relative;background:url(../images/box-bg.png) no-repeat center;background-size:100% 100%;margin-right:1rem;margin-bottom:.5rem}
.guide-box:nth-child(4n){margin-right:0} .guide-box:nth-child(4n){margin-right:0}