tree.html 808 Bytes
Newer Older
Vlad Dumitru's avatar
Vlad Dumitru committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "base.html" %}
{% block content %}
<div class="sides">
  <div class="side">
    <hr>
    <div class="field">
      <div class="dim name">files</div>
      <div class="value">
        <div class="files">
          {% for c in tree %}
          <div class="file">
            {% if c.type = "folder" %}
            <span class="name"><a href="/tree/{{ c.name }}">{{ c.name }}</a>/</span>
            {% elif c.type = "bundle" %}
            <span class="name"><a href="/bundle/{{ key }}/{{ c.name }}">{{ c.name }}</a></span>
            {% endif %}
          </div>
          {% endfor %}
        </div>
      </div>
    </div>
    <hr>
  </div>

  <div class="side rhs">
    <hr>
    <div class="content text-content">
      {{ readme|markdown }}
    </div>
    <hr>
  </div>
</div>
{% endblock %}