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.

58 lines
2.1 KiB

4 years ago
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 metas %}
  4. {{super()}}
  5. <meta name="apple-mobile-web-app-capable" content="yes">
  6. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
  8. <link rel="manifest" crossorigin="use-credentials" href="./manifest.json">
  9. <link rel="apple-touch-icon" href="{{url_for('.static', filename='read-it-later.png')}}">
  10. {% endblock %}
  11. {% block styles %}
  12. {{super()}}
  13. <link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
  14. {% endblock %}
  15. {% block navbar %}
  16. {% include "fragments/navbar.j2" %}
  17. {% endblock %}
  18. {% block content %}
  19. <div class="wrapper">
  20. <!-- Sidebar -->
  21. <div id="sidebar">
  22. {% include "fragments/sidebar.j2" %}
  23. </div>
  24. <!-- Page Content -->
  25. <div id="content">
  26. <form>
  27. <div class="row justify-content-center">
  28. <div class="col-lg-12">
  29. {% for article in articles|reverse %}
  30. <div style="color: black; padding: 10px; margin-bottom: 10px" class="card" id="article">
  31. <a href="/article/{{article[0]}}">{{ article[2] }}</a>
  32. <a href="{{ article[1] }}" target="_blank" style="color: darkgray">{{ article[3] }}</a>
  33. <br>
  34. <span>
  35. <a href="/archive/{{article[0]}}" class='text-success'>Archive</a>
  36. &nbsp;&nbsp;&nbsp;&nbsp;
  37. <a href="/delete/{{article[0]}}" class='text-danger'>Delete</a>
  38. </span>
  39. </div>
  40. {% endfor %}
  41. </div>
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. {% include "fragments/add_modal.j2" %}
  47. {% endblock %}
  48. {% block scripts %}
  49. {{ super() }}
  50. {# <script src="{{url_for('.static', filename='inobounce.js')}}"></script> #}
  51. <script type="text/javascript" src="{{url_for('.static', filename='add_modal.js')}}"></script>
  52. {% endblock %}