Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mapo@mobile:~/Dev/python/django/battletweets$ cat templates/results.html
- {% extends "base.html" %}
- {% load battle_extras %}
- {% block title %} Pleito! {% endblock %}
- {% block content %}
- <div id="option1" class="col">
- <ul class="hfeed">
- <h3 class="vcard"><a href="#">{{ option1 }}</a></h3>
- <li class="hentry clear" id="tweet">
- <blockquote class="entry-content">
- {% for tweet in result1 %}
- <div class="tweet">
- <a href="{{ tweet.profile }}"><img src="{{ tweet.image }}" align="left"/></a>
- {{ tweet.content|twitter_user|safe|linebreaks }}
- ...publicado <a href="{{ tweet.link}}">{{ tweet.date }}</a>
- </div>
- <hr />
- {% endfor %}
- </blockquote>
- </li>
- </div>
- <div id="option2" class="col">
- <ul class="hfeed">
- <h2><span class="alt">{{ option1 }}</span></h2>
- <h3>{{ option2 }}</h3>
- <li class="hentry clear" id="tweet">
- <blockquote class="entry-content">
- {% for tweet in result2 %}
- <div class="tweet">
- <a href="{{ tweet.profile }}" ><img src="{{ tweet.image }}" align="left" /></a>
- {{ tweet.content|twitter_user|safe|linebreaks }}
- ...publicado <a href="{{ tweet.link}}">{{ tweet.date }}</a>
- </div>
- <hr />
- {% endfor %}
- </blockquote>
- </li>
- </div>
- {% endblock %}
Add Comment
Please, Sign In to add comment