Fix sso_login button bug for ie explorer.

This commit is contained in:
chiu 2020-07-20 16:54:59 +08:00
parent 3d7213ab17
commit f1e313aed6
1 changed files with 1 additions and 3 deletions

View File

@ -6,11 +6,9 @@ module SsoLoginBox::LoginTag
} }
</style> </style>
<div class=\"pull-right\"> <div class=\"pull-right\">
<button class=\"login-btn\" type=\"button\"> <a class=\"sso_login_button btn\" href=\"https://api.ntnu.edu.tw/NtnuCloud/auth?response_type=#{ENV['RESPONSE_TYPE']}&client_id=#{ENV['APP_ID']}&redirect_uri=#{ENV['REDIRECT_URI']}\" style=\"border: 0.1em solid black;\">
<a class=\"sso_login_button\" href=\"https://api.ntnu.edu.tw/NtnuCloud/auth?response_type=#{ENV['RESPONSE_TYPE']}&client_id=#{ENV['APP_ID']}&redirect_uri=#{ENV['REDIRECT_URI']}\">
NTNU SSO Login NTNU SSO Login
</a> </a>
</button>
</div>" </div>"
end end
end end