From 22e1bd31c68586e963262db964d6a83f6115e56f Mon Sep 17 00:00:00 2001 From: Kjell Kvinge Date: Thu, 29 Dec 2016 00:44:32 +0100 Subject: commithgraph / timeline (#428) * Add model and tests for graph * Add route and router for graph * Add assets for graph * Add template for graph --- templates/repo/graph.tmpl | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 templates/repo/graph.tmpl (limited to 'templates/repo/graph.tmpl') diff --git a/templates/repo/graph.tmpl b/templates/repo/graph.tmpl new file mode 100644 index 0000000000..622234cdea --- /dev/null +++ b/templates/repo/graph.tmpl @@ -0,0 +1,44 @@ +{{template "base/head" .}} +
+ {{template "repo/header" .}} +
+ + +
+
+ +
    + {{ range .Graph }} +
  • {{ .GraphAcii -}}
  • + {{ end }} +
+
+
+
+
    + {{ range .Graph }} +
  • + {{ if .OnlyRelation }} + + {{ else }} + + {{ .ShortRev}} + + {{.Branch}} + {{.Subject}} by + + {{.Author}} + + {{.Date}} + {{ end }} +
  • + {{ end }} +
+
+
+ + + +
+
+{{template "base/footer" .}} -- cgit v1.2.3