~emersion/drmdb

6c71d4985b26f72fd7b1d55619f4b74164352148 — Simon Ser 19 days ago 2fbcdd2
Add links to formats page in snapshot page
1 files changed, 3 insertions(+), 2 deletions(-)

M public/snapshot.html
M public/snapshot.html => public/snapshot.html +3 -2
@@ 19,7 19,7 @@
{{define "formats"}}
<ul>
	{{range .}}
	<li>{{.}}</li>
	<li><a href="/formats?format={{printf "%d" .}}">{{.}}</a></li>
	{{end}}
</ul>
{{end}}


@@ 27,7 27,8 @@
{{define "in-formats"}}
<ul>
	{{range .}}
	<li>{{.Modifier}}
	<li>{{"" -}}
		<a href="/formats?modifier={{printf "%d" .Modifier}}">{{.Modifier}}</a>
		{{template "formats" .Formats}}
	</li>
	{{end}}