OLD | NEW |
1 #!/usr/bin/env python2 | 1 #!/usr/bin/env python2 |
2 # -*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 | 3 |
4 # Copyright 2016 Google Inc. All Rights Reserved. | 4 # Copyright 2016 Google Inc. All Rights Reserved. |
5 # | 5 # |
6 # Licensed under the Apache License, Version 2.0 (the "License"); | 6 # Licensed under the Apache License, Version 2.0 (the "License"); |
7 # you may not use this file except in compliance with the License. | 7 # you may not use this file except in compliance with the License. |
8 # You may obtain a copy of the License at | 8 # You may obtain a copy of the License at |
9 # | 9 # |
10 # http://www.apache.org/licenses/LICENSE-2.0 | 10 # http://www.apache.org/licenses/LICENSE-2.0 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 </section> | 151 </section> |
152 {% endif %} | 152 {% endif %} |
153 """) | 153 """) |
154 | 154 |
155 | 155 |
156 TEMPLATE_FULL = jinja2.Template(""" | 156 TEMPLATE_FULL = jinja2.Template(""" |
157 <!DOCTYPE html> | 157 <!DOCTYPE html> |
158 <html lang="en"> | 158 <html lang="en"> |
159 <head> | 159 <head> |
160 <meta charset="utf-8"> | 160 <meta charset="utf-8"> |
161 <title>Caterpillar Conversion Report: {{ ca_manifest.name }}</title> | 161 <title>Caterpillar Conversion Report: {{ chrome_app_manifest.name }}</title> |
162 <link rel="stylesheet" href="report.css"> | 162 <link rel="stylesheet" href="report.css"> |
163 <body> | 163 <body> |
164 <div id="report"> | 164 <div id="report"> |
165 <h1> | 165 <h1> |
166 Caterpillar Conversion Report: | 166 Caterpillar Conversion Report: |
167 <span class="name">{{ chrome_app_manifest.name }}</span> | 167 <span class="name">{{ chrome_app_manifest.name }}</span> |
168 </h1> | 168 </h1> |
169 {{ summary }} | 169 {{ summary }} |
170 {{ general_warnings }} | 170 {{ general_warnings }} |
171 {{ polyfilled }} | 171 {{ polyfilled }} |
172 {{ not_polyfilled }} | 172 {{ not_polyfilled }} |
173 </div> | 173 </div> |
174 <footer> | 174 <footer> |
175 Generated by | 175 Generated by |
176 <a href="https://github.com/chromium/caterpillar">Caterpillar</a>. | 176 <a href="https://github.com/chromium/caterpillar">Caterpillar</a>. |
177 </footer> | 177 </footer> |
178 <script src="bower_components/code-prettify/src/run_prettify.js"> | 178 <script src="bower_components/code-prettify/src/run_prettify.js"> |
179 </script> | 179 </script> |
180 </body> | 180 </body> |
181 </html> | 181 </html> |
182 """) | 182 """) |
OLD | NEW |