Fix button top margin (#1976)

This commit is contained in:
Christophe Maudoux 2021-05-01 21:33:46 +02:00
parent d1d3cfa3f2
commit de3164fea7
14 changed files with 20 additions and 15 deletions

View File

@ -77,7 +77,7 @@
"authChain":"سلسلة إثبات الهوية", "authChain":"سلسلة إثبات الهوية",
"authChoice":"اختيار إثبات الهوية", "authChoice":"اختيار إثبات الهوية",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"الوحدات المسموح بها", "authChoiceModules":"الوحدات المسموح بها",
"authChoiceParam":"معايير URL", "authChoiceParam":"معايير URL",
"authOnly":"إثبات الهوية فقط", "authOnly":"إثبات الهوية فقط",

View File

@ -77,7 +77,7 @@
"authChain":"Authentication chain", "authChain":"Authentication chain",
"authChoice":"Authentication choice", "authChoice":"Authentication choice",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"Allowed modules", "authChoiceModules":"Allowed modules",
"authChoiceParam":"URL parameter", "authChoiceParam":"URL parameter",
"authOnly":"Authentication only", "authOnly":"Authentication only",

View File

@ -77,7 +77,7 @@
"authChain":"Authentication chain", "authChain":"Authentication chain",
"authChoice":"Authentication choice", "authChoice":"Authentication choice",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"Allowed modules", "authChoiceModules":"Allowed modules",
"authChoiceParam":"URL parameter", "authChoiceParam":"URL parameter",
"authOnly":"Authentication only", "authOnly":"Authentication only",

View File

@ -77,7 +77,7 @@
"authChain":"Cadena de autentificación", "authChain":"Cadena de autentificación",
"authChoice":"Opción de autentificación", "authChoice":"Opción de autentificación",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"Módulos permitidos", "authChoiceModules":"Módulos permitidos",
"authChoiceParam":"Parámetro URL", "authChoiceParam":"Parámetro URL",
"authOnly":"Sólo autentificación", "authOnly":"Sólo autentificación",

View File

@ -77,7 +77,7 @@
"authChain":"Chaîne d'authentification", "authChain":"Chaîne d'authentification",
"authChoice":"Choix d'authentification", "authChoice":"Choix d'authentification",
"authChoiceAuthBasic":"Choix à utiliser pour l'authentification par mot de passe", "authChoiceAuthBasic":"Choix à utiliser pour l'authentification par mot de passe",
"authChoiceFindUser":"Paramètre de recherche de compte", "authChoiceFindUser":"Choix à utiliser pour la recherche de compte",
"authChoiceModules":"Modules autorisés", "authChoiceModules":"Modules autorisés",
"authChoiceParam":"Paramètre de l'URL", "authChoiceParam":"Paramètre de l'URL",
"authOnly":"Authentification seulement", "authOnly":"Authentification seulement",

View File

@ -77,7 +77,7 @@
"authChain":"Catena di autenticazione", "authChain":"Catena di autenticazione",
"authChoice":"Scelta di autenticazione", "authChoice":"Scelta di autenticazione",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"Moduli consentiti", "authChoiceModules":"Moduli consentiti",
"authChoiceParam":"Parametri URL", "authChoiceParam":"Parametri URL",
"authOnly":"Solo autenticazione", "authOnly":"Solo autenticazione",

View File

@ -77,7 +77,7 @@
"authChain":"Łańcuch uwierzytelnienia", "authChain":"Łańcuch uwierzytelnienia",
"authChoice":"Wybór uwierzytelnienia", "authChoice":"Wybór uwierzytelnienia",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"Parametr wtyczki FindUser", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"Dozwolone moduły", "authChoiceModules":"Dozwolone moduły",
"authChoiceParam":"Parametr adresu URL", "authChoiceParam":"Parametr adresu URL",
"authOnly":"Tylko uwierzytelnianie", "authOnly":"Tylko uwierzytelnianie",

View File

@ -77,7 +77,7 @@
"authChain":"Doğrulama zinciri", "authChain":"Doğrulama zinciri",
"authChoice":"Kimlik doğrulama tercihi", "authChoice":"Kimlik doğrulama tercihi",
"authChoiceAuthBasic":"Parola doğrulaması için kullanılan seçim", "authChoiceAuthBasic":"Parola doğrulaması için kullanılan seçim",
"authChoiceFindUser":"FindUser eklenti parametresi", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"İzin verilen modüller", "authChoiceModules":"İzin verilen modüller",
"authChoiceParam":"URL parametresi", "authChoiceParam":"URL parametresi",
"authOnly":"Yalnızca kimlik doğrulama", "authOnly":"Yalnızca kimlik doğrulama",

View File

@ -77,7 +77,7 @@
"authChain":"Chuỗi xác thực", "authChain":"Chuỗi xác thực",
"authChoice":"Lựa chọn xác thực", "authChoice":"Lựa chọn xác thực",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"Các mô-đun được phép", "authChoiceModules":"Các mô-đun được phép",
"authChoiceParam":"Tham số URL", "authChoiceParam":"Tham số URL",
"authOnly":"Chỉ xác thực", "authOnly":"Chỉ xác thực",

View File

@ -77,7 +77,7 @@
"authChain":"认证chain", "authChain":"认证chain",
"authChoice":"认证方式选择", "authChoice":"认证方式选择",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"允许的模块", "authChoiceModules":"允许的模块",
"authChoiceParam":"URL 参数", "authChoiceParam":"URL 参数",
"authOnly":"Authentication only", "authOnly":"Authentication only",

View File

@ -77,7 +77,7 @@
"authChain":"驗證鏈", "authChain":"驗證鏈",
"authChoice":"驗證選擇", "authChoice":"驗證選擇",
"authChoiceAuthBasic":"Choice used for password authentication", "authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter", "authChoiceFindUser":"Choice used for searching user account",
"authChoiceModules":"已允許的模組", "authChoiceModules":"已允許的模組",
"authChoiceParam":"URL 參數", "authChoiceParam":"URL 參數",
"authOnly":"僅驗證", "authOnly":"僅驗證",

View File

@ -484,12 +484,13 @@ sub display {
$self->loadedModules->{ $self->loadedModules->{
"Lemonldap::NG::Portal::Plugins::FindUser"}; "Lemonldap::NG::Portal::Plugins::FindUser"};
my $fields = []; my $fields = [];
my $slogin;
if ( $plugin if ( $plugin
&& $self->conf->{findUser} && $self->conf->{findUser}
&& $self->conf->{impersonationRule} && $self->conf->{impersonationRule}
&& $self->conf->{findUserSearchingAttributes} ) && $self->conf->{findUserSearchingAttributes} )
{ {
$login = $req->data->{findUser}; $slogin = $req->data->{findUser};
$fields = $plugin->buildForm(); $fields = $plugin->buildForm();
} }
@ -508,7 +509,7 @@ sub display {
DISPLAY_YUBIKEY_FORM => 0, DISPLAY_YUBIKEY_FORM => 0,
DISPLAY_FINDUSER => scalar @$fields, DISPLAY_FINDUSER => scalar @$fields,
FIELDS => $fields, FIELDS => $fields,
SPOOFID => $login SPOOFID => $slogin
); );
} }
@ -542,7 +543,7 @@ sub display {
( $displayType eq "logo" ? $self->conf->{portal} : 0 ), ( $displayType eq "logo" ? $self->conf->{portal} : 0 ),
MSG => $req->info(), MSG => $req->info(),
FIELDS => $fields, FIELDS => $fields,
SPOOFID => $login SPOOFID => $slogin
); );
} }
} }

