--- a/templates/webfront.html Wed Jun 05 00:33:50 2019 +0300 +++ b/templates/webfront.html Sat Jun 08 01:32:25 2019 +0300 @@ -20,15 +20,15 @@ {% if report['problems'] %} <ul class="problems-list"> {% for problem in report['problems'] %} - <li class="problem-{{problem['type']}}"> + <li class="problem-{{problem['severity']}}"> <img - src="static/{{problem['type']}}.svg" + src="static/{{problem['severity']}}.svg" width="32" height="32" class="problem-icon" /> - Line {{problem['line-number']}}: {{problem['message']}} + Line {{problem.line_number}}: {{problem.message_str}} <br /> - <span class="ldraw-code">{{problem['ldraw-code']}}</span> + <span class="ldraw-code">{{problem.ldraw_code}}</span> </li> {% endfor %} </ul>