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.

52 lines
1.8 KiB

  1. {% extends "bootstrap/base.html" %}
  2. {% block title %}Read TI Later{% endblock %}
  3. {% block styles %}
  4. {{super()}}
  5. <link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
  6. {% endblock %}
  7. {% block navbar %}
  8. <div id="navbar" class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
  9. <div class="navbar-brand">Read TI Later</div>
  10. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
  11. aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  12. <span class="navbar-toggler-icon"></span>
  13. </button>
  14. <div class="collapse navbar-collapse" id="navbarNavDropdown">
  15. <ul class="navbar-nav">
  16. <li class="nav-item">
  17. <a class="nav-link" href="{{ url_for('index') }}">My List</a>
  18. </li>
  19. <li class="nav-item">
  20. <a class="nav-link" href="{{ url_for('archived') }}">Archived</a>
  21. </li>
  22. </ul>
  23. <form class="form-inline ml-auto">
  24. <a class="btn btn-primary" href="/logout" role="button">Logout</a>
  25. </form>
  26. </div>
  27. </div>
  28. {% endblock %}
  29. {% block content %}
  30. <div class="wrapper">
  31. <!-- Sidebar -->
  32. <div id="sidebar">
  33. {% include "fragments/sidebar.j2" %}
  34. </div>
  35. <!-- Page Content -->
  36. <div id="content">
  37. <div>
  38. <p style="text-align: center;">Would you rather save on the go? Try our bookmarklet!</p>
  39. <code>
  40. javascript:(function(){var%20url%20=%20location.href;var%20otherWindow=window.open('about:blank','_blank');otherWindow.opener=null;otherWindow.location='https://read.technicalincompetence.club/add?close=1&url='+encodeURIComponent(url);})();
  41. </code>
  42. </div>
  43. </div>
  44. </div>
  45. {% endblock %}
  46. {% block scripts %}
  47. {{ super() }}
  48. {% endblock %}