diff --git a/auth.php b/auth.php index a022e59..8d71994 100644 --- a/auth.php +++ b/auth.php @@ -54,7 +54,8 @@ class auth padding-top: 10px; margin-bottom: 20px; background-color:white;}\n"; - $res .= "input[type='submit'] { + $res .= "input[type='submit'], a { + text-decoration: none; display: inline-block; padding: 10px 32px; color: #fff; @@ -65,8 +66,14 @@ class auth font-weight: 400; vertical-align: middle; border-radius : 4px; - height: 40px; - margin-top : 10px; + margin-bottom : 20px; + }\n"; + $res .= ".alert { + color: #a94442; + background-color: #f2dede; + border: 1px solid #ebccd1; + border-radius: 4px; + padding: 15px; }\n"; $res .= "h1 { color: #bbb }\n"; $res .= "h2 { padding-top: 0px; padding-bottom: 30px;}\n"; @@ -109,13 +116,17 @@ class auth "Already sign in"); $res .= "\n"; if (is_string ($alreadyAuth)) + { + $res .= "
". - dgettext ("domframework", "Click here to logout")."
\n"; + dgettext ("domframework", "Logout")."\n"; if ($url !== "") - $res .= "". + $res .= "". dgettext ("domframework", "Go back to the calling page"). - "
\n"; + "\n"; + $res .="\n"; } if ($message !== "" && $message !== null) $res .= "