Goit

Simple and lightweight Git web server
git clone http://git.omkov.net/Goit
Log | Tree | Refs | README | Download

Goit/res/admin/repos.html (34 lines, 745 B) -rw-r--r-- blame download

0123456789101112131415161718192021222324252627282930313233
<!DOCTYPE html>
<html lang="en">
	<head>{{template "base/head" .}}</head>
	<body>
		<header>{{template "admin/header" .}}</header><hr>
		<main>
			<table class="highlight-row">
				<thead>
					<tr>
						<td><b>ID</b></td>
						<td><b>Owner</b></td>
						<td><b>Name</b></td>
						<td><b>Visibility</b></td>
						<td><b>Size</b></td>
						<td></td>
					</tr>
				</thead>
				<tbody>
				{{range .Repos}}
					<tr>
						<td>{{.Id}}</td>
						<td><a href="/?u={{.Owner}}">{{.Owner}}</a></td>
						<td><a href="/{{.Name}}">{{.Name}}</a></td>
						<td>{{.Visibility}}</td>
						<td>{{.Size}}</td>
						<td><a href="/admin/repo/edit?repo={{.Id}}">edit</a></td>
					</tr>
				{{end}}
				</tbody>
			</table>
		</main>
	</body>
</html>