summaryrefslogtreecommitdiff
path: root/sublab_project/templates
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/templates')
-rw-r--r--sublab_project/templates/base.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/sublab_project/templates/base.html b/sublab_project/templates/base.html
index 8dc99b0..1f9346a 100644
--- a/sublab_project/templates/base.html
+++ b/sublab_project/templates/base.html
@@ -1,5 +1,6 @@
{% load host_status %}
{% load flatblock_tags %}
+{% load thumbnail %}
<!DOCTYPE HTML>
<html>
<head>
@@ -106,9 +107,13 @@
{% flatblock "motd" %}
</p>
<hr>
- <a href="/webcam/" class="img"><img src="{{ STATIC_URL }}img/thumb.rack.webcam.jpg" alt="Webcam im Fenster" class="webcamthumb"></a>
+ {% thumbnail "karlheine_cam.jpg" "200" upscale=False as image %}
+ <a href="/webcam/" class="img"><img src="{{ image.url }}" alt="Webcam im Fenster" class="webcamthumb"></a>
+ {% endthumbnail %}
<hr>
- <a href="{{ STATIC_URL }}img/tempgraph.png" class="img"><img src="img/thumb.tempgraph.png" alt="Temperaturen im sublab" class="webcamthumb"></a>
+ {% thumbnail "tempgraph.png" "200" upscale=False as image %}
+ <a href="{{ MEDIA_URL }}tempgraph.png" class="img"><img src="{{ image.url }}" alt="Temperaturen im sublab" class="webcamthumb"></a>
+ {% endthumbnail %}
<hr>
<p class="member">
<a href="{{ STATIC_URL }}pdf/sublab_ev_mitgliedsantrag.pdf">Mitglied werden</a>