tree.tera.html
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
34
35
36
37
38
39
40
41
{% extends "_page.tera.html" %} {% block title %}{{ tree.path }} | {{ tree.repository_name }}{% endblock %} {% block content %} <article> <nav class="breadcrumbs" aria-label="Breadcrumb"> <ol> <li><a href="/">Repositories</a></li> <li><a href="/repository/{{ tree.repository_name }}">{{ tree.repository_name }}</a></li> {% for bc in tree.breadcrumbs %} <li><a href="{{ bc.link }}">{{ bc.name }}</a></li> {% endfor %} <li><a href="" aria-current="page">{{ tree.name }}</a></li> </ol> </nav> <h2>{{ tree.name }}</h2> <table class="tree_list"> <thead> <tr class="flex_row"> <th scope="col" class="flex_static">Type</th> <th scope="col" class="flex_1">Name</th> </tr> </thead> <tbody> {% for t in tree.trees %} <tr class="flex_row"> <td class="flex_static"><span class="badge-tree">tree</span></td> <td class="flex_1"><a href="{{ t.link }}">{{ t.name }}</a></td> </tr> {% endfor %} {% for b in tree.blobs %} <tr class="flex_row"> <td class="flex_static"><span class="badge-blob">blob</span></td> <td class="flex_1"><a href="{{ b.link }}">{{ b.name }}</a></td> </tr> {% endfor %} </tbody> </table> </article> {% endblock %}