You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>GDV Übungen</title>
  6. <link rel="icon" type="image/png" href="ai-logo.png">
  7. <script type="text/javascript" src="index.bundle.js"></script>
  8. </head>
  9. <body>
  10. <nav class="navbar navbar-light bg-light">
  11. <div class="container">
  12. <a class="navbar-brand" href="/index.html">
  13. <img src="ai-logo.png" width="30" height="30" class="d-inline-block align-top" alt="">
  14. Graphische Datenverarbeitung
  15. </a>
  16. </div>
  17. </nav>
  18. <br>
  19. <div class="list-group list-group-flush">
  20. <% htmlWebpackPlugin.options.exercises.forEach((exercise) => { %>
  21. <div class="list-group-item flex-column align-items-start">
  22. <br>
  23. <div class="d-flex w-100 justify-content-between">
  24. <% if (exercise['exists'] === true) { %>
  25. <h5 class="mb-2"><%= exercise['title'] %></h5>
  26. <% } else { %>
  27. <h5 class="mb-2" style="color:#C0C0C0"><%= exercise['title'] %></h5>
  28. <% } %>
  29. </div>
  30. <% exercise['entries'].forEach((entry) => { %>
  31. <% if (entry['exists'] === true) { %>
  32. <a href=<%= entry['file'] %>
  33. <% } else { %>
  34. <a style="color:#C0C0C0"
  35. <% } %>
  36. class="list-group-item list-group-item-action flex-column align-items-start">
  37. <div class="d-flex w-100 justify-content-between">
  38. <h6 class="mb-0"><%= entry['title'] %></h6>
  39. </div>
  40. <p class="mb-0"><%= entry['description'] %> </p>
  41. </a>
  42. <% }); %>
  43. </div>
  44. <% }); %>
  45. </div>
  46. </body>
  47. </html>