templates/webfront.html

changeset 61
15c95d3fcfd8
parent 39
abc83875167e
child 62
f0a6bf48b05e
equal deleted inserted replaced
60:b8fac2477fc8 61:15c95d3fcfd8
14 </form> 14 </form>
15 </div> 15 </div>
16 <div class="report-container"> 16 <div class="report-container">
17 17
18 {% if report %} 18 {% if report %}
19 <ul class="problems-list"> 19 <h1>{{name}}</h1>
20 {% for problem in report['problems'] %} 20 {% if report['problems'] %}
21 <li class="problem-{{problem['type']}}"> 21 <ul class="problems-list">
22 <img 22 {% for problem in report['problems'] %}
23 src="static/{{problem['type']}}.svg" 23 <li class="problem-{{problem['type']}}">
24 width="32" height="32" 24 <img
25 class="problem-icon" 25 src="static/{{problem['type']}}.svg"
26 /> 26 width="32" height="32"
27 Line {{problem['line-number']}}: {{problem['message']}} 27 class="problem-icon"
28 <br /> 28 />
29 <span class="ldraw-code">{{problem['ldraw-code']}}</span> 29 Line {{problem['line-number']}}: {{problem['message']}}
30 </li> 30 <br />
31 {% endfor %} 31 <span class="ldraw-code">{{problem['ldraw-code']}}</span>
32 </ul> 32 </li>
33 {% endfor %}
34 </ul>
35 {% else %}
36 No problems whatsoever.
37 {% endif %}
33 {% endif %} 38 {% endif %}
34 {% if report and not report['problems'] %}
35 No problems whatsoever.
36 {% endif %}
37
38 </div> 39 </div>
39 </body> 40 </body>
40 </html> 41 </html>

mercurial