]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/loginform.html
Version 0.0.32 beta:
[github/shaarli/Shaarli.git] / tpl / loginform.html
diff --git a/tpl/loginform.html b/tpl/loginform.html
new file mode 100644 (file)
index 0000000..5a81fde
--- /dev/null
@@ -0,0 +1,25 @@
+<html>
+<head>{include="includes"}</head>
+<body{if="ban_canLogin()"} onload="document.loginform.login.focus();"{/if}>
+<div id="pageheader">
+       {include="page.header"}
+
+       <div id="headerform">
+{if="!ban_canLogin()"}
+    You have been banned from login after too many failed attempts. Try later.
+{else}
+    <form method="post" name="loginform">
+    Login: <input type="text" name="login" tabindex="1">&nbsp;&nbsp;&nbsp;
+    Password : <input type="password" name="password" tabindex="2">
+    <input type="submit" value="Login" class="bigbutton" tabindex="4"><br>
+    <input style="margin:10 0 0 40;" type="checkbox" name="longlastingsession" id="longlastingsession"  tabindex="3"><label for="longlastingsession">&nbsp;Stay signed in (Do not check on public computers)</label>
+    <input type="hidden" name="token" value="{$token}">
+    {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if}
+    </form>
+{/if}
+    </div>
+</div>
+
+{include="page.footer"}
+</body>
+</html>
\ No newline at end of file