Pi66

git.pi66.xyz
A web interface for the pi66.xyz Git server
git clone https://git.pi66.xyz/git.pi66.xyz

src/templates/Refs.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
{% set page_content %}

{% include "partials/repo-nav.html" %}

{% for ref in refs %}
    {% if ref.refs %}
        <h2>{{ref.name}}</h2>
        <table class="!w-full !table-fixed !border-1">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Last commit date</th>
                    <th>Author</th>
                </tr>
            </thead>
            <tbody>
                {% for ref_entry in ref.refs %}
                    <tr>
                        <td class="!text-cyan-400"> {{ ref_entry.name   }}</td>
                        <td class="!text-cyan-400"> {{ ref_entry.date   }}</td>
                        <td class="!text-cyan-400"> {{ ref_entry.author }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    {% endif %}
{% endfor %}

{% endset %}
{% include "base.html" %}