2015-11-18 02:05:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2012-09-16 13:17:56 +03:00
|
|
|
<head>
|
|
|
|
<title>git » {{repo.name}}</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../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">
|
2017-08-27 21:35:08 +03:00
|
|
|
<script async src="../../static/git-arr.js"></script>
|
2012-09-16 13:17:56 +03:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="summary">
|
|
|
|
<h1><a href="../../">git</a> » <a href="./">{{repo.name}}</a></h1>
|
|
|
|
|
|
|
|
<h2>{{repo.info.desc}}</h2>
|
|
|
|
|
|
|
|
|
|
|
|
% if repo.info.web_url or repo.info.git_url:
|
|
|
|
<table class="nice repo_info">
|
|
|
|
|
|
|
|
% if repo.info.web_url:
|
|
|
|
<tr>
|
|
|
|
<td class="category">website</td>
|
|
|
|
<td><a class="explicit" href="{{repo.info.web_url}}">
|
|
|
|
{{repo.info.web_url}}</a></td>
|
|
|
|
</tr>
|
|
|
|
% end
|
|
|
|
% if repo.info.git_url:
|
|
|
|
<tr>
|
2017-08-27 18:11:47 +03:00
|
|
|
<td class="category">git clone </td>
|
2012-09-16 13:17:56 +03:00
|
|
|
<td>{{! '<br/>'.join(repo.info.git_url.split())}}</td>
|
|
|
|
</tr>
|
|
|
|
% end
|
|
|
|
|
|
|
|
</table>
|
|
|
|
<hr/>
|
|
|
|
% end
|
|
|
|
|
|
|
|
% if "master" in repo.branch_names():
|
2017-08-27 21:35:08 +03:00
|
|
|
<div class="toggable-title" onclick="toggle('commits')">
|
|
|
|
<a href="b/master/">commits (master)</a>
|
|
|
|
</div>
|
2012-09-16 13:17:56 +03:00
|
|
|
% kwargs = dict(repo = repo, start_ref = "refs/heads/master",
|
|
|
|
% limit = repo.info.commits_in_summary,
|
|
|
|
% shorten = shorten, repo_root = ".", offset = 0)
|
|
|
|
% include commit-list **kwargs
|
|
|
|
<hr/>
|
2017-08-27 21:35:08 +03:00
|
|
|
<div class="toggable-title" onclick="toggle('ls')">
|
|
|
|
<a href="b/master/t/">tree (master)</a>
|
|
|
|
</div>
|
|
|
|
% kwargs = dict(repo = repo, tree=repo.tree("master"),
|
|
|
|
% treeroot="b/master/t", dirname=smstr.from_url(""))
|
|
|
|
% include tree-list **kwargs
|
|
|
|
<hr/>
|
2014-12-31 11:50:05 +02:00
|
|
|
% end
|
2012-09-16 13:17:56 +03:00
|
|
|
|
2017-08-27 21:35:08 +03:00
|
|
|
<div class="toggable-title" onclick="toggle('branches')">branches</div>
|
|
|
|
<table class="nice toggable" id="branches">
|
2012-09-16 13:17:56 +03:00
|
|
|
% for b in repo.branch_names():
|
|
|
|
<tr>
|
|
|
|
<td class="main"><a href="b/{{b}}/">{{b}}</a></td>
|
|
|
|
<td class="links">
|
|
|
|
<a class="explicit" href="b/{{b}}/">commits</a></td>
|
|
|
|
<td class="links">
|
|
|
|
<a class="explicit" href="b/{{b}}/t/">tree</a></td>
|
|
|
|
</tr>
|
|
|
|
%end
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
% tags = list(repo.tags())
|
|
|
|
% if tags:
|
2017-08-27 21:35:08 +03:00
|
|
|
<div class="toggable-title" onclick="toggle('tags')">tags</div>
|
|
|
|
<table class="nice toggable" id="tags">
|
2012-09-16 13:17:56 +03:00
|
|
|
% for name, obj_id in tags:
|
|
|
|
<tr>
|
|
|
|
<td><a href="c/{{obj_id}}/">{{name}}</a></td>
|
|
|
|
</tr>
|
|
|
|
%end
|
|
|
|
</table>
|
|
|
|
% end
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|