integrate login/register functionality more properly with app
[scpubgit/stemmatology.git] / stemmaweb / root / src / auth / success.tt
CommitLineData
3e97c22c 1[% WRAPPER header.tt
2 pagetitle = "Stemmaweb - Logged in"
3 applicationstyle = c.uri_for('/css/auth.css')
4%]
5 <script type="text/javascript">
6$(document).ready(function() {
7 var status = '[% status_msg %]';
8 var error = '[% error_msg %]';
9 if( status && !error ) {
10 setInterval( function ( e ) {
11 window.opener.location.reload(true);
12 window.close();
13 e.preventDefault();
14 }, 2000 );
15 }
16});
17 </script>
18[% END %]
19 <div id="topbanner">
20 <h1>Stemmaweb - Signed in</h1>
21 </div>
22
23<div id="login_status">
24[% IF status_msg %]
25 <p>[% status_msg | html %]</p>
26 <p>Please wait...</p>
27[% END %]
28</div>
29[% PROCESS footer.tt %]