|
1 | 1 | <!doctype html> |
2 | 2 | <html> |
3 | 3 | <head> |
4 | | - <style type="text/css"> |
5 | | - div.additional-license-text-list {display:block} |
6 | | - body {font-family: Helvetica, Arial, sans-serif;} |
7 | | - pre {white-space: pre-wrap;} |
8 | | - li {font-weight: bold;} |
9 | | - #header {font-family: Helvetica; font-style:italic} |
10 | | - </style> |
11 | | - <title>{{ variables['title'] }}</title> |
| 4 | + <style type="text/css"> |
| 5 | + div.additional-license-text-list {display:block} |
| 6 | + body {font-family: Helvetica, Arial, sans-serif;} |
| 7 | + pre {white-space: pre-wrap;} |
| 8 | + li {font-weight: bold;} |
| 9 | + #header {font-family: Helvetica; font-style:italic} |
| 10 | + </style> |
| 11 | + <title>{{ variables['title'] }}</title> |
12 | 12 | </head> |
13 | 13 | <body> |
14 | | - <h1>{{ variables['title'] }}</h1> |
15 | | - <pre id="header"> |
| 14 | + <h1>{{ variables['title'] }}</h1> |
| 15 | + <pre id="header"> |
16 | 16 |
|
17 | 17 | This document lists the open source and third-party components of a [COMPANY NAME] product with additional information regarding licenses, acknowledgments and required copyright notices for these components. This document is for internal [COMPANY NAME] use only. |
18 | 18 |
|
19 | | - </pre> |
| 19 | + </pre> |
20 | 20 |
|
21 | | - <hr> |
22 | | - <div class="oss-table-of-contents"> |
23 | | - {% for license in licenses_list %} |
24 | | - <p> |
25 | | - <a href="#group_{{ loop.index0 }}">{{ license.name }} |
26 | | - </a> |
27 | | - </p> |
28 | | - {% endfor %} |
29 | | - |
30 | | - </div> |
31 | | - <hr> |
| 21 | + <hr> |
| 22 | + <div class="oss-table-of-contents"> |
| 23 | + {% for license in licenses_list %} |
| 24 | + <p> |
| 25 | + <a href="#group_{{ loop.index0 }}">{{ license.name }} |
| 26 | + </a> |
| 27 | + </p> |
| 28 | + {% endfor %} |
32 | 29 |
|
33 | | - {% for license in licenses_list %} |
34 | | - <div id="group_{{ loop.index0 }}"> |
35 | | - <h3>{{ license.name }}</h3> |
36 | | - <p>This product contains the following open source software packages licensed under the terms of the license: {{license.name}}</p> |
37 | | - |
38 | | - <div class="oss-component" id="component_{{ loop.index0 }}"> |
39 | | - {%for about_object in abouts %} |
40 | | - {% if loop.first %} |
41 | | - {% if license.url %} |
42 | | - <p>License Gallery URL: <a href="{{ license.url }}">{{license.url}}</a> </p> |
43 | | - {% endif %} |
44 | | - {% endif %} |
45 | | - {% if license.key in about_object.license_key.value %} |
46 | | - <li>{{ about_object.name.value }}{% if about_object.version.value %} - Version {{ about_object.version.value }}{% endif %}</li> |
47 | | - {% if about_object.copyright.value %} |
48 | | - <pre>{{about_object.copyright.value}}</pre> |
49 | | - {% endif %} |
50 | | - {% if about_object.notice_file.value %} |
51 | | - <pre>{{ about_object.notice_file.value }}</pre> |
52 | | - {% elif about_object.notice_file.value %} |
53 | | - <pre class="component-notice">{{ about_object.notice_text.value }}</pre> |
54 | | - {% endif %} |
55 | | - {% endif %} |
56 | | - {% if loop.last %} |
57 | | - <pre>{{license.text}}</pre> |
58 | | - {% endif %} |
59 | | - {% endfor %} |
60 | | - </div> |
61 | | - </div> |
62 | | - {% endfor %} |
63 | | - <hr> |
| 30 | + </div> |
| 31 | + <hr> |
| 32 | + |
| 33 | + {% for license in licenses_list %} |
| 34 | + <div id="group_{{ loop.index0 }}"> |
| 35 | + <h3>{{ license.name }}</h3> |
| 36 | + <p>This product contains the following open source software packages licensed under the terms of the license: {{license.name}}</p> |
| 37 | + |
| 38 | + <div class="oss-component" id="component_{{ loop.index0 }}"> |
| 39 | + {%for about_object in abouts %} |
| 40 | + {% if loop.first %} |
| 41 | + {% if license.url %} |
| 42 | + <p>License Gallery URL: <a href="{{ license.url }}">{{license.url}}</a> </p> |
| 43 | + {% endif %} |
| 44 | + {% endif %} |
| 45 | + {% if license.key in about_object.license_key.value %} |
| 46 | + <li>{{ about_object.name.value }}{% if about_object.version.value %} - Version {{ about_object.version.value }}{% endif %}</li> |
| 47 | + {% if about_object.copyright.value %} |
| 48 | + <pre>{{about_object.copyright.value}}</pre> |
| 49 | + {% endif %} |
| 50 | + {% if about_object.notice_file.value %} |
| 51 | + <pre>{{ about_object.notice_file.value }}</pre> |
| 52 | + {% elif about_object.notice_file.value %} |
| 53 | + <pre class="component-notice">{{ about_object.notice_text.value }}</pre> |
| 54 | + {% endif %} |
| 55 | + {% endif %} |
| 56 | + {% if loop.last %} |
| 57 | + <pre>{{license.text}}</pre> |
| 58 | + {% endif %} |
| 59 | + {% endfor %} |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + {% endfor %} |
| 63 | + <hr> |
64 | 64 | <hr> |
65 | 65 | <h3><a id="End">End</a></h3> |
66 | 66 | </body> |
|
0 commit comments