X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=stemmaweb%2Froot%2Fsrc%2Fauth%2Flogin.tt;h=9293df90587e4b9a0a90211c9091e737aeafa8ff;hb=c84a47788777f257a330f9d011c03077e622310e;hp=6af2f519083491bf0840d5483df5fa3a73acef46;hpb=4dbd098b6a7d334cbda64e4ca5d3d7aca8bbc86e;p=scpubgit%2Fstemmatology.git diff --git a/stemmaweb/root/src/auth/login.tt b/stemmaweb/root/src/auth/login.tt index 6af2f51..9293df9 100644 --- a/stemmaweb/root/src/auth/login.tt +++ b/stemmaweb/root/src/auth/login.tt @@ -1,3 +1,30 @@ +[% 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,26 +41,47 @@ [% 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.

+ + + + + +
- - [% 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 %] \ No newline at end of file