aboutsummaryrefslogtreecommitdiff
path: root/templates/repo-nav.html
blob: 0903dce90649e2b809928521d730fab9802862c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{ define "reponav" }}
<table class='tabs'>
	<tr>
		<td>
			<!-- <a href='/pub/scm/linux/kernel/git/torvalds/linux.git/about/'>about</a> -->
			<a class='active' href='/{{ .name }}'>summary</a>
			<a href='/{{ .name }}/refs'>refs</a>
			{{ if .ref }}
			<a href='/{{ .name }}/log/{{ .ref }}'>log</a>
			<a href='/{{ .name }}/tree/{{ .ref }}'>tree</a>
			<!-- <a href='/pub/scm/linux/kernel/git/torvalds/linux.git/commit/'>commit</a>
			<a href='/pub/scm/linux/kernel/git/torvalds/linux.git/diff/'>diff</a>
			<a href='/pub/scm/linux/kernel/git/torvalds/linux.git/stats/'>stats</a> -->
			{{ end }}
		</td>
		<td class='form'>
			<form class='right' method='get' action='/{{ .name }}/log'> <!-- TODO: Also the Mux is broken -->
				<select name='qt'>
					<option value='grep'>log msg</option>
					<option value='author'>author</option>
					<option value='committer'>committer</option>
					<option value='range'>range</option>
				</select>
				<input class='txt' type='search' size='10' name='q' value=''/>
				<input type='submit' value='search'/>
			</form>
		</td>
	</tr>
</table>
{{ end }}