Repository begleitend zum Blockseminar
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.

index.html 858B

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>MySQL Database Entries</title>
  7. <style>
  8. table {
  9. border-collapse: collapse;
  10. width: 100%;
  11. }
  12. th, td {
  13. border: 1px solid #dddddd;
  14. text-align: left;
  15. padding: 8px;
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <h1>SQLite Database Entries</h1>
  21. <table>
  22. <tr>
  23. <th>Name</th>
  24. <th>Position</th>
  25. <!-- Add more table headers if needed -->
  26. </tr>
  27. {% for entry in entries %}
  28. <tr>
  29. <td>{{ entry[0] }}</td>
  30. <td>{{ entry[1] }}</td>
  31. <!-- Access more columns if needed -->
  32. </tr>
  33. {% endfor %}
  34. </table>
  35. </body>
  36. </html>