OLD | NEW |
1 <!-- This Source Code is subject to the terms of the Mozilla Public License | 1 <!-- This Source Code is subject to the terms of the Mozilla Public License |
2 - version 2.0 (the "License"). You can obtain a copy of the License at | 2 - version 2.0 (the "License"). You can obtain a copy of the License at |
3 - http://mozilla.org/MPL/2.0/. --> | 3 - http://mozilla.org/MPL/2.0/. --> |
4 | 4 |
5 <!DOCTYPE html> | 5 <!DOCTYPE html> |
6 <html lang="en" selectedTab="all"> | 6 <html lang="en" selectedTab="all"> |
7 <head> | 7 <head> |
8 <title>Issue report for {{siteName}}</title> | 8 <title>Issue report for {{siteName}}</title> |
9 <link rel="stylesheet" href="/reports.css" type="text/css" /> | 9 <link rel="stylesheet" href="/reports.css" type="text/css" /> |
10 <script type="text/javascript" src="/reports.js"></script> | 10 <script type="text/javascript" src="/reports.js"></script> |
11 </head> | 11 </head> |
12 <body> | 12 <body> |
13 <table id="overview"> | 13 <table id="overview"> |
14 <tr id="statusRow"> | 14 <tr id="statusRow"> |
15 <td class="label">Status:</td> | 15 <td class="label">Status:</td> |
16 <td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unkn
own{% endif %}</td> | 16 <td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unkn
own{% endif %}</td> |
17 </tr> | 17 </tr> |
| 18 <tr id="utilityRow"> |
| 19 <td class="label">Utility:</td> |
| 20 <td id="utilityCell" value="{{utility}}">{{ {'0': 'not established', '1'
: 'usefull', '-1': 'harmful'}.get(utility, 0) }}</td> |
| 21 </tr> |
18 <tr id="mainURLRow"> | 22 <tr id="mainURLRow"> |
19 <td class="label">Website:</td> | 23 <td class="label">Website:</td> |
20 <td>{{main_url|url}} | 24 <td>{{main_url|url}} |
21 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} | 25 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} |
22 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} | 26 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} |
23 </td> | 27 </td> |
24 </tr> | 28 </tr> |
25 <tr id="typeRow"> | 29 <tr id="typeRow"> |
26 <td class="label">Issue type:</td> | 30 <td class="label">Issue type:</td> |
27 <td>{{ {'false positive': 'False positive', 'false negative': 'Ad not bl
ocked', 'other': 'Other'}.get(type, 'unknown') }}</td> | 31 <td>{{ {'false positive': 'False positive', 'false negative': 'Ad not bl
ocked', 'other': 'Other'}.get(type, 'unknown') }}</td> |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 <td class="warningMessage">{{warnings[key]}}</td> | 288 <td class="warningMessage">{{warnings[key]}}</td> |
285 </tr> | 289 </tr> |
286 {% endfor -%} | 290 {% endfor -%} |
287 </tbody> | 291 </tbody> |
288 </table> | 292 </table> |
289 </div> | 293 </div> |
290 {%- endif %} | 294 {%- endif %} |
291 </div> | 295 </div> |
292 </body> | 296 </body> |
293 </html> | 297 </html> |
OLD | NEW |