diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_tree_file.html.tmpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index be78efd..6931c4e 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -8,10 +8,12 @@ </head> <body class="repo-tree-file"> {{ template "header" . }} - <p> - /{{ .path_spec }} (<a href="/{{ .group_name }}/:/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{ if not (eq .ref_type "head") }}?{{ .ref_type }}={{ .ref }}{{ end }}">raw</a>) - </p> - {{ .file_contents }} + <div class="padding"> + <p> + /{{ .path_spec }} (<a href="/{{ .group_name }}/:/repos/{{ .repo_name }}/raw/{{ .path_spec }}{{ if not (eq .ref_type "head") }}?{{ .ref_type }}={{ .ref }}{{ end }}">raw</a>) + </p> + {{ .file_contents }} + </div> <footer> {{ template "footer" . }} </footer> |