123456789101112131415161718192021222324252627 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="refresh" content="10">
- <title>Today's to-do List</title>
- <style>
- body {
- background-color: transparent;
- color: #CBD2D9;
- }
- </style>
- </head>
- <body>
- {% if items %}
- <h2>Today's to-do List</h2>
- <ul>
- {% for item in items %}
- <li style="text-decoration: {{ 'line-through' if item.checked == 'yes' else 'none' }}; font-weight: bold; font-size: 18px;">
- {{ item.name }}
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- </body>
- </html>
|