39 lines
No EOL
674 B
HTML
39 lines
No EOL
674 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Licences</title>
|
|
<style>
|
|
body {
|
|
font-family: serif;
|
|
}
|
|
pre {
|
|
background-color: lightgrey;
|
|
padding: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{{ range . }}
|
|
<div>
|
|
<h3>{{ .Name }}</h3>
|
|
<ul>
|
|
<li>Name: {{ .Name }}</li>
|
|
<li>Version: {{ .Version }}</li>
|
|
<li>
|
|
License:
|
|
{{ if ne .LicenseURL "Unknown" }}
|
|
<a href="{{ .LicenseURL }}">
|
|
{{ .LicenseName }}
|
|
</a>
|
|
{{ else }}
|
|
{{ .LicenseName }}
|
|
{{ end }}
|
|
</li>
|
|
</ul>
|
|
<pre>{{ .LicenseText }}</pre>
|
|
</div>
|
|
{{ end }}
|
|
</body>
|
|
</html> |