logique de base

This commit is contained in:
thatscringebro
2026-05-06 16:18:30 -04:00
parent 990c10c75f
commit 89a8237bfe
3 changed files with 146 additions and 36 deletions

24
templates/index.html Normal file
View File

@@ -0,0 +1,24 @@
<!doctype html>
<html>
<head><meta charset="utf-8"><title>Repositories</title></head>
<body>
<h2>Repositories</h2>
<hr>
<table>
<tbody>
<tr>
<th>Name</th>
<th>Description</th>
<th>Last commit</th>
</tr>
{% for r in repos %}
<tr>
<td><a href="{{ r.name }}">{{ r.name }}</a></td>
<td>{{ r.desc }}</td>
<td>{{ r.lastcommit }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>

View File

@@ -0,0 +1,2 @@
<h1>hello {{ repo.name }}</h1>