mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-13 14:20:18 +01:00
cb6e5cb0c7
* use dep for vendoring * lets encrypt * moved web to transfer.sh-web repo * single command install * added first tests
21 lines
741 B
HTML
21 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}}
|