diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2014-02-08 23:18:15 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2014-02-08 23:18:15 +0100 |
commit | 5ec2df4183c11f947c056df6db3383e6557e5d20 (patch) | |
tree | 8842e11268050d3fb37e6a5d7f79a1534c02cb45 /templates | |
parent | 9fab02fc11b9fbf559f989a4c01721307073f66f (diff) |
Login using single signon via jab web, cleanup old stuff.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login.tmpl | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/templates/login.tmpl b/templates/login.tmpl index af2f955..505a885 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -4,17 +4,21 @@ #def content #set error = $error or '' <div class="error">$error</div> +#if $loggedin + <p>You are now logged in as $user.username. + To change your session settings, please use the form below. + Or <a href="${settings.virtual_root}u">return to the upload page</a>. + </p> +#end if +#if $user <form method="post" action="${settings.virtual_root}l"> #if next <input type="hidden" name="next" value="$next" /> #end if - <p>username</p> - <p><input type="text" id="username" name="username" /></p> - <p>password</p> - <p><input type="password" id="password" name="password" /></p> - <p><input type="checkbox" id="rememberme" name="rememberme" checked="checked" /> + <p><input type="checkbox" id="rememberme" name="rememberme" /> <label for="rememberme"> remember me</label></p> <p><input type="checkbox" id="forever" name="forever" /><label for="forever"> .. forever</label></p> - <p><input type="submit" value="Login" /></p> + <p><input type="submit" value="Update" /></p> </form> +#end if #end def |