summaryrefslogtreecommitdiffstats
path: root/equations/templates/equations/equation_list.html
blob: 549c38f703d78f179475f466dd531967f398c13f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}

{% block title %}Check out all these equations!{% endblock %}

{% block content %}
{% if object_list %}
<table width="100%">
  {% for item in object_list %}
    <tr style="height:60px;"><td style="width:50%;">
    <a href="{{ item.get_absolute_url }}" class="imglink">
    <img style="border: none;" src="{{ item.get_render_url }}" /></a>
    </td><td style="width: 50%"><a href="{{ item.get_absolute_url }}">
    {{ item.name }}</a></td></tr>
  {% endfor %}
</table>
{% if is_paginated %}<br />{% if has_previous %}
<b><a href="./?page={{ previous }}" style="float:left;">&lt;PREV</a></b>
{% endif %}{% if has_next %}
<b><a href="./?page={{ next }}" style="float:right;">NEXT&gt;</a></b>
{% endif %}{% endif %}
{% else %}
Fuck, where are they?
{% endif %}
{% endblock %}