templates/webfront.html

changeset 72
62d0b5b9d797
parent 64
1c0884f5506e
child 100
62759e5c4554
--- a/templates/webfront.html	Sun Jun 23 00:07:55 2019 +0300
+++ b/templates/webfront.html	Sun Jun 23 00:26:10 2019 +0300
@@ -21,16 +21,14 @@
         <ul class="problems-list">
         {% for problem in report['problems'] %}
             <li class="problem-{{problem['severity']}}">
-                <img
-                    src="static/{{problem['severity']}}.svg"
-                    width="32" height="32"
-                    class="problem-icon"
-                />
-                {{problem.severity}}:
+                <div class='problem-content'>
+                <div class='problem-description'>
                 Line {{problem.line_number}}:
-                {{problem.message_str}}
+                {{problem.message_str}} &mdash; {{problem.severity.upper()}}
                 <br />
                 <span class="ldraw-code">{{problem.ldraw_code}}</span>
+                </div>
+                </div>
             </li>
         {% endfor %}
         </ul>

mercurial