1
0
mirror of https://github.com/dutchcoders/transfer.sh.git synced 2020-11-18 19:53:40 -08:00
Remco cb6e5cb0c7 Major rewrite
* use dep for vendoring
* lets encrypt
* moved web to transfer.sh-web repo
* single command install
* added first tests
2017-03-22 18:09:21 +01:00

22 lines
741 B
HTML

{{define "ROOT"}}
<!DOCTYPE html>
<html>
<head>
{{template "commonHead"}}
<title>Lint {{.Path}}</title>
</head>
<body>
<h3>Lint for {{if .URL}}<a href="{{.URL}}">{{.Path}}<a/>{{else}}{{.Path}}{{end}}</h3>
<form method="POST" action="/-/refresh">
<input type="hidden" name="importPath" value="{{.Path}}">
This report was generated {{.Updated|timeago}}. <input type="submit" value="Refresh">
</form>
{{range $f := .Files}}{{range .Problems}}
<p>{{if .Line}}<a href="{{printf $.LineFmt $f.URL .Line}}" title="{{.LineText}}">{{$f.Name}}:{{.Line}}</a>{{else}}{{$f.Name}}{{end}}:
{{.Text}}
{{if .Link}} <a href="{{.Link}}"></a>{{end}}
{{end}}{{end}}
{{template "commonFooter"}}
</body></html>
{{end}}