2015-11-18 02:05:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2012-09-16 13:17:56 +03:00
|
|
|
<head>
|
|
|
|
|
|
|
|
% if not dirname.raw:
|
2014-12-31 11:50:08 +02:00
|
|
|
% reltree = './'
|
2012-09-16 13:17:56 +03:00
|
|
|
% else:
|
2014-12-31 11:50:08 +02:00
|
|
|
% reltree = '../' * (len(dirname.split('/')) - 1)
|
2012-09-16 13:17:56 +03:00
|
|
|
% end
|
2015-01-14 09:46:32 +02:00
|
|
|
% relroot = reltree + '../' * (len(branch.split('/')) - 1)
|
2012-09-16 13:17:56 +03:00
|
|
|
|
|
|
|
<title>git » {{repo.name}} »
|
2020-05-24 17:52:11 +03:00
|
|
|
{{branch}} » {{dirname.raw if dirname.raw else '/'}}</title>
|
2012-09-16 13:17:56 +03:00
|
|
|
<link rel="stylesheet" type="text/css"
|
|
|
|
href="{{relroot}}../../../../../static/git-arr.css"/>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
2015-11-18 02:05:13 +02:00
|
|
|
<meta name=viewport content="width=device-width, initial-scale=1">
|
2012-09-16 13:17:56 +03:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="tree">
|
|
|
|
<h1><a href="{{relroot}}../../../../../">git</a> »
|
|
|
|
<a href="{{relroot}}../../../">{{repo.name}}</a> »
|
2015-01-14 09:46:32 +02:00
|
|
|
<a href="{{reltree}}../">{{branch}}</a> »
|
2014-12-31 11:50:08 +02:00
|
|
|
<a href="{{reltree}}">tree</a>
|
2012-09-16 13:17:56 +03:00
|
|
|
</h1>
|
|
|
|
|
|
|
|
<h3>
|
2015-01-14 09:46:32 +02:00
|
|
|
<a href="{{reltree}}">[{{branch}}]</a> /
|
2014-12-31 11:50:08 +02:00
|
|
|
% base = smstr(reltree)
|
2012-09-16 13:17:56 +03:00
|
|
|
% for c in dirname.split('/'):
|
2014-06-30 09:02:18 +03:00
|
|
|
% if not c.raw:
|
|
|
|
% continue
|
|
|
|
% end
|
2020-05-24 17:52:11 +03:00
|
|
|
<a href="{{base.url}}{{c.url}}/">{{c.raw}}</a> /
|
2012-09-16 13:17:56 +03:00
|
|
|
% base += c + '/'
|
|
|
|
% end
|
|
|
|
</h3>
|
|
|
|
|
2017-08-27 21:17:26 +03:00
|
|
|
% kwargs = dict(repo = repo, tree=tree, treeroot=".")
|
|
|
|
% include tree-list **kwargs
|
2012-09-16 13:17:56 +03:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|