summaryrefslogtreecommitdiffstats
path: root/equations/templates/equations/equation_list.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-07-12 00:59:01 -0400
committerbnewbold <bnewbold@manus.(none)>2007-07-12 00:59:01 -0400
commit39d2613b75160a47a93df560d51b30854249ce9d (patch)
tree49af0dc237016f068b764a5623e2d31836c2bc6e /equations/templates/equations/equation_list.html
parente152d2f2d1e257b1ec51adb3640e350207fda77d (diff)
downloadequator-39d2613b75160a47a93df560d51b30854249ce9d.tar.gz
equator-39d2613b75160a47a93df560d51b30854249ce9d.zip
almost working again
Diffstat (limited to 'equations/templates/equations/equation_list.html')
-rw-r--r--equations/templates/equations/equation_list.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/equations/templates/equations/equation_list.html b/equations/templates/equations/equation_list.html
new file mode 100644
index 0000000..c7a9632
--- /dev/null
+++ b/equations/templates/equations/equation_list.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block title %}Check out all these equations!{% endblock %}
+
+{% block content %}
+{% if object_list %}
+<table width="!00%">
+ {% for item in object_list %}
+ <tr style="height:50px;"><td style="width:45%;">
+ <a href="{{ item.get_absolute_url }}" class="imglink">
+ <img style="border: none;" src="{{ item.get_render_url }}" /></a>
+ </td><td style="width: 55%"><a href="{{ item.get_absolute_url }}">
+ {{ item.name }}</a></td></tr>
+ {% endfor %}
+</table>
+{% if not is_paginated %}<br />{% if not 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 %}