This repository has been archived on 2023-10-10. You can view files and clone it, but cannot push or open issues/pull-requests.
2012-10-18 14:01:08 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h3 style="margin-bottom: 10px;">{{ title }}:</h3>
|
|
|
|
{% for quote in quotes %}
|
|
|
|
<div class="quote">
|
2012-10-18 20:17:25 +00:00
|
|
|
<div class ="quoteheader quoteheader-{{ quote.id }}">
|
2012-10-18 14:01:08 +00:00
|
|
|
<a href="/quotes/view/{{ quote.id }}">#{{ quote.id }}</a>
|
2012-10-18 20:17:25 +00:00
|
|
|
{% if quote.user_score < 1 %}
|
|
|
|
<a class="upvote" href="/quotes/up/{{ quote.id }}">Up↑</a>
|
|
|
|
{% else %}
|
|
|
|
<a class="upvote" href="#" style="text-decoration: line-through;">Up↑</a>
|
|
|
|
{% endif %}
|
2012-10-18 14:01:08 +00:00
|
|
|
{{ quote.score}} / {{ quote.votes }}
|
2012-10-18 20:17:25 +00:00
|
|
|
{% if quote.user_score > -1 %}
|
|
|
|
<a class="downvote" href="/quotes/down/{{ quote.id }}">Down↓</a>
|
|
|
|
{% else %}
|
|
|
|
<a class="downvote" href="#" style="text-decoration: line-through;">Down↓</a>
|
|
|
|
{% endif %}
|
2012-10-18 14:01:08 +00:00
|
|
|
{{ quote.date }}
|
|
|
|
</div>
|
|
|
|
<p class="quotetext">{{ quote.text }}</p>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|