~alcinnz/bureaucromancy

ref: b48eccb144e10f6f81f361afaf06507037730eb3 bureaucromancy/tpl/files.html -rw-r--r-- 472 bytes
b48eccb1 — Adrian Cochrane Integrate & fix error messages; TODO: Block invalid submits 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %}

{%- block main -%}
  <ul>{% for ancestor in path %}{% if ancestor %}
    <li><a href="{{ ancestor.link }}">{{ ancestor.name }}</a></li>
  {% endif %}{% endfor %}</ul>
  <ul>{% for dir in dirs %}
    <li><a href="{{ dir }}/">{{ dir }}</a></li>
  {% endfor %}</ul>
  <ul>{% for file in files %}
    <li><a href="/{{ input.index }}/={{ path|xURI }}{{ '/'|xURI }}{{ file|xURI }}">
      {{ file }}
    </a></li>
  {% endfor %}</ul>
{%- endblock -%}