diff options
Diffstat (limited to 'templates/svxfile.html')
-rw-r--r-- | templates/svxfile.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/svxfile.html b/templates/svxfile.html new file mode 100644 index 0000000..1fc4e1b --- /dev/null +++ b/templates/svxfile.html @@ -0,0 +1,19 @@ +{% extends "base.html" %}
+{% load survex_markup %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content %}
+ <H1>{{ title }}</H1>
+
+ <div><a href="{{ settings.SVX_URL }}{{ title }}.svx">Download svx file</a></div>
+ {% if has_3d %}
+ <div><a href="{{ settings.SVX_URL }}{{ title }}.3d">Download 3d file</a></div>
+ <div><a href="{{ settings.SVX_URL }}{{ title }}.err">Download err file</a></div>
+ {% else %}
+ <div>Processing failed</div>
+ {% endif %}
+ <div><a href="{{ settings.SVX_URL }}{{ title }}.log">Download log file</a></div>
+
+ {{ text|survex_to_html }}
+
+{% endblock %}
\ No newline at end of file |