You are here

upgrade-status-html-export.html.twig in Upgrade Status 8.2

<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Upgrade status report</title>
  <style>
    body {
      font-family: Helvetia, Arial, sans-serif;
    }
    table {
      width: 100%;
    }
    th, td {
      border-bottom: 1px solid #cdcdcd;
    }
    th:nth-child(1), td:nth-child(3) {
      width: 40%;
    }
    th:nth-child(2) {
      width: 10%;
    }
    .list-description {
      margin-bottom: 1em;
    }
  </style>
</head>

<body>
<h1>Upgrade Status report</h1>

{% if projects.custom %}
  <h2>Custom projects</h2>
  {% for project in projects.custom %}
    <h3>{{ project.name }}</h3>
    {{ project.date }}
    {{ project.summary }}
    {{ project.plans }}
    {{ project.groups }}
  {% endfor %}
{% endif %}

{% if projects.contrib %}
  <h2>Contributed projects</h2>
  {% for project in projects.contrib %}
    <h3>{{ project.name }}</h3>
    {{ project.date }}
    {{ project.summary }}
    {{ project.plans }}
    {{ project.groups }}
  {% endfor %}
{% endif %}

</body>
</html>

File

templates/upgrade-status-html-export.html.twig
View source
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Upgrade status report</title>
  6. <style>
  7. body {
  8. font-family: Helvetia, Arial, sans-serif;
  9. }
  10. table {
  11. width: 100%;
  12. }
  13. th, td {
  14. border-bottom: 1px solid #cdcdcd;
  15. }
  16. th:nth-child(1), td:nth-child(3) {
  17. width: 40%;
  18. }
  19. th:nth-child(2) {
  20. width: 10%;
  21. }
  22. .list-description {
  23. margin-bottom: 1em;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <h1>Upgrade Status report</h1>
  29. {% if projects.custom %}
  30. <h2>Custom projects</h2>
  31. {% for project in projects.custom %}
  32. <h3>{{ project.name }}</h3>
  33. {{ project.date }}
  34. {{ project.summary }}
  35. {{ project.plans }}
  36. {{ project.groups }}
  37. {% endfor %}
  38. {% endif %}
  39. {% if projects.contrib %}
  40. <h2>Contributed projects</h2>
  41. {% for project in projects.contrib %}
  42. <h3>{{ project.name }}</h3>
  43. {{ project.date }}
  44. {{ project.summary }}
  45. {{ project.plans }}
  46. {{ project.groups }}
  47. {% endfor %}
  48. {% endif %}
  49. </body>
  50. </html>