|
64 | 64 | </style> |
65 | 65 | </head> |
66 | 66 | <body> |
| 67 | + {% if results.license_copyright %} |
67 | 68 | <table> |
68 | 69 | <thead> |
69 | 70 | <tr> |
|
75 | 76 | </tr> |
76 | 77 | </thead> |
77 | 78 | <tbody> |
78 | | - {% for location, data in results.items() %} |
| 79 | + {% for location, data in results.license_copyright.items() %} |
79 | 80 | {% for row in data %} |
80 | 81 | <tr> |
81 | 82 | <td>{{ location }}</td> |
|
92 | 93 | {% endfor %} |
93 | 94 | </tbody> |
94 | 95 | </table> |
| 96 | + {% endif %} |
| 97 | + |
| 98 | + {% if results.infos %} |
| 99 | + <table> |
| 100 | + <caption>File Information</caption> |
| 101 | + <thead> |
| 102 | + <tr> |
| 103 | + <th>location</th> |
| 104 | + <th>type</th> |
| 105 | + <th>name</th> |
| 106 | + <th>extension</th> |
| 107 | + <th>date</th> |
| 108 | + <th>size</th> |
| 109 | + <th>sha1</th> |
| 110 | + <th>md5</th> |
| 111 | + <th>files_count</th> |
| 112 | + <th>mime_type</th> |
| 113 | + <th>file_type</th> |
| 114 | + <th>programming_language</th> |
| 115 | + <th>is_binary</th> |
| 116 | + <th>is_text</th> |
| 117 | + <th>is_archive</th> |
| 118 | + <th>is_media</th> |
| 119 | + <th>is_source</th> |
| 120 | + <th>is_script</th> |
| 121 | + </tr> |
| 122 | + </thead> |
| 123 | + <tbody> |
| 124 | + {% for location, data in results.infos.items() %} |
| 125 | + {% for row in data %} |
| 126 | + <tr> |
| 127 | + <td>{{ location }}</td> |
| 128 | + <td>{{ row.type }}</td> |
| 129 | + <td>{{ row.name }}</td> |
| 130 | + <td>{{ row.extension }}</td> |
| 131 | + <td>{{ row.date }}</td> |
| 132 | + <td>{{ row.size }}</td> |
| 133 | + <td>{{ row.sha1 }}</td> |
| 134 | + <td>{{ row.md5 }}</td> |
| 135 | + <td>{{ row.file_count }}</td> |
| 136 | + <td>{{ row.mime_type }}</td> |
| 137 | + <td>{{ row.file_type }}</td> |
| 138 | + <td>{{ row.programming_language }}</td> |
| 139 | + <td>{{ row.is_binary }}</td> |
| 140 | + <td>{{ row.is_text }}</td> |
| 141 | + <td>{{ row.is_archive }}</td> |
| 142 | + <td>{{ row.is_media }}</td> |
| 143 | + <td>{{ row.is_source }}</td> |
| 144 | + <td>{{ row.is_script }}</td> |
| 145 | + </tr> |
| 146 | + {% endfor %} |
| 147 | + {% endfor %} |
| 148 | + </tbody> |
| 149 | + </table> |
| 150 | + {% endif %} |
| 151 | + |
| 152 | + {% if results.packages %} |
| 153 | + <table> |
| 154 | + <caption>Package Information</caption> |
| 155 | + <thead> |
| 156 | + <tr> |
| 157 | + <th>location</th> |
| 158 | + <th>type</th> |
| 159 | + <th>packaging</th> |
| 160 | + <th>primary_language</th> |
| 161 | + </tr> |
| 162 | + </thead> |
| 163 | + <tbody> |
| 164 | + {% for location, data in results.packages.items() %} |
| 165 | + {% for row in data %} |
| 166 | + <tr> |
| 167 | + <td>{{ location }}</td> |
| 168 | + <td>{{ row.type }}</td> |
| 169 | + <td>{{ row.packaging }}</td> |
| 170 | + <td>{{ row.primary_language }}</td> |
| 171 | + </tr> |
| 172 | + {% endfor %} |
| 173 | + {% endfor %} |
| 174 | + </tbody> |
| 175 | + </table> |
| 176 | + {% endif %} |
95 | 177 |
|
96 | 178 | {% if licenses %} |
97 | 179 | <table> |
|
0 commit comments