summaryrefslogtreecommitdiffstats
path: root/templates/survey.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:23:57 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:23:57 +0100
commit8c68a8a0d749327eed5431a04f03f5ec4472969a (patch)
tree1dcadcd7919ad5542c3d8c1b13f4eda7fdd32196 /templates/survey.html
parent21204f1bc87f3f9d1f3972abcc5cf41bcb8d888b (diff)
downloadtroggle-8c68a8a0d749327eed5431a04f03f5ec4472969a.tar.gz
troggle-8c68a8a0d749327eed5431a04f03f5ec4472969a.tar.bz2
troggle-8c68a8a0d749327eed5431a04f03f5ec4472969a.zip
[svn] Dynamic thumbnail generation for photos and survey scans using imagekit, further improving registration system, other misc.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8336 by cucc @ 5/10/2009 11:05 PM
Diffstat (limited to 'templates/survey.html')
-rw-r--r--templates/survey.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/survey.html b/templates/survey.html
index fcdf65e..a0395b6 100644
--- a/templates/survey.html
+++ b/templates/survey.html
@@ -179,11 +179,11 @@
<center>[ There are no surveys in the database for this year. Put link in to add one. ]</center>
{% endif %}
</div>
- <div id="notesContent" class="behind">
+ <div id="notesContent" class="behind" style="overflow: auto">
<h3>Scanned notes for {{ current_survey }}.</h3>
{% for noteItem in notes %}
<div class="figure">
- <p> <img src="{{ noteItem.correctURL }}" class="thumbnail">
+ <p> <img src="{{ noteItem.thumbnail_image.url }}" class="thumbnail">
<p> File at: <a href="{{ noteItem.correctURL }}"> {{ noteItem.file.name }} </a> <br />
Scanned by: {{ noteItem.scanned_by }} <br />
On: {{ noteItem.scanned_on }} <br />
@@ -201,8 +201,8 @@
<h3>Scanned plan sketch files for {{ current_survey }}.</h3>
{% for sketchItem in planSketches %}
<div class="figure">
- <p> <img src="{{ sketchItem.correctURL }}" class="thumbnail" />
- <p> File at: <a href="{{ sketchItem.correctUrl }}"> {{ sketchItem.file.name }} </a> <br />
+ <p> <img src="{{ sketchItem.thumbnail_image.url }}" class="thumbnail" />
+ <p> File at: <a href="{{ sketchItem.correctURL }}"> {{ sketchItem.file.name }} </a> <br />
Scanned by: {{ sketchItem.scanned_by }} <br />
On: {{ sketchItem.scanned_on }} <br />
</p>