From 788eaac20ff18ceb0378f040072ac34e4f3ed77a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 23 Mar 2021 06:27:35 -0300 Subject: Add initial template for log.html, copied from stagit directly --- etc/gistatic/templates/html/head.html.tmpl | 12 ++++++++ etc/gistatic/templates/html/header.html.tmpl | 46 ++++++++++++++++++++++++++++ etc/gistatic/templates/html/log.html.tmpl | 34 ++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 etc/gistatic/templates/html/head.html.tmpl create mode 100644 etc/gistatic/templates/html/header.html.tmpl create mode 100644 etc/gistatic/templates/html/log.html.tmpl diff --git a/etc/gistatic/templates/html/head.html.tmpl b/etc/gistatic/templates/html/head.html.tmpl new file mode 100644 index 0000000..7f036d5 --- /dev/null +++ b/etc/gistatic/templates/html/head.html.tmpl @@ -0,0 +1,12 @@ + + + + + + + + + Log - {{ name }} - {{ description }} + + + diff --git a/etc/gistatic/templates/html/header.html.tmpl b/etc/gistatic/templates/html/header.html.tmpl new file mode 100644 index 0000000..bbad31a --- /dev/null +++ b/etc/gistatic/templates/html/header.html.tmpl @@ -0,0 +1,46 @@ + + + + + + + + + + + + + +
+ + Logo of the project {{ name }}. + + +

{{ name }}

+ {{ description }} +
+ + + git clone + + {{ clone-prefix }}/{{ name }} + +
+ + + + summary + + | + + files + + | + + log + + | + + refs + +
diff --git a/etc/gistatic/templates/html/log.html.tmpl b/etc/gistatic/templates/html/log.html.tmpl new file mode 100644 index 0000000..7caa079 --- /dev/null +++ b/etc/gistatic/templates/html/log.html.tmpl @@ -0,0 +1,34 @@ + + + {{ > head.html.tmpl }} + + {{ > header.html.tmpl }} +
+ +
+ + + + + + + + + + + + + {{ #commits }} + + + + + + + + {{ /commits }} + +
DateCommit messageAuthorFilesLines
{{ date }}{{ message_title }}{{ author }}{{ files }}-{{ removed }}/+{{ added }}
+
+ + -- cgit v1.2.3