summaryrefslogtreecommitdiff
path: root/doc/invocations-http-server/templates/tree.html
blob: 9135f327a4b0df82dd7ee24b0696c77b4f1b99f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends "base.html" %}
{% block heading %}
Tree {{ name | e }}
{% endblock %}

{% block content %}
<h1>Tree {{ name | e }}</h1>

<ul>
  {% for entry in entries %}
  <li>
    <a href="/{{ entry["type"] | e}}/{{ entry["hash"] | e}}">{{ entry["path"] | e}}</a>
    {% if entry["type"] == "blob" %}
    <a href="/blob/{{ entry["hash"] | e}}/{{ entry["path"] | e}}">[&darr;]</a>
    {% endif %}
  </li>
  {% endfor %}
</ul>
{% endblock %}