X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fsrc%2Fauth%2Flogin.tt;h=8193e808c1ec23f9673992a85678047721be6637;hb=HEAD;hp=777978962c09d687455febc9572e3d6f194ab351;hpb=b600c671666d04ca851466d1de3970b6704be169;p=scpubgit%2Fstemmaweb.git diff --git a/root/src/auth/login.tt b/root/src/auth/login.tt index 7779789..8193e80 100644 --- a/root/src/auth/login.tt +++ b/root/src/auth/login.tt @@ -1,3 +1,82 @@ +[% 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 +93,48 @@ [% END %] [% END %] +
+[% UNLESS status_msg == 'Logged in!' %] +
+

Sign in with Google

+
+

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

-
- - - - + + + + +
+
- +

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. +

+ + + +
+
[% UNLESS c.req.param('realm') == 'openid' %] -
- - - - [% form.field('username').render %] - [% form.field('password').render %] - [% form.field('remember').render %] - - [% form.field('submit').render %] - -
-[% END %] \ No newline at end of file +

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 %]