user-profile.html 914 B

123456789101112131415161718192021222324252627282930
  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. <a href="{{ url_for('.get_profile_html', user_id=user.id, exclude_replies = 1) }}">Without replies</a>
  18. |
  19. <a href="{{ url_for('.get_profile_html', user_id=user.id, exclude_replies = 0) }}">With replies</a>
  20. </div>
  21. {% include "partial/tweets-timeline.html" %}
  22. </div>
  23. {% endblock %}