summaryrefslogtreecommitdiffstats
path: root/templates/svxfile.html
diff options
context:
space:
mode:
authorgoatchurch <devnull@localhost>2009-07-27 13:42:54 +0100
committergoatchurch <devnull@localhost>2009-07-27 13:42:54 +0100
commit68060d6118b47c54c34004b97ef13d5200cdd401 (patch)
treed557d0213a729237778dbf8192a2f3145795d890 /templates/svxfile.html
parentddbdc73e7eef3f63e8cd32172f6559759b896388 (diff)
downloadtroggle-68060d6118b47c54c34004b97ef13d5200cdd401.tar.gz
troggle-68060d6118b47c54c34004b97ef13d5200cdd401.tar.bz2
troggle-68060d6118b47c54c34004b97ef13d5200cdd401.zip
[svn] some file reading things
Diffstat (limited to 'templates/svxfile.html')
-rw-r--r--templates/svxfile.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/svxfile.html b/templates/svxfile.html
index 335b2fd..d8413e3 100644
--- a/templates/svxfile.html
+++ b/templates/svxfile.html
@@ -39,16 +39,14 @@ $(document).ready(function()
<h1>Survex File: {{ title }} .svx</h1>
<form id="codewikiform" action="" method="POST">
+ <div class="codeframebit">{{form.code}}</div>
<div style="display:none">{{form.filename}} {{form.dirname}} {{form.datetime}} {{form.outputtype}}</div>
<input type="submit" name="diff" value="Diffy" />
<input type="submit" name="save" value="Save"/>
<input type="submit" name="process" value="Process" title="executes cavern"/>
(Not implemented: <input type="submit" name="svncheckin" value="svn check-in"/>)
- <div class="codeframebit">{{form.code}}</div>
</form>
-<h4>Output</h4>
-
<div id="difflistajax">
<pre>
{% for diffline in difflist %}{{diffline}}
@@ -57,7 +55,7 @@ $(document).ready(function()
{% if logmessage %}
{% if has_3d %}
-<p><a href="{{ settings.SVX_URL }}{{ title }}.3d">3d file</a></p>
+<p><a href="{% url threed title %}">3d file</a></p>
{% else %}
<p><b>No 3d file</b></p>
{% endif %}