| // 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 $_, $license := .Used }}<li><a href="#{{ (getCategory $license) }}">{{ (getCategory $license) }}</a></li>{{ end }}</ol> |
| {{ range $_, $license := .Used }}<br /> |
| {{ range $author := (getAuthors $license) }} |
| <div id="{{ (getCategory $license) }}" style="background-color: #eeeeee"> |
| <br> |
| Notices for file(s), reference: {{ (getCategory $license) }}:<ul> |
| <li> License Category: {{ (getCategory $license) }} </li> |
| <li>Authors/Contributors: {{ $author }}</li> |
| </ul> |
| {{ (getHTMLText $license $author) }}<br /> |
| </div> |
| {{ end }} |
| {{ end }} |
| </div> |
| |
| </body> |
| </html> |
| ` |