forked from expo/troggle
fixed serving expofiles from test server
This commit is contained in:
28
templates/dirdisplay.html
Normal file
28
templates/dirdisplay.html
Normal 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><No subdirectories>
|
||||
{% endfor %}
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
{% block margins %}
|
||||
<img src="{{ settings.MEDIA_URL }}eieshole.jpg">
|
||||
<img src="{{ settings.MEDIA_URL }}goesser.jpg">
|
||||
{% endblock margins %}
|
||||
Reference in New Issue
Block a user