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 2.1KB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <h1>
  4. Heading
  5. </h1>
  6. <p>
  7. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus varius, justo a iaculis porta, ipsum nibh suscipit orci, at lobortis quam orci ac orci. In non consectetur ipsum. Suspendisse sodales tempor ullamcorper. Fusce placerat magna a nulla scelerisque, cursus accumsan quam tempus. Integer ac nulla sit amet nibh pulvinar porttitor non non leo. Nam a leo erat. Aliquam erat volutpat. Vestibulum quis diam sem.
  8. </p>
  9. <p>
  10. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus varius, justo a iaculis porta, ipsum nibh suscipit orci, at lobortis quam orci ac orci. In non consectetur ipsum. Suspendisse sodales tempor ullamcorper. Fusce placerat magna a nulla scelerisque, cursus accumsan quam tempus. Integer ac nulla sit amet nibh pulvinar porttitor non non leo. Nam a leo erat. Aliquam erat volutpat. Vestibulum quis diam sem.
  11. </p>
  12. <!-- Carousel -->
  13. <div id="tool_carousel" class="carousel slide mt-5" data-bs-ride="carousel">
  14. <!-- Indicators/dots -->
  15. <div class="carousel-indicators">
  16. <button type="button" data-bs-target="#tool_carousel" data-bs-slide-to="0" class="active"></button>
  17. <button type="button" data-bs-target="#tool_carousel" data-bs-slide-to="1"></button>
  18. <button type="button" data-bs-target="#tool_carousel" data-bs-slide-to="2"></button>
  19. </div>
  20. <!-- The slideshow/carousel -->
  21. <div class="carousel-inner">
  22. {% for tool in tools %}
  23. <div class="carousel-item {% if loop.index == 1 %} active {% endif %} text-center">
  24. <h2>{{ tool['name'] }}</h2>
  25. <p>
  26. {{tool['description']|truncate(200) }}
  27. </p>
  28. </div>
  29. {% endfor %}
  30. </div>
  31. <!-- Left and right controls/icons -->
  32. <button class="carousel-control-prev" type="button" data-bs-target="#tool_carousel" data-bs-slide="prev">
  33. <span class="carousel-control-prev-icon"></span>
  34. </button>
  35. <button class="carousel-control-next" type="button" data-bs-target="#tool_carousel" data-bs-slide="next">
  36. <span class="carousel-control-next-icon"></span>
  37. </button>
  38. </div>
  39. {% endblock %}