From 22ef524b9602ea39b08e18f689ef1b135de8ca2f Mon Sep 17 00:00:00 2001 From: Rabbit Whispers Date: Fri, 25 Apr 2025 20:28:26 -0500 Subject: Initial commit --- templates/base.html | 20 ++++++++++++++++++++ templates/repo-list.html | 19 +++++++++++++++++++ templates/repo.html | 18 ++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/repo-list.html create mode 100644 templates/repo.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..126d559 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,20 @@ + + + + {% block head %} + {{title}} + + + + {% endblock %} + + +
+

Shadowbox

+
+ +
+{% block content %}{% endblock %} +
+ + diff --git a/templates/repo-list.html b/templates/repo-list.html new file mode 100644 index 0000000..b05f479 --- /dev/null +++ b/templates/repo-list.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block content %} + + + + + {% for repo in repos %} + +
Name + Description + Last Update +
{{repo.name}} + {{repo.description}} + {{repo.last_update}} + {% endfor %} +
+{% endblock %} + diff --git a/templates/repo.html b/templates/repo.html new file mode 100644 index 0000000..db03325 --- /dev/null +++ b/templates/repo.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block content %} +

{{repo.name}}

+{{repo.description}} + +{% if readme %} +

README

+{{readme | safe}} +{% endif %} + +

Commit History

+