X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fsrc%2Fauth%2Flogin.tt;h=fd60478fb3f132fc59ada09aadda5a6700c09289;hb=82be740cdfb5d03a0de50c3f8d6ec74dbcf692a9;hp=e65363290829f8b92a801d88b31af1ef9168e7c9;hpb=75daf9827797e7b0991948dd7a1c1e43f5e90a82;p=scpubgit%2Fstemmaweb.git diff --git a/root/src/auth/login.tt b/root/src/auth/login.tt index e653632..fd60478 100644 --- a/root/src/auth/login.tt +++ b/root/src/auth/login.tt @@ -1,3 +1,61 @@ +[% WRAPPER header.tt + pagetitle = "Stemmaweb - Sign in" + applicationstyle = c.uri_for('/css/auth.css') +%] + + +[% END %] +
+

Stemmaweb - Sign in

+
+ +
[% IF status_msg %]

[% status_msg | html %]

[% END %] @@ -14,25 +72,58 @@ [% END %] [% END %] - -
- - - - [% form.field('openid_identifier').render %] - - [% form.field('username').render %] - [% form.field('password').render %] +[% UNLESS status_msg == 'Logged in!' %] +
+

Sign in with Google

+
+

If you have a Google account, you may use it to sign into Stemmaweb.

+ + + + + + + +
- [% form.field('remember').render %] - [% form.field('submit').render %] +

Sign in with OpenID

+
+

If you have an account with an OpenID provider (e.g. WordPress, Blogger, Flickr, Yahoo), you may use it to sign into Stemmaweb. +

+ + + +
+
- \ No newline at end of file +[% UNLESS c.req.param('realm') == 'openid' %] +

Sign in with Stemmaweb

+
+

If you do not have Google or another OpenID account, you may register for a user account here with its own password. Once you are registered, you can use this form to sign in.

+
+ + [% userlabel = form.field('username').label('Email address') %] + [% form.field('username').render %] + [% form.field('password').render %] + + [% rememberlabel = form.field('remember').label('Remember me') %] + [% form.field('remember').render %] + + [% submitbutton = form.field('submit').value('Sign in with Stemmaweb') %] + [% form.field('submit').render %] +
+
+[% END %] +
+[% END %] +[% PROCESS footer.tt %]