X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=stemmaweb%2Froot%2Fsrc%2Fauth%2Flogin.tt;h=9293df90587e4b9a0a90211c9091e737aeafa8ff;hb=HEAD;hp=c6bf88faedda40c9853d8d7fb1e0b6d1409d4333;hpb=75e0d666337dd321857100c5f4c57abe4eaddbf6;p=scpubgit%2Fstemmatology.git diff --git a/stemmaweb/root/src/auth/login.tt b/stemmaweb/root/src/auth/login.tt index c6bf88f..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,23 +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.

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

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

+
- - - [% form.field('username').render %] - [% form.field('password').render %] - - [% form.field('remember').render %] - [% form.field('submit').render %] - - \ 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