list.html 661 B

1234567891011121314151617181920212223242526
  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. <meta http-equiv="refresh" content="10">
  7. <title>Today's to-do List</title>
  8. <style>
  9. body {
  10. background-color: transparent;
  11. color: #CBD2D9;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <h2>Today's to-do List</h2>
  17. <ul>
  18. {% for item in items %}
  19. <li style="text-decoration: {{ 'line-through' if item.checked else 'none' }}; font-weight: bold; font-size: 18px;">
  20. {{ item.name }}
  21. </li>
  22. {% endfor %}
  23. </ul>
  24. </body>
  25. </html>