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.

55 lines
2.3 KiB

  1. <ul class="list-unstyled components">
  2. {% if request.path == url_for('index') %}
  3. <li class="nav-item active">
  4. {% else %}
  5. <li class="nav-item">
  6. {% endif %}
  7. <a href="{{ url_for('index') }}">
  8. <svg
  9. width="24"
  10. height="24"
  11. fill="none"
  12. stroke="currentColor"
  13. stroke-width="2"
  14. stroke-linecap="round"
  15. stroke-linejoin="round"
  16. style="height: 1rem; vertical-align: middle; margin-bottom: 4px;">
  17. <use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#home"/>
  18. </svg>My List
  19. </a>
  20. </li>
  21. {% if request.path == url_for('archived') %}
  22. <li class="nav-item active">
  23. {% else %}
  24. <li class="nav-item">
  25. {% endif %}
  26. <a href="{{ url_for('archived') }}"><svg
  27. width="24"
  28. height="24"
  29. fill="none"
  30. stroke="currentColor"
  31. stroke-width="2"
  32. stroke-linecap="round"
  33. stroke-linejoin="round"
  34. style="height: 1rem; vertical-align: middle; margin-bottom: 4px;">
  35. <use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#archive"/>
  36. </svg>Archived</a>
  37. </li>
  38. </ul>
  39. {% if request.path == url_for('bookmarklet') %}
  40. <div style="position: fixed; bottom: 20px;" class="active">
  41. {% else %}
  42. <div style="position: fixed; bottom: 20px;">
  43. {% endif %}
  44. <a href="{{ url_for('bookmarklet') }}"><svg
  45. width="24"
  46. height="24"
  47. fill="none"
  48. stroke="currentColor"
  49. stroke-width="2"
  50. stroke-linecap="round"
  51. stroke-linejoin="round"
  52. style="height: 1rem; vertical-align: middle; margin-bottom: 4px;">
  53. <use xlink:href="{{url_for('.static', filename='feather-sprite.svg')}}#book"/>
  54. </svg>Bookmarklet</a>
  55. </div>