aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--root/register/index.tt54
-rw-r--r--root/static/style/ttsite.css19
2 files changed, 32 insertions, 41 deletions
diff --git a/root/register/index.tt b/root/register/index.tt
index 6aa8b32..217a91e 100644
--- a/root/register/index.tt
+++ b/root/register/index.tt
@@ -4,30 +4,34 @@
<div id="input_form">
<form method="post" action="/register/check">
- <table>
- <tr>
- <td><label for="uid_">[% l('Username') %]</label></td>
- <td><input id="uid_" type="text" name="uid" value="[% c.request.params.uid %]" /></td>
- </tr><tr>
- <td><label for="gn_">[% l('First name') %]</label></td>
- <td><input id="gn_" type="text" name="gn" value="[% c.request.params.gn %]" /></td>
- </tr><tr>
- <td><label for="sn_">[% l('Surname') %]</label></td>
- <td><input id="sn_" type="text" name="sn" value="[% c.request.params.sn %]" /></td>
- </tr><tr>
- <td><label for="mail1_">[% l('Email address') %]</label></td>
- <td><input id="mail1_" type="text" name="mail1" value="[% c.request.params.mail1 %]" /></td>
- </tr><tr>
- <td><label for="mail2_">[% l('Confirm Email address') %]</label></td>
- <td><input id="mail2_" type="text" name="mail2" value="[% c.request.params.mail2 %]" /></td>
- </tr><tr>
- <td><img src="/register/captcha" /></td>
- <td><input type="text" name="validate" /></td>
- </tr><tr>
- <td colspan="2" style="text-align:center;">
- <button type="submit" value="[% l('Register') %]">[% l('Register') %]</button>
- </td>
- </tr>
- </table>
+ <h3>Username</h3>
+ <label for="uid_">[% l('Username') %]</label><br />
+ <input id="uid_" type="text" name="uid" value="[% c.request.params.uid %]" /><br />
+
+ <p>
+ <h3>Personal Information</h3>
+ <label for="gn_">[% l('First name') %]</label><br/>
+ <input id="gn_" type="text" name="gn" value="[% c.request.params.gn %]" /><br />
+
+ <label for="sn_">[% l('Surname') %]</label><br/>
+ <input id="sn_" type="text" name="sn" value="[% c.request.params.sn %]" /><br />
+ </p>
+ <p>
+ <h3>Email</h3>
+ <label for="mail1_">[% l('Email address') %]</label><br/>
+ <input id="mail1_" type="text" name="mail1" value="[% c.request.params.mail1 %]" /><br />
+
+ <label for="mail2_">[% l('Confirm Email address') %]</label><br/>
+ <input id="mail2_" type="text" name="mail2" value="[% c.request.params.mail2 %]" /><br />
+ </p>
+
+ <p>
+ <h3>[% l('Captcha') %]</h3>
+
+ <img src="/register/captcha" /><br />
+ <label for="test">Enter text</label><br/>
+ <input type="text" name="validate" /><br/>
+ </p>
+ <button type="submit" value="[% l('Register') %]">[% l('Register') %]</button>
</form>
</div>
diff --git a/root/static/style/ttsite.css b/root/static/style/ttsite.css
index cf2b9f6..19946a9 100644
--- a/root/static/style/ttsite.css
+++ b/root/static/style/ttsite.css
@@ -40,27 +40,14 @@ html, body {
}
#input_form {
- text-align: center;
- /*border: inset 1px;*/
+ display: block;
+ width: 250px;
+ text-align:left;
padding: 10px;
-webkit-border-radius: 0.6em;
-moz-border-radius: 0.6em;
}
-#input_form table {
- border: 0px;
- display: inline;
- text-align: left;
-}
-
-#input_form td {
- border: 0px;
-}
-
-#input_form th {
- border: 0px;
- text-align: left;
-}
#input_form input {
background: #fff;