View File

@ -57,6 +57,10 @@ div.actions a {
margin-top: 10px; margin-top: 10px;
} }
div.actions button {
margin-top: 10px;
}
.buttons { .buttons {
text-align: center; text-align: center;
margin: 10px 0 0 0; margin: 10px 0 0 0;

View File

@ -1 +1 @@
html,body{height:100%;background:radial-gradient(circle at 50% 0,#fff 0,#ddd 100%) no-repeat scroll 0 0 #ddd}#wrap{min-height:100%;height:auto;margin:0 auto -80px;padding:20px 0 80px}#footer{height:80px;background-color:#fff;background-color:rgba(255,255,255,0.9);text-align:center;padding-top:10px;overflow:hidden}#header img{background-color:#fff;background-color:rgba(255,255,255,0.8);margin-bottom:20px}.card,.navbar-light{background-color:#fff;background-color:rgba(255,255,255,0.9);background-image:none}.login,.password{text-align:center;padding:20px}div.form{margin:0 auto;max-width:330px}div.actions{margin:10px 0 0 0}div.actions a{margin-top:10px}.buttons{text-align:center;margin:10px 0 0 0;cursor:pointer}.btn{white-space:normal}.btn span.fa{padding-right:8px}li.ui-state-active{background-color:#fafafa;background-color:rgba(250,250,250,0.9)}#appslist,#password,#loginHistory,#logout,#oidcConsents{margin-top:20px}div.category{margin:10px 0;cursor:grab}div.application{margin:5px 0;overflow:hidden}div.application a,div.application a:hover{text-decoration:none}p.notifCheck label{margin-left:5px;margin-top:3px;display:inline-block}img.langicon{cursor:pointer}button.idploop{max-width:300px}button.idploop img{max-height:30px}div.oidc_consent_message>ul{text-align:left;list-style:circle}@media(min-width:768px){div.application{height:80px}div.application h4.appname{margin:0}#wrap{margin:0 auto -60px}#footer{height:60px}}.hiddenFrame{border:0;display:hidden;margin:0}.noborder{border:0}.max{width:100%}.link{cursor:pointer}.nodecor:hover,.nodecor:active,.nodecor:focus{text-decoration:none}.fa.icon-blue{color:blue}.progress-bar-animated{width:100%}input.key{font-family:'password';width:100px}@font-face{font-family:'password';src:url(/static/common/fonts/password.ttf)}.info.table caption{color:black;text-align:center;caption-side:bottom}div.input-group>p.form-control{height:auto}div.input-group>p.form-control>label{display:revert;user-select:none;cursor:pointer} html,body{height:100%;background:radial-gradient(circle at 50% 0,#fff 0,#ddd 100%) no-repeat scroll 0 0 #ddd}#wrap{min-height:100%;height:auto;margin:0 auto -80px;padding:20px 0 80px}#footer{height:80px;background-color:#fff;background-color:rgba(255,255,255,0.9);text-align:center;padding-top:10px;overflow:hidden}#header img{background-color:#fff;background-color:rgba(255,255,255,0.8);margin-bottom:20px}.card,.navbar-light{background-color:#fff;background-color:rgba(255,255,255,0.9);background-image:none}.login,.password{text-align:center;padding:20px}div.form{margin:0 auto;max-width:330px}div.actions{margin:10px 0 0 0}div.actions a{margin-top:10px}div.actions button{margin-top:10px}.buttons{text-align:center;margin:10px 0 0 0;cursor:pointer}.btn{white-space:normal}.btn span.fa{padding-right:8px}li.ui-state-active{background-color:#fafafa;background-color:rgba(250,250,250,0.9)}#appslist,#password,#loginHistory,#logout,#oidcConsents{margin-top:20px}div.category{margin:10px 0;cursor:grab}div.application{margin:5px 0;overflow:hidden}div.application a,div.application a:hover{text-decoration:none}p.notifCheck label{margin-left:5px;margin-top:3px;display:inline-block}img.langicon{cursor:pointer}button.idploop{max-width:300px}button.idploop img{max-height:30px}div.oidc_consent_message>ul{text-align:left;list-style:circle}@media(min-width:768px){div.application{height:80px}div.application h4.appname{margin:0}#wrap{margin:0 auto -60px}#footer{height:60px}}.hiddenFrame{border:0;display:hidden;margin:0}.noborder{border:0}.max{width:100%}.link{cursor:pointer}.nodecor:hover,.nodecor:active,.nodecor:focus{text-decoration:none}.fa.icon-blue{color:blue}.progress-bar-animated{width:100%}input.key{font-family:'password';width:100px}@font-face{font-family:'password';src:url(/static/common/fonts/password.ttf)}.info.table caption{color:black;text-align:center;caption-side:bottom}div.input-group>p.form-control{height:auto}div.input-group>p.form-control>label{display:revert;user-select:none;cursor:pointer}