1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-12-22 15:09:29 +00:00

Style update on contact page

This commit is contained in:
Noah 2014-11-03 01:56:29 +00:00
parent f24cbde887
commit 7a1e56b140

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