2022-03-25 01:01:46 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Gitea | Melon Tools</title>
|
2022-03-26 00:26:20 +00:00
|
|
|
<style>
|
|
|
|
.page-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
</style>
|
2022-03-25 01:01:46 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Gitea | Melon Tools</h1>
|
2022-03-26 00:26:20 +00:00
|
|
|
<div class="page-content">
|
|
|
|
<div>
|
|
|
|
<p>Select repository source:</p>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="?org={{.Username}}">{{.Username}} (my user account)</a>
|
|
|
|
</li>
|
|
|
|
{{range .Orgs}}
|
|
|
|
<li>
|
|
|
|
<a href="?org={{.Name}}">{{.Name}}</a>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{if .ShowOrg}}
|
|
|
|
<div>
|
|
|
|
<p>Select repository:</p>
|
|
|
|
<ul>
|
|
|
|
{{range .Repos}}
|
|
|
|
<li>
|
|
|
|
<a href="?org={{$.SelOrg}}&repo={{.Name}}">{{$.SelOrg}}/{{.Name}}</a>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{if .ShowRepo}}
|
|
|
|
<div>
|
|
|
|
<p>Repository details:</p>
|
2022-03-26 11:43:55 +00:00
|
|
|
<p>Go import: go get {{.SelModule}}@v0.0.0-{{.CommitTime}}-{{.CommitHash}}</p>
|
2022-03-26 00:26:20 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-03-25 01:01:46 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|