blob: 9eac98b4266518dc5c73818fb916c25fcc458704 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package templates
const TemplateHtml = `
<html>
<div style="width: 1000">
Table of Contents:
<ol>{{ range $file, $licenses := .TableOfContents }}<li>{{ $file }} (
{{ range $_, $license := $licenses }} <a href="#{{ (getCategory $license) }}">{{ (getCategory $license) }}</a>, {{ end }})</li>{{ end }}</ol>
{{ range $_, $license := .Used }}<br />
<div id="{{ (getCategory $license) }}" style="background-color: #eeeeee">
Notices for file(s), reference: {{ (getCategory $license) }}:<ul>
{{ range $file := (getFiles $license) }}<li>{{ $file }}</li>
{{ end }}
</ul>
{{ (getHTMLText $license) }}<br />
</div>
{{ end }}
</div>
</body>
</html>
`