flask-site/templates/contact.html

38 lines
2.9 KiB
HTML

{% extends 'master.html' %}
{% block body %}
<div class="section-wrapper">
<div class="section" id="contact">
<h2>contact</h2>
{% from "_formhelper.html" import render_field %}
<form method="post" action="{{ url_for('contact') }}">
<dl>
{{ render_field(form.name) }}
{{ render_field(form.email) }}
{{ render_field(form.message) }}
</dl>
<p style="margin-left: 40px;"><input type="submit" value="Send">
</form>
<div class="one-half">
<a class="twitter-timeline" href="https://twitter.com/BillyBrawner1" data-widget-id="706308392311136256">Tweets by @BillyBrawner1</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="one-half">
<!-- Facebook Badge START --><a href="https://www.facebook.com/wpbrawner" title="Billy Brawner" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" target="_TOP">Billy Brawner</a><span style="font-family: &#039;lucida grande&#039;,tahoma,verdana,arial,sans-serif;font-size: 11px;line-height: 16px;font-variant: normal;font-style: normal;font-weight: normal;color: #555555;text-decoration: none;">&nbsp;|&nbsp;</span><a href="https://www.facebook.com/badges/" title="Make your own badge!" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" target="_TOP">Create Your Badge</a><br /><a href="https://www.facebook.com/wpbrawner" title="Billy Brawner" target="_TOP"><img class="img" src="https://badge.facebook.com/badge/1058965332.287.1992111354.png" style="border: 0px;" alt="" /></a><!-- Facebook Badge END -->
<div id="instafeed">
<script type="text/javascript">
{% raw %}
var feed = new Instafeed({
get: 'user',
userId: 2113424423,
limit: 6,
accessToken: '2113424423.467ede5.2a622e2c959943169a932f91a1972302',
template: '<a class="insta-link" href="{{link}}" target="_blank"><span class="insta-caption-bg"></span><span class="insta-caption">{{caption}}</span><img class="insta-foto" src="{{image}}" /></a>'
});
feed.run();
{% endraw %}
</script>
</div>
</div>
</div>
</div>
{% endblock %}