.error {
color: #d24848;
}
+.openid_form {
+ margin-top: 20px;
+}
+#openid_input {
+ background: url('../images/openid-16x16.gif');
+ background-color: white;
+ background-position: 0 50%;
+ background-repeat: no-repeat;
+ padding-left: 18px;
+ padding-top: 3px;
+ padding-bottom: 3px;
+ margin-right: 15px;
+ width: 200px;
+}
<h3><a href="#">Sign in with Google</a></h3>
<div>
<p>If you have a Google account, you may use it to sign into Stemmaweb.</p>
- <form method="post" action="[% c.uri_for_action('/users/login') | html %]" autocomplete="off">
+ <form class="openid_form" method="post" action="[% c.uri_for_action('/users/login') | html %]" autocomplete="off">
<input type="hidden" name="realm" value="openid"/>
<input type="hidden" name="openid_identifier" value="https://www.google.com/accounts/o8/id"/>
- <input type="submit" class="login_button" id="#login_google" value="Sign in with Google"></input>
+ <input type="submit" class="login_button" id="login_google" value="Sign in with Google"></input>
</form>
</div>
<h3><a href="#">Sign in with OpenID</a></h3>
<div>
<p>If you have an account with an <a href="http://openid.net/get-an-openid/" target="_blank">OpenID provider</a> (e.g. WordPress, Blogger, Flickr, Yahoo), you may use it to sign into Stemmaweb.
- <form method="post" action="[% c.uri_for_action('/users/login') | html %]" autocomplete="off">
+ <form class="openid_form" method="post" action="[% c.uri_for_action('/users/login') | html %]" autocomplete="off">
<input type="hidden" name="realm" value="openid"/>
- <input type="text" name="openid_identifier"/>
- <input type="submit" class="login_button" id="#login_openid" value="Sign in with OpenID"/>
+ <input type="text" name="openid_identifier" id="openid_input"/>
+ <input type="submit" class="login_button" id="login_openid" value="Sign in with OpenID"/>
</form>
</div>