aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/login.html
blob: 12927692eabaa24ccf998ec3aaafcad77f379249 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{include="head"}
    <body class="light-style">
        <header>
            <h1><img src="./img/logo.png" alt="logo poche" />poche</h1>
        </header>
        <div id="main">
            <form method="post" action="?login" name="loginform">
                <fieldset>
                    <h2>login to your poche</h2>
                    <ul id="login">
                        <li>
                            <label for="login">Login</label> <input type="text" id="login" name="login" placeholder="Login" tabindex="1">
                        </li>
                        <li>
                            <label for="password">Password</label> <input type="password" id="password" name="password" placeholder="Password" tabindex="2">
                        </li>
                        <li>
                            <label><input type="checkbox" name="longlastingsession" tabindex="3">&nbsp;Stay signed in (Do not check on public computers)</label>
                        </li>
                        <li>
                            <button type="submit" tabindex="4">Sign in</button>
                        </li>
                    </ul>
                </fieldset>
                <input type="hidden" name="returnurl" value="<?php echo htmlspecialchars($referer);?>">
                <input type="hidden" name="token" value="<?php echo Session::getToken(); ?>">
            </form>
            <script type="text/javascript">
            window.onload = document.loginform.login.focus();
            </script>
{include="footer"}