From 39d2613b75160a47a93df560d51b30854249ce9d Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 12 Jul 2007 00:59:01 -0400 Subject: almost working again --- equations/templates/equations/equation_detail.html | 27 ++++++++++++++++++++++ equations/templates/equations/equation_list.html | 24 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 equations/templates/equations/equation_detail.html create mode 100644 equations/templates/equations/equation_list.html (limited to 'equations/templates') diff --git a/equations/templates/equations/equation_detail.html b/equations/templates/equations/equation_detail.html new file mode 100644 index 0000000..b4c3911 --- /dev/null +++ b/equations/templates/equations/equation_detail.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block title %}{{ object.name }}{% endblock %} + +{% block content %} +
+
+ +{% if object.description %} + +{% endif %} +{% if object.variables %} + +{% if object.unicode %} + +{% endif %} + +
Description:{{ object.description }}
Variables: + {% for variable in object.variables %} + {{ variable.name }}
+ {% endfor %} +{% endif %} +
Raw LaTeX:{{ object.latex }}
Unicode:{{ object.unicode }}

+ This equation was created on {{ object.created }}; + it was last updated on {{ object.updated }}. It's owner is + {{ object.owner }}.
+{% endblock %} 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 %} + + {% for item in object_list %} + + {% endfor %} +
+ + + + {{ item.name }}
+{% if not is_paginated %}
{% if not has_previous %} +<PREV +{% endif %}{% if has_next %} +NEXT> +{% endif %}{% endif %} +{% else %} +Fuck, where are they? +{% endif %} +{% endblock %} -- cgit v1.2.3