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.

48 lines
1.6 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  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. {% include "fragments/navbar.j2" %}
  9. {% endblock %}
  10. {% block content %}
  11. <div class="wrapper">
  12. <!-- Sidebar -->
  13. <div id="sidebar">
  14. {% include "fragments/sidebar.j2" %}
  15. </div>
  16. <!-- Page Content -->
  17. <div id="content">
  18. <form>
  19. <div class="row justify-content-center">
  20. <div class="col-lg-12">
  21. {% for article in articles|reverse %}
  22. <div style="color: black; padding: 10px; margin-bottom: 10px" class="card" id="article">
  23. <a href="/article/{{article[0]}}">{{ article[2] }}</a>
  24. <a href="{{ article[1] }}" target="_blank" style="color: darkgray">{{ article[3] }}</a>
  25. <br>
  26. <span>
  27. <a href="/archive/{{article[0]}}" class='text-success'>Archive</a>
  28. &nbsp;&nbsp;&nbsp;&nbsp;
  29. <a href="/delete/{{article[0]}}" class='text-danger'>Delete</a>
  30. </span>
  31. </div>
  32. {% endfor %}
  33. </div>
  34. </div>
  35. </form>
  36. </div>
  37. </div>
  38. {% include "fragments/add_modal.j2" %}
  39. {% endblock %}
  40. {% block scripts %}
  41. {{ super() }}
  42. <script type="text/javascript" src="{{url_for('.static', filename='add_modal.js')}}"></script>
  43. {% endblock %}