mirror of https://github.com/jumpserver/jumpserver
perf: 优化登陆
parent
2366da1485
commit
8f59bb2a48
|
@ -33,30 +33,26 @@
|
|||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 40px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.auth-methods .form-group, .addition .form-group, .has-error .form-group {
|
||||
.addition .form-group, .has-error .form-group {
|
||||
margin-bottom: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.form-group.auto-login {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.auth-methods.addition .form-group {
|
||||
.auth-methods.has-error .form-group, .auth-methods.addition .form-group {
|
||||
margin-bottom: 15px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.auth-methods.has-error .form-group, .addition.has-error .form-group {
|
||||
.has-error.addition .form-group {
|
||||
margin-bottom: 20px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.auth-methods.has-error.addition .form-group {
|
||||
.auth-methods.addition.has-error .form-group {
|
||||
margin-bottom: 10px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
@ -120,10 +116,6 @@
|
|||
border-right: none;
|
||||
}
|
||||
|
||||
.more-login-item:hover {
|
||||
color: #334554;
|
||||
}
|
||||
|
||||
.select-con {
|
||||
width: 35%;
|
||||
}
|
||||
|
|
|
@ -178,7 +178,7 @@ class UserLoginView(mixins.AuthMixin, FormView):
|
|||
'logo': static('img/login_feishu_logo.png')
|
||||
}
|
||||
]
|
||||
return [method for method in auth_methods if method['enabled']]
|
||||
return [method for method in auth_methods]
|
||||
|
||||
@staticmethod
|
||||
def get_support_langs():
|
||||
|
|
Loading…
Reference in New Issue