search.html 491 B

12345678910111213141516171819202122
  1. {% extends "base.html" %}
  2. {% block head %}
  3. <title>Tweet Library: {{ user.id }}</title>
  4. {% endblock %}
  5. {% block content %}
  6. <div id="search" class="center z-0 w-50" style="position: sticky; top: 0; background-color: white; padding: 4px 0">
  7. <center>
  8. <form method="GET">
  9. <input type="text" name="q" value="{{ request.args.q }}" placeholder="Search query...">
  10. <button type="submit">Search</button>
  11. </form>
  12. </center>
  13. </div>
  14. {% include "partial/tweets-timeline.html" %}
  15. {% endblock %}