aboutsummaryrefslogtreecommitdiffstats
path: root/root/index.tt
blob: b161f17c47b2bc3e4581b7b8ff9e1907c866299f (plain)
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
32
<div style="text-align: left; vertical-align: top; margin: 20px 10px;">
    <div id="login_form">
        <h2>[% l('Login') %]</h2>
        <form method="post" action="/user">
            <div id="login_form_inputs">
                <p><label for="username_">[% l('Username : ') %]</label>
                    <input id="username_" type="text" name="username" value="[% c.user.username %]" />
                </p>
                <p><label for="password_">[% l('Password : ') %]</label>
                    <input id="password_" type="password" name="password" /><br>
                    <a href="/forgot_password" style="font-size: smaller;">[% l('Forgotten password?') %]</a>
                </p>
                <p style="text-align: right;"><input type="submit" value="[% l('Login') %]"/></p>
            </div>
        </form>
    </div>
    <div id="info" style="margin-left: 380px; border-left: 1px solid #ddd; padding-left: 2em;">
        <h2>[% l('Register an account') %]</h2>

        <p>[% l('You will need an account when you want to participate in Mageia,
            through <a href="http://ml.mageia.org/">mailing-lists</a>,
            <a href="http://wiki.mageia.org/">wiki</a>,
            <a href="http://bugs.mageia.org/">bugzilla</a>,
            our <a href="http://svnweb.mageia.org/">code</a>
            <a href="http://gitweb.mageia.org/">repositories</a>,        
            <a href="http://forums.mageia.org/">forums</a>, etc.') %]</p>

        <form method="get" action="/register">
            <p style="text-align: right;"><input type="submit" value="[% l('Register') %]"></p>
        </form>
    </div>
</div>