From 7660cb4236584e4d69b492d45133532a0a4d4791 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 12 Jul 2007 01:40:54 -0400 Subject: works? --- equations/templates/equations/equation_detail.html | 14 ++++++++---- equations/templates/equations/equation_list.html | 8 +++---- equations/templates/equations/symbol_detail.html | 15 +++++++++++++ equations/templates/equations/symbol_list.html | 24 +++++++++++++++++++++ equations/templates/equations/variable_detail.html | 25 ++++++++++++++++++++++ equations/templates/equations/variable_list.html | 24 +++++++++++++++++++++ 6 files changed, 102 insertions(+), 8 deletions(-) create mode 100644 equations/templates/equations/symbol_detail.html create mode 100644 equations/templates/equations/symbol_list.html create mode 100644 equations/templates/equations/variable_detail.html create mode 100644 equations/templates/equations/variable_list.html (limited to 'equations/templates') diff --git a/equations/templates/equations/equation_detail.html b/equations/templates/equations/equation_detail.html index b4c3911..978b2e1 100644 --- a/equations/templates/equations/equation_detail.html +++ b/equations/templates/equations/equation_detail.html @@ -3,19 +3,25 @@ {% block title %}{{ object.name }}{% endblock %} {% block content %} -
+
+
{% if object.description %} - + +{% endif %} +{% if object.reference %} + {% endif %} {% if object.variables %} + {% if object.unicode %} {% endif %} diff --git a/equations/templates/equations/equation_list.html b/equations/templates/equations/equation_list.html index c7a9632..549c38f 100644 --- a/equations/templates/equations/equation_list.html +++ b/equations/templates/equations/equation_list.html @@ -4,16 +4,16 @@ {% block content %} {% if object_list %} -
Description:{{ object.description }}
Description:{{ object.description }} +
Reference: + {{ object.reference }}
Variables: - {% for variable in object.variables %} + {% for variable in object.variables.all %} {{ variable.name }}
{% endfor %} {% endif %} -
Raw LaTeX:{{ object.latex }}
Raw LaTeX:
{{ object.latex }}
Unicode:{{ object.unicode }}
+
{% for item in object_list %} - {% endfor %}
+
- + {{ item.name }}
-{% if not is_paginated %}
{% if not has_previous %} +{% if is_paginated %}
{% if has_previous %} <PREV {% endif %}{% if has_next %} NEXT> diff --git a/equations/templates/equations/symbol_detail.html b/equations/templates/equations/symbol_detail.html new file mode 100644 index 0000000..85f59d8 --- /dev/null +++ b/equations/templates/equations/symbol_detail.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} + +{% block title %}{{ object.name }}{% endblock %} + +{% block content %} +
+
+
+ + +{% if object.unicode %} + +{% endif %} +
Raw LaTeX:
{{ object.latex }}
Unicode:{{ object.unicode }}
+{% endblock %} diff --git a/equations/templates/equations/symbol_list.html b/equations/templates/equations/symbol_list.html new file mode 100644 index 0000000..1983b3f --- /dev/null +++ b/equations/templates/equations/symbol_list.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}Symbol Time!{% endblock %} + +{% block content %} +{% if object_list %} + + {% for item in object_list %} + + {% endfor %} +
+ + + + {{ item.name }}
+{% if is_paginated %}
{% if has_previous %} +<PREV +{% endif %}{% if has_next %} +NEXT> +{% endif %}{% endif %} +{% else %} +Fuck, where are they? +{% endif %} +{% endblock %} diff --git a/equations/templates/equations/variable_detail.html b/equations/templates/equations/variable_detail.html new file mode 100644 index 0000000..6488de2 --- /dev/null +++ b/equations/templates/equations/variable_detail.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block title %}{{ object.name }}{% endblock %} + +{% block content %} +
+
+
+ +{% if object.description %} + +{% endif %} +{% if object.reference %} + +{% endif %} + +{% if object.unicode %} + +{% endif %} + +
Description:{{ object.description }}
Reference: + {{ object.reference }}
Raw LaTeX:
{{ object.latex }}
Unicode:{{ object.unicode }}
Symbol: + {{ object.symbol.name }} +
+{% endblock %} diff --git a/equations/templates/equations/variable_list.html b/equations/templates/equations/variable_list.html new file mode 100644 index 0000000..9ff7a64 --- /dev/null +++ b/equations/templates/equations/variable_list.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}Variables; What a World!{% endblock %} + +{% block content %} +{% if object_list %} + + {% for item in object_list %} + + {% endfor %} +
+ + + + {{ item.name }}
+{% if is_paginated %}
{% if has_previous %} +<PREV +{% endif %}{% if has_next %} +NEXT> +{% endif %}{% endif %} +{% else %} +Fuck, where are they? +{% endif %} +{% endblock %} -- cgit v1.2.3