Port index page

This commit is contained in:
Joscha 2023-08-13 23:06:05 +02:00
parent 3bfae9c0ad
commit a36b188938
4 changed files with 18 additions and 11 deletions

View file

@ -0,0 +1,29 @@
{% extends "base.html" %}
{% block title %}overview{% endblock %}
{% block body %}
<h2>Refs</h2>
<details open>
<summary>Tracked ({{ tracked_refs.len() }})</summary>
<dl>
{% for ref in tracked_refs %}
<dt>{{ ref.name }}</dt>
<dd>{{ ref.commit|safe }}</dd>
{% endfor %}
</dl>
</details>
<details>
<summary>Untracked ({{ untracked_refs.len() }})</summary>
<dl>
{% for ref in untracked_refs %}
<dt>{{ ref.name }}</dt>
<dd>{{ ref.commit|safe }}</dd>
{% endfor %}
</dl>
</details>
{% endblock %}