19 <h1>{{name}}</h1> |
19 <h1>{{name}}</h1> |
20 {% if report['problems'] %} |
20 {% if report['problems'] %} |
21 <ul class="problems-list"> |
21 <ul class="problems-list"> |
22 {% for problem in report['problems'] %} |
22 {% for problem in report['problems'] %} |
23 <li class="problem-{{problem['severity']}}"> |
23 <li class="problem-{{problem['severity']}}"> |
24 <img |
24 <div class='problem-content'> |
25 src="static/{{problem['severity']}}.svg" |
25 <div class='problem-description'> |
26 width="32" height="32" |
|
27 class="problem-icon" |
|
28 /> |
|
29 {{problem.severity}}: |
|
30 Line {{problem.line_number}}: |
26 Line {{problem.line_number}}: |
31 {{problem.message_str}} |
27 {{problem.message_str}} — {{problem.severity.upper()}} |
32 <br /> |
28 <br /> |
33 <span class="ldraw-code">{{problem.ldraw_code}}</span> |
29 <span class="ldraw-code">{{problem.ldraw_code}}</span> |
|
30 </div> |
|
31 </div> |
34 </li> |
32 </li> |
35 {% endfor %} |
33 {% endfor %} |
36 </ul> |
34 </ul> |
37 {% else %} |
35 {% else %} |
38 No problems whatsoever. |
36 No problems whatsoever. |