Commit 24765025 authored by Hugh Davenport's avatar Hugh Davenport
Browse files

Add button class around external login links



Change-Id: I2982be3a112c7a6ca709eba64ed8b001839ffec0
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent 08884f5b
......@@ -220,7 +220,7 @@ class PluginAuthBrowserid extends PluginAuth {
public static function login_form_elements() {
return array(
'loginbrowserid' => array(
'value' => '<div class="login-externallink"><a href="javascript:window.browserid_login()">' . get_string('login', 'auth.browserid') . '</a></div>'
'value' => '<div class="login-externallink"><a class="btn" href="javascript:window.browserid_login()">' . get_string('login', 'auth.browserid') . '</a></div>'
)
);
}
......
......@@ -596,7 +596,7 @@ class PluginAuthSaml extends PluginAuth {
public static function login_form_elements() {
$elements = array(
'loginsaml' => array(
'value' => '<div class="login-externallink"><a href="' . get_config('wwwroot') . 'auth/saml/">' . get_string('login', 'auth.saml') . '</a></div>'
'value' => '<div class="login-externallink"><a class="btn" href="' . get_config('wwwroot') . 'auth/saml/">' . get_string('login', 'auth.saml') . '</a></div>'
)
);
return $elements;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment