Abbaye

at 8d154b4

{% extends "base.html" %}
{% block head %}
        <title>{{ project_name }} — {{ dir_path | default(value="~") }}</title>
{% endblock %}
{% block header %}
            <a href="{{ root_path }}" class="site-title">{{ project_name }}</a>
            <nav>
                <a href="{{ root_path }}{{ git_ui_path }}index.html">Log</a>
                <a href="{{ root_path }}{{ git_ui_path }}refs.html">Refs</a>
            </nav>
{% endblock %}
{% block body %}
        <main>
            <nav class="breadcrumb">
                {% for crumb in breadcrumbs %}
                {% if not loop.last %}<span class="breadcrumb-sep">/</span>{% endif %}
                {% if crumb.url %}<a href="{{ crumb.url }}">{{ crumb.name | escape }}</a>{% else %}<span>{{ crumb.name | escape }}</span>{% endif %}
                {% endfor %}
            </nav>

            <table class="tree-table">
                <tbody>
                    {% for entry in entries %}
                    <tr>
                        <td class="tree-mode tree-mode-{{ entry.kind }}"></td>
                        <td>
                            {% if entry.kind == "tree" %}
                            <a class="tree-entry-tree" href="{{ entry.url }}">{{ entry.name | escape }}/</a>
                            {% else %}
                            <a class="tree-entry-blob" href="{{ entry.url }}">{{ entry.name | escape }}</a>
                            {% endif %}
                        </td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>

            <p class="tree-rev">at <a class="hash" href="{{ commit_url }}">{{ commit_hash_short }}</a></p>
        </main>
{% endblock %}