From e30713b84bc9e66f7a8e8d2f51e953472cac28e4 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 22 Jun 2020 06:23:04 +0200 Subject: Committing all the libgit2 progress before throwing it away I don't think libgit2 is the way forward to make any of this work. There's so much work involved in parsing the git k-v store, and the library itself is essentially of zero help for most of the heavy lifting. --- templates/core.html | 6 ++-- templates/repo/base.html | 26 +++++++------- templates/repo/details.html | 85 +-------------------------------------------- 3 files changed, 18 insertions(+), 99 deletions(-) (limited to 'templates') diff --git a/templates/core.html b/templates/core.html index 808dc4c..aaa95ce 100644 --- a/templates/core.html +++ b/templates/core.html @@ -11,8 +11,10 @@
{% block content %}{% endblock %} -
-
Generated by octopus v0.0.0
+
+Generated by octopus {{ base.version }}
+In compliance with the AGPL you can find the sources for this software here!
+
diff --git a/templates/repo/base.html b/templates/repo/base.html index 9927a4a..1099455 100644 --- a/templates/repo/base.html +++ b/templates/repo/base.html @@ -1,10 +1,10 @@ {% extends "../core.html" %} -{% block title %}octopus | /{{ repo.data.owner }}/{{ repo.data.name }}{% endblock %} +{% block title %}octopus | /{{ repo.owner }}/{{ repo.name }}{% endblock %} {% block content %}
-

{{ repo.data.owner }} / {{ repo.data.name }}

+

{{ repo.owner }} / {{ repo.name }}

šŸ™ It's a water animal

Clone @@ -14,22 +14,22 @@

{% block child_content %}{% endblock %} diff --git a/templates/repo/details.html b/templates/repo/details.html index 6a13a77..46bf9b6 100644 --- a/templates/repo/details.html +++ b/templates/repo/details.html @@ -39,94 +39,11 @@ {{ c.message }} {{ c.author }} {{ c.date }} + +{{ c.diff.0 }}/ -{{ c.diff.1 }} {% endfor %} -
-

Branch

-

Commit message

-

Author

-

Date

- - fn-verify-9324832 - Updating to actix 2.0.0 and adding 404 handler -

Katharina Fey

-

5 months ago

- - master - Rebuilding the entire htlm and css styles -

Katharina Fey

-

18 hours ago

- - -

Commit Hash

-

Commit message

-

Author

-

Date

-

Lines

- - 270cb70 - Rebuilding the entire htlm and css stiles -

Katharina Fey

-

19 hours ago

-

-214/+75

- - 5db4c57 - Updating to actix 2.0.0 and adding 404 handler -

Katharina Fey

-

2020-01-23

-

-610/+455

- - 5e16c64 - Adding project documentation and roadmap planning -

Katharina Fey

-

2020-01-23

-

-3/+61

- - 8b38bdd - data: adding a small wrapper around libgit2 -

Katharina Fey

-

2019-12-29

-

-36/+32

- - c896fcd - material-ish design with gitea-style tabs -

Milan PƤssler

-

2019-12-29

-

-102/+169

- - f2f49bb - material-ish design with gitea-style tabs -

Milan PƤssler

-

2019-12-29

-

-1/+2

- - 4be56ee - Adding a small limgit2 example usage -

Katharina Fey

-

2019-12-29

-

-2/+17

- - 81ae20b - Refactoring basic project structure -

Katharina Fey

-

2019-12-28

-

-76/+209

- - baf496a - initial styling -

Milan PƤssler

-

2019-12-13

-

-38/+149

- - d43a02e - Adding AGPL-3.0 license -

Katharina Fey

-

2019-12-10

-

-0/+661

-
- {% endblock %} -- cgit v1.2.3