user-profile.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {% extends "base.html" %}
  2. {% block head %}
  3. <title>Profile: {{ user.id }}</title>
  4. {% endblock %}
  5. {% block content %}
  6. <div id="profile-data" class="w-100" style="position: fixed; height: 30px; background-color: silver">
  7. Data
  8. </div>
  9. <div id="profile-data" style="position: fixed; top: 30px; background-color: silver; width: 80%">
  10. <center>
  11. <img src="{{ url_for('.static', filename='fake-tweet-activity.png') }}" alt="fake tweet activity" style="width: 60%; height: 40px;">
  12. </center>
  13. </div>
  14. fake-tweet-activity.png
  15. <div class="w-100" style="margin-top: 80px">
  16. <div class="w-100" style="height: 40px">
  17. <p class="w-100" style="text-align: right">
  18. <a href="#">Timeline</a>
  19. |
  20. <a href="#">Likes</a>
  21. |
  22. <a href="#">Following</a>
  23. |
  24. <a href="#">Followers</a>
  25. |
  26. <a href="#">Activity</a>
  27. </p>
  28. <form action="{{ url_for('.get_profile_html', user_id=user.id) }}" method="GET">
  29. <input type="hidden" name="me" value="{{ me }}">
  30. <input type="hidden" name="user_id" value="{{ user.id }}">
  31. <input type="checkbox" name="exclude_replies" value="1" {% if request.args.exclude_replies %}checked{% endif %}> No replies
  32. |
  33. <input type="checkbox" name="only_media" value="1" {%if request.args.only_media %}checked{% endif %}> Only media
  34. <br>
  35. <button type="submit">Filter</button>
  36. </form>
  37. </div>
  38. {% block tab_content %}
  39. {% if tab == "media" %}
  40. media
  41. {% else %}
  42. {% with show_thread_controls=True %}
  43. {% include "partial/tweets-timeline.html" %}
  44. {% endwith %}
  45. {% endif %}
  46. {% endblock %}
  47. </div>
  48. {% endblock %}