aboutsummaryrefslogtreecommitdiffstats
path: root/root/index.tt
diff options
context:
space:
mode:
Diffstat (limited to 'root/index.tt')
-rw-r--r--root/index.tt36
1 files changed, 23 insertions, 13 deletions
diff --git a/root/index.tt b/root/index.tt
index e809b4f..927f8a5 100644
--- a/root/index.tt
+++ b/root/index.tt
@@ -1,21 +1,31 @@
<h1>[% l('Login') %]</h1>
+<div id="input_form">
<form method="post" action="/user">
- <p>
- <label for="username_">[% l('Username') %]</label>
- <input id="username_" type="text" name="username" value="[% c.user.username %]" />
- </p>
+ <table>
+ <tr><td>
+ <label for="username_">[% l('Username') %]</label>
+ </td><td>
+ <input id="username_" type="text" name="username" value="[% c.user.username %]" />
+ </td></tr>
- <p>
- <label for="password_">[% l('Password') %]</label>
- <input id="password_" type="password" name="password" />
- </p>
+ <tr><td>
+ <label for="password_">[% l('Password') %]</label>
+ </td><td>
+ <input id="password_" type="password" name="password" />
+ </td></tr>
- <p><input type="submit" value="[% l('Login') %]" />
- [% l('or') %]
- <a href="/register">[% l('Register') %]</a></p>
-
- <p>@todo [% l('Forgotten password?') %]</p>
+ <tr><td colspan="2" style="text-align:center;">
+ <button type="submit" value="[% l('Login') %]" />[% l('Login') %]</button>&nbsp;&nbsp;
+ [% l('or') %]&nbsp;&nbsp;
+ <a href="/register">[% l('Register') %]</a>
+ </td></tr>
+
+ <tr><td colspan="2">
+ @todo [% l('Forgotten password?') %]
+ </td></tr>
+ </table>
</form>
+</div>