Style update on contact page

pull/2/head
Noah 2014-11-03 01:56:29 +00:00
parent f24cbde887
commit 7a1e56b140
1 changed files with 20 additions and 33 deletions

View File

@ -8,7 +8,7 @@ You can use the form below to send me an e-mail. Alternatively you can contact
me on an instant messenger:
<blockquote>
<table border="0" cellspacing="0" cellpadding="4">
<table class="table" style="width: auto" border="0" cellspacing="4" cellpadding="4">
<tr>
<td>
<img src="/static/icons/aim.gif" width="16" height="15" alt="AIM">
@ -43,7 +43,7 @@ me on an instant messenger:
</td>
</tr>
</table>
</blockquote><p>
</blockquote>
Things that you <strong>SHOULD NOT</strong> use this form for:
@ -55,44 +55,31 @@ Things that you <strong>SHOULD NOT</strong> use this form for:
For anything else:<p>
<form name="contact" action="{{ url_for('contact.send') }}" method="POST">
<blockquote>
<input type="hidden" name="token" value="{{ csrf_token() }}">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="50%" align="left" valign="middle">
<strong>Your name:</strong><br>
<small>(so I know who you are)</small><br>
<input type="text" size="40" name="name">
</td>
<td width="50%" align="left" valign="middle">
<strong>Your email:</strong><br>
<small>(if you want a response)</small><br>
<input type="email" size="40" name="email">
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="middle">
<strong>Message subject:</strong><br>
<small>(optional)</small><br>
<input type="text" size="40" name="subject" style="width: 100%"><p>
<strong>Message:</strong><br>
<small>(required)</small><br>
<textarea cols="40" rows="12" name="message" style="width: 100%"></textarea>
</td>
</tr>
<tr>
<td colspan="2" align="right" valign="middle">
<button type="submit">Send Message</button>
</td>
</tr>
</table>
<strong>Your name:</strong><br>
<small>(so I know who you are)</small><br>
<input type="text" class="form-control" size="40" name="name"><p>
<strong>Your email:</strong><br>
<small>(if you want a response)</small><br>
<input type="email" class="form-control" size="40" name="email"><p>
<strong>Message subject:</strong><br>
<small>(optional)</small><br>
<input type="text" class="form-control" size="40" name="subject" style="width: 100%"><p>
<strong>Message:</strong><br>
<small>(required)</small><br>
<textarea class="form-control" cols="40" rows="12" name="message" style="width: 100%"></textarea><p>
<button type="submit" class="btn btn-primary">Send Message</button>
<div style="display: none">
If you can see these boxes, don't touch them.<br>
<input type="text" size="40" name="contact" value=""><br>
<input type="text" size="40" name="website" value="http://">
</div>
</blockquote>
</form>
{% endblock %}