mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 10:45:47 +08:00
fix: add missing / for style tag in signin items (#2768)
This commit is contained in:
parent
75fc9ab9f7
commit
a8800c4d5c
@ -223,7 +223,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Logo",
|
Name: "Logo",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-logo-box {\n }\n<style>\n",
|
Label: "\n<style>\n .login-logo-box {\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -231,7 +231,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Signin methods",
|
Name: "Signin methods",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .signin-methods {\n }\n<style>\n",
|
Label: "\n<style>\n .signin-methods {\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Username",
|
Name: "Username",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-username {\n }\n<style>\n",
|
Label: "\n<style>\n .login-username {\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -247,7 +247,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Password",
|
Name: "Password",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-password {\n }\n<style>\n",
|
Label: "\n<style>\n .login-password {\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -255,7 +255,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Agreement",
|
Name: "Agreement",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-agreement {\n }\n<style>\n",
|
Label: "\n<style>\n .login-agreement {\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -263,7 +263,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Forgot password?",
|
Name: "Forgot password?",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-forget-password {\n display: inline-flex;\n justify-content: space-between;\n width: 320px;\n margin-bottom: 25px;\n }\n<style>\n",
|
Label: "\n<style>\n .login-forget-password {\n display: inline-flex;\n justify-content: space-between;\n width: 320px;\n margin-bottom: 25px;\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -271,7 +271,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Login button",
|
Name: "Login button",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-button-box {\n margin-bottom: 5px;\n }\n .login-button {\n width: 100%;\n }\n<style>\n",
|
Label: "\n<style>\n .login-button-box {\n margin-bottom: 5px;\n }\n .login-button {\n width: 100%;\n }\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
@ -279,7 +279,7 @@ func extendApplicationWithSigninItems(application *Application) (err error) {
|
|||||||
signinItem = &SigninItem{
|
signinItem = &SigninItem{
|
||||||
Name: "Signup link",
|
Name: "Signup link",
|
||||||
Visible: true,
|
Visible: true,
|
||||||
Label: "\n<style>\n .login-signup-link {\n margin-bottom: 24px;\n display: flex;\n justify-content: end;\n}\n<style>\n",
|
Label: "\n<style>\n .login-signup-link {\n margin-bottom: 24px;\n display: flex;\n justify-content: end;\n}\n</style>\n",
|
||||||
Placeholder: "",
|
Placeholder: "",
|
||||||
Rule: "None",
|
Rule: "None",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user