html.j2 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>JAT report {{ session.sessid }}</title>
  5. <style type="text/css">
  6. body { color: gray; background-color: black }
  7. .lint { background-color: orange }
  8. .phase { font-weight: bold }
  9. .p_setup { color: blue }
  10. .p_test { color: yellow }
  11. .p_diag { color: lightblue }
  12. .p_cleanup { color: blue }
  13. .e_PASS { color: green }
  14. .e_FAIL { color: red }
  15. </style>
  16. </head>
  17. <body>
  18. <div class="lints">
  19. {% for lint in session.lints %}
  20. <div class="lint">{{ lint.msg }} <code>{{ lint._data }}</code></div>
  21. {% endfor %}
  22. </div>
  23. <div class="events">
  24. {% for P in session.phases %}
  25. <div class="phase p_{{P.type}}">
  26. <span class="type">{{P.type}}</span> |
  27. <span class="name">{{P.name}}</span>
  28. </div>
  29. {% for E in P.all_events %}
  30. <div class="event e_{{E.etype}}">
  31. {{E.etype}} | {{ E.hint }} | {{ E.data }}
  32. </div>
  33. {% endfor %}
  34. {% endfor %}
  35. </div>
  36. </body>
  37. </html>