fixed serving expofiles from test server

This commit is contained in:
Philip Sargent
2021-03-28 03:48:04 +01:00
parent c4cd2178f7
commit a4c892b696
4 changed files with 137 additions and 137 deletions

28
templates/dirdisplay.html Normal file
View File

@@ -0,0 +1,28 @@
{% extends "base.html" %}
{% block title %}Cambridge Expeditions to Austria{% endblock %}
{% block content %}
<div id="col1">
<h3>{{filepath}}/</h3>
{% for f in fileitems %}
<a href="/{{ f.0 }}">{{ f.1 }}</a><br />
{% endfor %}
<p>
<h3>{{filepath}}/</h3>
{% for d in diritems %}
<a href="/{{ d.0 }}">/{{ d.1 }}/<br />
{% empty %}
<p>&lt;No subdirectories&gt;
{% endfor %}
{% endblock content %}
{% block margins %}
<img src="{{ settings.MEDIA_URL }}eieshole.jpg">
<img src="{{ settings.MEDIA_URL }}goesser.jpg">
{% endblock margins %}