Changeset 4abe330 for templates/list.html
- Timestamp:
- 05/01/25 12:32:20 (2 weeks ago)
- Branches:
- master
- Children:
- 59b2e9c
- Parents:
- 611686e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
templates/list.html
r611686e r4abe330 2 2 <html> 3 3 <head> 4 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet" 5 integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7" crossorigin="anonymous"> 6 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/js/bootstrap.bundle.min.js" 7 integrity="sha384-k6d4wzSIapyDyv1kpU366/PK5hCdSbCRGRCMv+eplOQJWyd1fbcAu9OCUj5zNLiq" 8 crossorigin="anonymous"></script> 4 9 <title>{{ heading }}</title> 5 10 </head> 6 <body> 7 <h1>{{ heading }}</h1> 8 <ul> 9 {% for d in data %} 10 <li>{{ d }}</li> 11 {% empty %} 12 <li>No data found.</li> 13 {% endfor %} 14 </ul> 11 <body class="d-flex bg-light"> 12 {% include 'sidebar.html' %} 13 <div class="container mt-5"> 14 <h1 class="text-center mb-4">{{ heading }}</h1> 15 16 <div class="list-group"> 17 {% for d in data %} 18 <a href="#" class="list-group-item list-group-item-action"> 19 {{ d }} 20 </a> 21 {% empty %} 22 <div class="alert alert-warning" role="alert"> 23 No data found. 24 </div> 25 {% endfor %} 26 </div> 27 </div> 15 28 </body> 16 29 </html>
Note:
See TracChangeset
for help on using the changeset viewer.