summaryrefslogtreecommitdiffstats
path: root/equations/templates/equations/variable_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'equations/templates/equations/variable_detail.html')
-rw-r--r--equations/templates/equations/variable_detail.html25
1 files changed, 25 insertions, 0 deletions
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 %}
+<div style="width: 100%; text-align:center;">
+<img src="{{ object.get_render_url }}" style="border: none;" /></div>
+<br />
+<table width="100%">
+{% if object.description %}
+ <tr><td width="25%"><b>Description:</b></td><td>{{ object.description }}</td></tr>
+{% endif %}
+{% if object.reference %}
+ <tr><td><b>Reference:</b></td><td>
+ <a href="{{ object.reference }}">{{ object.reference }}</a></td></tr>
+{% endif %}
+ <tr><td><b>Raw LaTeX:</b></td><td><pre>{{ object.latex }}</pre></td></tr>
+{% if object.unicode %}
+ <tr><td><b>Unicode:</b></td><td>{{ object.unicode }}</td></tr>
+{% endif %}
+ <tr><td><b>Symbol:</b></td><td>
+ <a href="{{ object.symbol.get_absolute_url }}">{{ object.symbol.name }}</a>
+ </td></tr>
+</table>
+{% endblock %}